Get all price guards

Retrieves a paginated list of price guards based on query parameters.

SecurityAuthorizationToken
Request
query Parameters
limit
number

Limits number of records returned on a single page. Default is 10 if limit is not specified

offset
number

Number of records you wish to skip before selecting records. Default is 0 if not specified

itemId
integer

Item ID for which price guards are to be retrieved

priceListId
integer

ID of the price list under which price gurards are to be retrieved

sortBy
string

Field by which you want to sort the records

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

Ascending or Descending

Value: "desc, asc"
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-guard
Response samples
application/json
{
  • "query": {
    },
  • "data": [
    ]
}