GET
/
api-offers
/
price

Authorizations

Authorization
string
headerrequired

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

x-site-context
string
required

The x-site-context header is a JSON object that contains information about the source you wish to pull from. The mandatory account is the 24 character identifier found in Copilot. The channel (Sales channel ID), stage (environment name), and date attributes can be used to further narrow the scope of your data source.

Query Parameters

limit
number
default: 10

The maximum number of records per page.

Required range: 1 < x < 100
page
number
default: 1

Page number you want to get the record for.

Required range: x > 1
priceListId
number

ID of the price list for which you want to get the price details

sortBy
enum<string>
default: updatedAt

Field by which you want to sort the records

Available options:
itemId,
priceListId,
updatedAt
sortOrder
enum<string>
default: desc

Sorting order the records- ascending or descending

Available options:
asc,
desc

Response

200 - application/json
query
object

Object containing the size, count and number of pages in the response.

prices
object[]

An array containing all the prices in service