Get all price lists

Retrieves a paginated list of all price lists.

SecurityAuthorizationToken
Request
query Parameters
limit
number >= 0
Default: 10

Number of records to return on a single page

offset
number >= 0
Default: 0

Number of records you wish to skip before selecting records

sortBy
string
Default: "updatedAt"

Field by which you want to sort the records

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

Sorting order of the records

Enum: "asc" "desc"
filter
string

Value by which price lists are filtered

Value: "not_expired"
isDefault
boolean

If set to true, this endpoint returns the default price list

Enum: true false
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-list
Response samples
application/json
{
  • "query": {
    },
  • "data": [
    ]
}