cancelOffer

cancelOffer mutation is called to cancel the offer made against the NFT and remove the signature created and stored in the DB for acceptance.

Sample mutation

mutation cancelOffer($orderId: UUID1!, $orgId: UUID1!) {
  cancelOffer(orderId: $orderId, orgId: $orgId)
}

Sample variable

{
  "orderId": "c960711f-4478-4048-aadb-61aab3426be0",
  "orgId": "8fb128bd-f55d-4bcc-8b6c-0beb684e4d4e"
}

Sample response

{
  "data": {
    "cancelOffer": "Offer cancelled."
  }
}

Arguments

NameTypeDescriptionRequired
orderIdUUIDThe order id.Yes
orgIdUUIDThe organization id.Yes

Fields

NameTypeDescriptions
cancelOfferStringCancel offer to update the order status.return success message.

Example