Carts
Your Emporix tenant name.
Note: The tenant should always be written in lowercase.
^[a-z][a-z0-9]+$Customer unique session identifier.
Note: The sessionId is only required if you want to retrieve an anonymous customer cart.
Customer unique identifier generated when a customer account is created.
Note: The customerId is only required if you want to create a cart for a logged in customer.
Site unique identifier. A site is a specific shop.
If the tenant owns only one shop, the value should be set to main.
ID of the legal entity to which customer is assigned. Should not be provided for B2C business model.
Note: The query param is optional, but if not provided, the cart without legalEntity assigned is returned.
If set to true and no cart exists for the specified criteria, a new cart will be created.
Type of the cart.
Note: The query param is optional, but if not provided then only cart without type is returned.
The zip code of the shipping address, used for tax calculations, shipping cost estimations, and pricing. Must be provided together with countryCode if either of the parameters is specified. If the cart already has both (zipCode and countyCode) address values, the request parameters are ignored. If the cart is missing either value, request parameters are used to fill the missing one.
The country code of the shipping address, used for tax calculations, shipping cost estimations, and pricing. Must be provided together with zipCode if either of the parameters is specified. If the cart already has both (zipCode and countyCode) address values, the request parameters are ignored. If the cart is missing either value, request parameters are used to fill the missing one.
The request was successful. Cart details are returned.
The request was syntactically incorrect. Details will be provided in the response payload.
Given request is unauthorized - the authorization token is invalid or has expired.
Details will be provided in the response payload.
Given authorization scopes are not sufficient and do not match scopes required by the endpoint.
The requested resource does not exist.
Some server-side error occurred. Details will be provided in the response payload.
Your Emporix tenant name.
Note: The tenant should always be written in lowercase.
^[a-z][a-z0-9]+$Anonymous customer unique session identifier.
Note: The session-id is only required if you want to create a cart for an anonymous customer.
Customer saasToken generated when the customer token is generated.
Note: The saas-token is only required if you want to create a cart for a logged in customer.
Customer unique identifier generated when a customer account is created through the Customer Service.
Three-letter currency code, compliant with the ISO 4217 standard.
[A-Z]{3}ID of the legal entity to which customer is assigned.
Delivery window unique identifier, as defined in the Shipping Service.
Site unique identifier. A site is a specific shop.
If the tenant owns only one shop, the value should be set to main.
defaultCart type. You can use this field if your store offers different types of carts, such as shopping carts and wishlists.
If set to true, endpoints validate whether the session-id used to create the cart matches the session-id passed in the request header.
Note: The sessionValidated parameter only applies to anonymous customer carts.
falseThe request was successful. Cart details are returned.
The request was syntactically incorrect. Details will be provided in the response payload.
Given authorization scopes are not sufficient and do not match scopes required by the endpoint.
The request could not be completed due to a conflict with the current state of the target resource.
Some server-side error occurred. Details will be provided in the response payload.
Your Emporix tenant name.
Note: The tenant should always be written in lowercase.
^[a-z][a-z0-9]+$The number of documents to be retrieved per page.
The page number to be retrieved. The size of the pages should be specified by the pageSize parameter.
List of properties used to sort the results, separated by colons.
Fields to be returned in the response.
Flag indicating whether the total number of retrieved results should be returned.
A standard query parameter is used to search for specific values.
The request was successful. Carts are returned.
The request was syntactically incorrect. Details will be provided in the response payload.
Given request is unauthorized - the authorization token is invalid or has expired.
Details will be provided in the response payload.
Given authorization scopes are not sufficient and do not match scopes required by the endpoint.
Some server-side error occurred. Details will be provided in the response payload.
- : Needed to manage carts.
Cart unique identifier generated when a cart is created.
Your Emporix tenant name.
Note: The tenant should always be written in lowercase.
^[a-z][a-z0-9]+$If set to true, a fully calculated cart is returned.
trueThe zip code of the shipping address, used for tax calculations, shipping cost estimations, and pricing. Must be provided together with countryCode if either of the parameters is specified. If the cart already has both (zipCode and countryCode) address values, the request parameters are ignored. If the cart is missing either value, request parameters are used to fill the missing one.
The country code of the shipping address, used for tax calculations, shipping cost estimations, and pricing. Must be provided together with zipCode if either of the parameters is specified. If the cart already has both (zipCode and countryCode) address values, the request parameters are ignored. If the cart is missing either value, request parameters are used to fill the missing one.
The request was successful. Cart details are returned.
The request was syntactically incorrect. Details will be provided in the response payload.
Given authorization scopes are not sufficient and do not match scopes required by the endpoint.
The requested resource does not exist.
Some server-side error occurred. Details will be provided in the response payload.
- : Needed to manage carts.
Cart unique identifier generated when a cart is created.
Your Emporix tenant name.
Note: The tenant should always be written in lowercase.
^[a-z][a-z0-9]+$Customer unique identifier generated when a customer account is created through the Customer Service.
Three-letter currency code, compliant with the ISO 4217 standard.
[A-Z]{3}ID of the legal entity to which customer is assigned.
Delivery window unique identifier, as defined in the Shipping Service.
Cart type. You can use this field if your store offers different types of carts, such as shopping carts and wishlists.
Customer address - zip code.
Two-letter country code, compliant with the ISO 3166 standard.
[a-zA-Z]{2}Order unique identifier generated when a checkout is triggered through the Checkout Service.
Quote unique identifier generated when a quote is created through the Quote Service out of a cart.
Cart status.
The request was successful. The cart has been updated.
The request was syntactically incorrect. Details will be provided in the response payload.
Given authorization scopes are not sufficient and do not match scopes required by the endpoint.
The requested resource does not exist.
The request could not be completed due to a conflict with the current state of the target resource.
Some server-side error occurred. Details will be provided in the response payload.
No content
- : Needed to manage carts.
Cart unique identifier generated when a cart is created.
Your Emporix tenant name.
Note: The tenant should always be written in lowercase.
^[a-z][a-z0-9]+$The request was successful. The cart has been deleted.
The request was syntactically incorrect. Details will be provided in the response payload.
Given authorization scopes are not sufficient and do not match scopes required by the endpoint.
The requested resource does not exist.
Some server-side error occurred. Details will be provided in the response payload.
No content
- : Needed to manage carts.
Cart unique identifier generated when a cart is created.
Your Emporix tenant name.
Note: The tenant should always be written in lowercase.
^[a-z][a-z0-9]+$The request was successful. The cart has been refreshed.
The request was syntactically incorrect. Details will be provided in the response payload.
Given authorization scopes are not sufficient and do not match scopes required by the endpoint.
The requested resource does not exist.
The request could not be completed due to a conflict with the current state of the target resource.
Some server-side error occurred. Details will be provided in the response payload.
No content
- : Needed to manage carts.
Cart unique identifier generated when a cart is created.
Your Emporix tenant name.
Note: The tenant should always be written in lowercase.
^[a-z][a-z0-9]+$List of natural languages acceptable for the response.
List of acceptable natural languages of the customers.
You can use the languages header to apply the request to carts for which a particular localization attribute (language) has been specified.
You can specify multiple languages by separating them with commas.
Site unique identifier. A site is a specific shop.
All item's currencies are updated.
No content
The request was syntactically incorrect. Details will be provided in the response payload.
Given authorization scopes are not sufficient and do not match scopes required by the endpoint.
The requested resource does not exist.
Some server-side error occurred. Details will be provided in the response payload.
No content
- : Needed to manage carts.
Cart unique identifier generated when a cart is created.
Your Emporix tenant name.
Note: The tenant should always be written in lowercase.
^[a-z][a-z0-9]+$List of natural languages acceptable for the response.
List of acceptable natural languages of the customers.
You can use the languages header to apply the request to carts for which a particular localization attribute (language) has been specified.
You can specify multiple languages by separating them with commas.
All item's currencies are updated.
No content
The request was syntactically incorrect. Details will be provided in the response payload.
Given authorization scopes are not sufficient and do not match scopes required by the endpoint.
The requested resource does not exist.
Some server-side error occurred. Details will be provided in the response payload.
No content
- : Needed to manage carts.
Cart unique identifier generated when a cart is created.
Your Emporix tenant name.
Note: The tenant should always be written in lowercase.
^[a-z][a-z0-9]+$List of natural languages acceptable for the response.
List of acceptable natural languages of the customers.
You can use the languages header to apply the request to carts for which a particular localization attribute (language) has been specified.
You can specify multiple languages by separating them with commas.
List of anonymous carts to merge with the customer cart.
The request was successful. Carts have been merged.
No content
The request was syntactically incorrect. Details will be provided in the response payload.
Given authorization scopes are not sufficient and do not match scopes required by the endpoint.
The requested resource does not exist.
Some server-side error occurred. Details will be provided in the response payload.
No content
- : Needed to manage carts.
Cart unique identifier generated when a cart is created.
Your Emporix tenant name.
Note: The tenant should always be written in lowercase.
^[a-z][a-z0-9]+$The request was successful. Cart lead time and non delivery times are returned.
The request was syntactically incorrect. Details will be provided in the response payload.
Given authorization scopes are not sufficient and do not match scopes required by the endpoint.
The requested resource does not exist.
Some server-side error occurred. Details will be provided in the response payload.
- : Needed to manage carts.
Cart unique identifier generated when a cart is created.
Your Emporix tenant name.
Note: The tenant should always be written in lowercase.
^[a-z][a-z0-9]+$The request was successful. Returns the validation status of the cart.
The request was syntactically incorrect. Details will be provided in the response payload.
Given authorization scopes are not sufficient and do not match scopes required by the endpoint.
The requested resource does not exist.
Some server-side error occurred. Details will be provided in the response payload.
Last updated
Was this helpful?

