CartClient#resolveCart(options);
The following operations allow you to work with anonymous and authenticated customer carts.
Parameter | Type | Required? | Description |
---|---|---|---|
|
❌ |
Options passed to the HTTP request call to customize the request configuration. Includes an optional list of cart statuses to resolve. |
This function returns a Cart.
Parameter | Type | Required? | Description |
---|---|---|---|
|
❌ |
The request used to create a new cart. |
|
|
❌ |
Options passed to the HTTP request call to customize the request configuration. |
This function returns a new Cart.
Parameter | Type | Required? | Description |
---|---|---|---|
|
|
✅ |
The id of the cart to retrieve. |
|
❌ |
Options passed to the HTTP request call to customize the request configuration. |
This function returns a Cart.
Parameter | Type | Required? | Description |
---|---|---|---|
|
|
✅ |
The id of the cart. |
|
✅ |
The item request to add to the cart. |
|
|
❌ |
Options passed to the HTTP request call to customize the request configuration. |
This function returns a Cart.
Parameter | Type | Required? | Description |
---|---|---|---|
|
|
✅ |
The id of the cart. |
|
✅ |
The item request to update in the cart. |
|
|
❌ |
Options passed to the HTTP request call to customize the request configuration. |
This function returns a Cart.
Parameter | Type | Required? | Description |
---|---|---|---|
|
|
✅ |
The id of the cart. |
|
|
✅ |
The id of the cart item to remove. |
|
❌ |
Options passed to the HTTP request call to customize the request configuration. |
This function returns a Cart.
Parameter | Type | Required? | Description |
---|---|---|---|
|
|
✅ |
The id of the cart. |
|
✅ |
The attribute to add to the cart. |
|
|
❌ |
Options passed to the HTTP request call to customize the request configuration. |
This function returns a Cart.
Parameter | Type | Required? | Description |
---|---|---|---|
|
|
✅ |
The id of the cart. |
|
|
✅ |
The attribute to remove from the cart. |
|
❌ |
Options passed to the HTTP request call to customize the request configuration. |
This function returns a Cart.
Note
|
Since 1.5.3 (Release Train 1.8.2) |
Gets the fulfillment options available for the items in the specified cart. This includes options for both per-item and per-group fulfillment strategies.
Parameter | Type | Required? | Description |
---|---|---|---|
|
|
✅ |
The id of the cart. |
|
❌ |
Options passed to the HTTP request call to customize the request configuration. |
Returns a FulfillmentOptionResponse.
Note
|
Since 1.5.3 (Release Train 1.8.2) |
Sends a request to set the preliminary fulfillment option for a fulfillment item or group in the cart. This can be changed during checkout.
Parameter | Type | Required? | Description |
---|---|---|---|
|
|
✅ |
The id of the cart. |
|
✅ |
The option that was selected and the reference number of the fulfillment item or group it applies to. |
|
|
❌ |
Options passed to the HTTP request call to customize the request configuration. |
Returns a CartFulfillmentResponse.
Note
|
Since 1.5.3 (Release Train 1.8.2) |
Gets the fulfillment options available for the contents of the cart. May include the preliminary shipping address in the request.
Parameter | Type | Required? | Description |
---|---|---|---|
|
|
✅ |
The id of the cart. |
|
❌ |
The option that was selected and the reference number of the fulfillment item or group it applies to. |
|
|
❌ |
Options passed to the HTTP request call to customize the request configuration. |
Returns a CartFulfillmentResponse.
Note
|
Since 1.5.3 (Release Train 1.8.2) |
Sets a preliminary shipping address for a fulfillment group.
Parameter | Type | Required? | Description |
---|---|---|---|
|
|
✅ |
The id of the cart. |
|
✅ |
request Request containing the fulfillment group reference number and the address. |
|
|
❌ |
Options passed to the HTTP request call to customize the request configuration. |
Returns a CartFulfillmentResponse.
Note
|
Since 1.5.3 (Release Train 1.8.2) |
Gets the combined total fulfillment price per service level of fulfillment options selected, e.g., the total price for Standard Shipping based on what items or groups it is selected for.
Note
|
Since 1.5.3 (Release Train 1.8.2) |
Retrieves the Fulfillment Pricing Config that informs the caller of the fulfillment pricing strategy (per group or item) to use and default service level.
Parameter | Type | Required? | Description |
---|---|---|---|
|
❌ |
Options passed to the HTTP request call to customize the request configuration. |
Returns a FulfillmentPricingConfig.