Get all prices

Gets a paginated list of all prices.

SecurityAuthorizationToken
Request
query Parameters
limit
number [ 1 .. 100 ]
Default: 10

Number of records returned on a single page.

page
number >= 1
Default: 1

Page number you want to get the record for.

priceListId
number

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

sortBy
string
Default: "updatedAt"

Field by which you want to sort the records

Enum: "itemId" "priceListId" "updatedAt"
sortOrder
string
Default: "desc"

Sorting order the records- ascending or descending

Enum: "asc" "desc"
header Parameters
required
object

Valid JSON object that must contain account, stage, date, and channel attributes. eg - {"stage":"prod","account":"5f328bf0b","date":"2020-12-12T08:00:00.000Z","channel":12}

Authorization
required
string

Authorization token or access token for the user, provided by fabric. It can be obtained after logging into fabric's copilot account.

Example: eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9...
Responses
200

OK

400

Bad Request

500

Internal Server Error

get/api-offers/price
Response samples
application/json
{
  • "query": {
    },
  • "prices": [
    ]
}