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
Name | Type | Description | Required |
---|---|---|---|
orderId | UUID | The order id. | Yes |
orgId | UUID | The organization id. | Yes |
Fields
Name | Type | Descriptions |
---|---|---|
cancelOffer | String | Cancel offer to update the order status.return success message. |