POST
/
search
/
{searchQuery}
/
execute

Authorization

X-Storefront-Access-Token
string
required

Token-based authentication header in the form of <YOUR_LAYERS_TOKEN>.

Headers

Content-Type
string
default: "application/json"required
Accept
string
default: "application/json"required

Path Parameters

searchQuery
string
required

The url-encoded search query.

Body

pagination
Pagination Object
userToken
string

User’s unique token (optional).

attributes
string[]

Product attributes to include in the Response. By default all attributes are included in the response.

Response

results
Array of Objects
totalResults
number

The total number of results.

page
number

The current page number.

totalPages
number

The total number of pages.

attributionToken
string

The attribution token.