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
200 Success
[
  {
    "b2BId": 0,
    "createDate": "2019-02-18T16:31:06.735Z"
  }
]
400 Bad Request
{
  "hasError": true,
  "messages": [
    {
      "type": "string",
      "content": "string"
    }
  ]
}