Find products
Use this endpoint to search for products based on names, IDs, SKUs, image URLs, and more. By specifying the appropriate query parameters, you can exclude one or more types of data, such as collections, categories, variants, attributes, and products within a bundle.
- Use the
CONTAINS
search operation to search for products based on keywords of SKU, name, and more. - Use the
IN
search operation to search for products based on one or more values, such as IDs, names, SKUs, image URLs, attributes, and types. - Use the less than or equals to,
LTE
, greater than or equals to,GTE
, less than,LT
, greater than,GT
and equalsEQ
operations to search for date-specific values, such as time of creation or modification.
Authorizations
This is the authorization token used to authenticate the request. You must pass the access token generated from the system app. For more information, see the Making your first API request section.
Headers
A header retrieved from your Copilot Account Details that's used by the API to identify the tenant making the request. Tenant ID must be included in the authentication header for API requests to access any of fabric’s endpoints.
Unique request ID
Query Parameters
The language code, which is a combination of language (ISO 639 format) and country (ISO 3166 format).
The default value is en-US.
A flag indicating whether the products associated with a bundle should be excluded from the response. Set it to true
to exclude products of a bundle and false
to include them in the response.
A flag indicating whether the collections should be excluded from the response. Set it to true
to exclude collections and false
to include them in the response.
A flag indicating whether the categories should be excluded from the response. Set it to true
to exclude categories and false
to include them in the response.
A flag indicating whether item variants should be excluded from the response. Set it to true
to exclude variants and false
to include them in the response.
A flag indicating whether attributes should be excluded from the response. Set it to true
to exclude attributes and false
to include them in the response.
Body
The search criteria to find products.
The sorting criteria. Currently, the supported values are sku
, type
, productName
, itemId
, categoryName
, and createdAt
. Use -
to view the results in a descending order and +
for ascending.
The number of records to skip before returning records. For example, when the offset is 20 and limit is 10, the system returns records from 21 to 30.
The maximum number of records per page.
Response
Product Search Result list by IDs
The number of records to skip before returning records. For example, with offset of 20 and limit of 10, the system returns the records from 21-30.
The maximum number of records per page.
The total number of records.
Was this page helpful?