Get all price guards
Retrieves a paginated list of price guards based on query parameters.
Request
- Base URLhttps://live.copilot.fabric.inc
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
The maximum number of records per page.
The number of records to skip before returning records. For example, when offset is 20 and limit is 10, this endpoint returns records from 21 to 30.
Item ID for which price guards are to be retrieved
The ID of the price list under which price guards are retrieved.
Field by which you want to sort the records
Ascending or Descending
Headers
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.
Response
OK
Example response
{
"query": {
"limit": 10,
"count": 150,
"offset": 10,
"itemId": 100000001,
"priceListId": 100001
},
"data": [
{
"_id": "614b58924e92f6861ac9d43b",
"itemId": 10000000123,
"itemSku": "DEF-SKU-1",
"priceListId": 100000,
"MSRP": 299,
"MAP": 299,
"ceiling": 299,
"floor": 299,
"createdAt": "2020-12-14T12:15:43.646Z",
"updatedAt": "2021-12-14T12:15:43.646Z"
}
]
}Changes
No recorded changes to this operation across all 2 revisions of this API.