POST /v1/products/lists to create a new product list. Provide a name, one or more product IDs, and any metadata key:value pairs you want to associate with the list. The response returns the new list ID together with full product objects for every product you included.
Request
Endpoint:POST /v1/products/lists
Headers
string
required
Your API key as a Bearer token:
Bearer {your_api_key}.string
required
Must be
application/json.Body parameters
string
required
A display name for the list. Use something meaningful to your application — for example,
"Smart Home Devices" or "Summer Campaign Q3".string[]
required
An array of product ID strings to include in the list. Product IDs come from the Products API search results.
object
Up to 16 key:value string pairs you can use to label and query this list. Keys are max 64 characters; values are max 512 characters.
integer
Optional pool identifier to scope the list within a specific product pool.
Example request
cURL
Response
A201 Created response contains a data object with the new list and full product details, plus a meta object with a trace ID.
Response fields
object
The newly created list object.
object
Product object fields
Each item indata.products contains the following fields.