Item Purchase Request

DESCRIPTION

This method is used to make purchase requests. Barcode and quantity values are required.

EXAMPLE:

  • (POST /v2/offers/{buyerCode}/items)

https://stageapi.trendyol.com/b2bbuyergateway/v2/offers/{buyerCode}/items?vendorRef={vendorRef}

Parameter Type Method Required Description Body
buyerCode string query Yes
vendorRef string query No
packageType string query No Available values: single,multiple
productItems - body Yes
[
  {
    "barcode": "string",
    "requestedQuantity": 0
  }
]
Response Codes
Code Description Response Message
201 Success

    {
 "createDateTime": "2019-02-18T15:16:20.524Z",
 "requestNumber": "string",
 "items": [
   {
     "barcode": "string",
     "requestedQuantity": 0,
     "availableQuantity": 0
} ]
400 Bad Request
{
  "hasError": true,
  "messages": [
    {
      "type": "string",
      "content": "string"
    }
  ]
}