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/marketfront/carts/add— the request omittedcatalogSetIdand no existingcartwas 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-add call:
Code
Example
Code