XPM

Price- Get by itemIds

Path:

POST /offer/get-by-itemIds

Periodically, you may have to look up price of items, along with their applicable offers. Through this endpoint, we support the flexbility to retrieve price and promotional details of a single item or multiple items.

Through this endpoint, by passing the itemId(s) in the request body, the complete price and offer details are retrieved.

Headers

Content-Type:application/json

Consumes

  • application/jso

Produces

  • application/json

Parameters

Type: Body

Name: itemId(s)

Required: true

Sample Request

{
"itemIds":[1000000016]
}

Response Code: 200

Message: OK

Description: You will see this message when the details of the specified itemId are successfully retrieved.

Sample

[
{
"_id": "5e37056ffffb800008d6f341",
"itemId": 1000000016,
"offers": [
{
"price": {
"sale": 320,
"base": 400,
"currency": "USD"
},
"channel": 12,
"startDate": "2020-07-07T10:38:00.000Z",
"endDate": "2020-07-28T10:59:00.000Z",
"kind": "Special",
"offerCode": 2283590
}
]
}
]

changelog

  • Last updated - July 2020