Search products and assigned prices in a specific price list

Retrieves a paginated list of products and assigned prices in a specific price list based on priceListId and other search parameters as passed in the request body. If price list ID is not provided, default price list is selected for the search.

SecurityAuthorizationToken
Request
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...
Request Body schema: application/json
offset
number
Default: 0

Number of records you wish to skip before selecting records

limit
number
Default: 10

Number records to return on a single page

keyword
string

Search parameter to filter the query

sku
boolean

If sku is true then this endpoint returns products which have sku value mentioned

isListView
boolean

true indicates that the response data will be displayed in list
false indicates that the response data will be displayed in a tile view

priceListId
number

ID of the priceList for which the price and product information are to be retrieved

Responses
200

OK

404

Not Found

500

Internal Server Error

post/api-offers/items/search
Request samples
application/json
{
  • "offset": 0,
  • "limit": 10,
  • "keyword": "CAN",
  • "sku": true,
  • "isListView": true,
  • "priceListId": 0
}
Response samples
application/json
{
  • "query": {
    },
  • "results": [
    ]
}