Reject offer rejects the offer made by any buyer and removes the signature generated.
Sample mutation
mutation rejectOffer($orderId: UUID1!, $orgId: UUID1!) {
rejectOffer(orderId: $orderId, orgId: $orgId)
Sample variable
{
"orderId": "c9142951-88ca-4b23-bb68-db001d4d2a66",
"orgId": "f2f5c627-5421-4c40-9913-edfd09dd98b3"
}
Sample response
{
"data": {
"rejectOffer": "Offer rejected."
}
}
Arguments
Name | Type | Description | Required |
---|---|---|---|
orderId | UUID | Update status as rejected against the order. | Yes |
orgId | UUID | The organization id. | Yes |
Fields
Name | Type | Description |
---|---|---|
rejectOffer | String | Update order status as rejected and return success status |
Example
Reject to update the order status as REJECTED.