JavaScript
Cart
Cart Details
Retrieve detailed information about a cart. Requests are async by default, or use mode=sync to wait up to 30 seconds for completion.
POST
JavaScript
Authorizations
Path Parameters
Unique identifier for the cart
Example:
"crt_sa2aEsCz9PRM"
Body
application/json
Response mode. Use sync to wait up to 30 seconds for the backing worker flow to complete.
Available options:
async, sync Example:
"async"
Per-product overrides keyed by product URL. Items with quantity null or 0 are excluded.
Example:
{
"https://www.nike.com/u/custom-nike-ja-3-by-you-10002205": { "quantity": 2 }
}List of coupon codes applied to the cart
Example:
["SUMMER21", "FREESHIP"]Additional metadata for the request