rejectOffer

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

NameTypeDescriptionRequired
orderIdUUIDUpdate status as rejected against the order.Yes
orgIdUUIDThe organization id.Yes

Fields

NameTypeDescription
rejectOfferStringUpdate order status as rejected and return success status

Example

Reject to update the order status as REJECTED.