Errors
CATALOGSET_REQUIRED
CATALOGSET_REQUIRED
A new cart must be created against a specific catalog set; the request omitted catalogSetId.
Summary
| Field | Value |
|---|---|
| HTTP status | 400 |
errorCategory | validation |
retryable | false |
When This Fires
POST /v1/marketplace/carts/items— the request omittedcatalogSetIdand no existing cart was supplied. Each cart is bound to one catalog set so subsequent line-item validation and pricing have a stable basis.
Recommended Action
Resolve the catalogSetId from the store you are ordering from and include it on the request:
Code
Use the returned catalogSetId on the next cart-create call:
Code
Example
Code