POST
/
catalog-connector
/
products
/
search

Authorizations

Authorization
string
headerrequired

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

x-fabric-tenant-id
string
required

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.

x-fabric-request-id
string

Unique request ID

Query Parameters

locale
string
required

The language code, which is a combination of language (ISO 639 format) and country (ISO 3166 format).

The default value is en-US.

excludeBundleProducts
boolean

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.

excludeCollections
boolean

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.

excludeCategories
boolean

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.

excludeVariants
boolean

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.

excludeAttributes
boolean

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

application/json
search
object
required

The search criteria to find products.

sort
string

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.

offset
integer
default: 0

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.

limit
integer
default: 10

The maximum number of records per page.

Response

200 - application/json

Product Search Result list by IDs

offset
integer
default: 0

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.

limit
integer
default: 10

The maximum number of records per page.

count
integer

The total number of records.

data
object[]