Private
impersonatingPromo code of the order promotion.
AutoApply eligible promotions. Apply up to 100 eligible promotions to the cart. Check out the docs for more info
Calculate the cart. Check out the docs for more info
Create a new cart bundle item. Adds bundle line items to the cart Check out the docs for more info
ID of the bundle.
Create a new cart line item. Adds a line item to the cart Check out the docs for more info
Required fields: ProductID
Create a new cart payment. Check out the docs for more info
Create a new cart payment transaction. Check out the docs for more info
ID of the payment.
Required fields: Type, DateExecuted
Delete a cart. Empties the cart. Any promotions, payments or other items associated with the cart will also be removed. Check out the docs for more info
Delete a cart bundle item. Check out the docs for more info
ID of the bundle.
ID of the bundle item.
Delete a cart line item. Check out the docs for more info
ID of the line item.
Delete a cart payment. Check out the docs for more info
ID of the payment.
Delete a cart payment transaction. Check out the docs for more info
ID of the payment.
ID of the transaction.
Delete a cart promotion. Check out the docs for more info
Promo code of the cart.
Estimate shipping cost. Check out the docs for more info
Get a single cart. If the ID of the Order returned is null, the cart has not yet been interacted with. Once an item is added, the Order.ID will be populated. Check out the docs for more info
Get a single cart line item. Check out the docs for more info
ID of the line item.
Get a single cart order worksheet. Check out the docs for more info
Get a single cart payment. Check out the docs for more info
ID of the payment.
List eligible promotions. Get a list of promotions eligible for the cart. Check out the docs for more info
Optional
filters?: FiltersAn object or dictionary representing key/value pairs to apply as filters. Valid keys are top-level properties of the returned model or 'xp.???'
Optional
page?: numberPage of results to return. Default: 1. When paginating through many items (> page 30), we recommend the "Last ID" method, as outlined in the Advanced Querying documentation.
Optional
pageNumber of results to return per page. Default: 20, max: 100.
Optional
search?: stringWord or phrase to search for.
Optional
searchComma-delimited list of fields to search on.
Optional
sortComma-delimited list of fields to sort by.
Get a list of cart line items. Check out the docs for more info
Optional
filters?: FiltersAn object or dictionary representing key/value pairs to apply as filters. Valid keys are top-level properties of the returned model or 'xp.???'
Optional
page?: numberPage of results to return. Default: 1. When paginating through many items (> page 30), we recommend the "Last ID" method, as outlined in the Advanced Querying documentation.
Optional
pageNumber of results to return per page. Default: 20, max: 100.
Optional
search?: stringWord or phrase to search for.
Optional
searchComma-delimited list of fields to search on.
Optional
sortComma-delimited list of fields to sort by.
Get a list of cart payments. Check out the docs for more info
Optional
filters?: FiltersAn object or dictionary representing key/value pairs to apply as filters. Valid keys are top-level properties of the returned model or 'xp.???'
Optional
page?: numberPage of results to return. Default: 1. When paginating through many items (> page 30), we recommend the "Last ID" method, as outlined in the Advanced Querying documentation.
Optional
pageNumber of results to return per page. Default: 20, max: 100.
Optional
search?: stringWord or phrase to search for.
Optional
searchComma-delimited list of fields to search on.
Optional
sortComma-delimited list of fields to sort by.
Get a list of cart promotions. Check out the docs for more info
Optional
filters?: FiltersAn object or dictionary representing key/value pairs to apply as filters. Valid keys are top-level properties of the returned model or 'xp.???'
Optional
page?: numberPage of results to return. Default: 1. When paginating through many items (> page 30), we recommend the "Last ID" method, as outlined in the Advanced Querying documentation.
Optional
pageNumber of results to return per page. Default: 20, max: 100.
Optional
search?: stringWord or phrase to search for.
Optional
searchComma-delimited list of fields to search on.
Optional
sortComma-delimited list of fields to sort by.
Partially update a cart. Check out the docs for more info
Partially update a cart billing address. Not allowed on carts where BillingAddressID has been set. In that case, use the Addresses resource to update the saved address. Check out the docs for more info
Update cart FromUser. Only FirstName, LastName, and Email can be updated.
Primarily used to facilitate guest checkout scenarios.
Check out the docs for more info
Partially update a cart line item. Check out the docs for more info
ID of the line item.
Partially update a cart payment. Check out the docs for more info
ID of the payment.
Partially update a cart shipping address. Not allowed on carts where ShippingAddressID has been set. In that case, use the Addresses resource to update the saved address. Check out the docs for more info
Create or update a cart. If an object with the same ID already exists, it will be overwritten.
The recommended way to initiate a new cart is to add a line item. If there is a specific reason an order needs to exist prior to adding a line item, this method can be used to initiate a new cart.
Check out the docs for more info
Create or update a cart line item. Check out the docs for more info
ID of the line item.
Required fields: ProductID
Select a ship method. Check out the docs for more info
Set an active cart. Check out the docs for more info
ID of the order.
Set a billing address. Use only when the address is not to be saved/reused.
To use a saved address (i.e. from the Addresses resource), PATCH the order's BillingAddressID property instead.
Check out the docs for more info
Required fields: Street1, City, State, Zip, Country
Set a shipping address. Use only when the address is not to be saved/reused. To use a saved address (i.e. from the Addresses resource), PATCH the order's ShippingAddressID property instead. The address used will be populated on the ShippingAddress property of each LineItem. Check out the docs for more info
Required fields: Street1, City, State, Zip, Country
Submit the cart. Check out the docs for more info
Validate the cart in it's current state. Check out the docs for more info
Generated using TypeDoc
Add a promotion. Check out the docs for more info