Canceling Items from Gıven Request

DESCRIPTION

Before cutoffs, you may cancel ordered items with given request. requestNumber, barcode and quantity is necessary for canceling items.

EXAMPLE:

  • (POST /v2/offers/{requestNumber}/cancel-items)

https://stageapi.trendyol.com/b2bbuyergateway/v2/offers/{requestNumber}/cancel-items

Parameter Type Method Required Description Body
requestNumber string path Yes
request - body Yes
{
  "barcode": "string",
  "quantity": 0
}
Response Codes
Code Description Response Message
200 Success
{
  "requestedQuantity": 0,
  "cancelledQuantity": 0,
  "hasError": true,
  "messages": [
    {
      "type": "error",
      "content": "string"
    }
  ]
}

400 Bad Request
[
  {
    "type": "error",
    "content": "string"
  }
]