UpdateECommerceCarts
Updates an existing e-commerce cart record. To modify individual line items, use the ECommerceCartLines table.
Input
| Name | Type | Required | Description |
| StoreId | String | True | Specifies the unique identifier of the e-commerce store where the cart exists. This value links the cart to a specific storefront within the connected platform. |
| Id | String | True | Defines the unique identifier of the shopping cart to be updated. This value ensures that the update operation targets the correct cart record within the specified store. |
| Customer | String | False | Provides detailed information about the customer associated with the cart, such as contact or profile data. For existing customers, only the customer identifier should be included in the request body to prevent duplication. |
| CampaignId | String | False | Identifies the marketing campaign related to the cart. This allows businesses to attribute the cart activity or order to a specific promotional or email campaign. |
| CheckoutUrl | String | False | Contains the direct web address that customers can use to access and complete the checkout process for this cart. Useful for tracking abandoned cart recovery or direct checkout links. |
| CurrencyCode | String | False | Specifies the three-letter ISO 4217 currency code used for all financial amounts in the cart, ensuring consistent pricing and reporting across international transactions. |
| OrderTotal | Decimal | False | Indicates the total monetary value of the cart, excluding taxes and discounts. This value represents the sum of all items added by the customer before tax calculation. |
| TaxTotal | Decimal | False | Specifies the total amount of tax applied to the cart based on the store's tax rules and the customer's location. |
Result Set Columns
| Name | Type | Description |
| Success | String | Returns a value indicating whether the cart update request was successfully processed by the API. |
| Id | String | Returns the unique identifier of the updated cart, confirming which cart record was modified during the operation. |
| StoreId | String | Returns the unique identifier of the store associated with the updated cart, verifying the scope of the update. |
| Customer | String | Returns the details of the customer linked to the updated cart, such as the customer's identifier and other relevant information. |
| CampaignId | String | Returns the identifier of the marketing campaign tied to the updated cart, confirming that the campaign relationship has been maintained. |
| CheckoutUrl | String | Returns the current checkout URL for the updated cart, which can be used to review or finalize the purchase. |
| CurrencyCode | String | Returns the currency used for the cart's financial values, formatted as a three-letter ISO 4217 code. |
| OrderTotal | Decimal | Returns the recalculated total monetary value of the cart after the update operation, representing all line items before taxes. |
| TaxTotal | Decimal | Returns the total tax applied to the cart after the update, ensuring accurate accounting and financial reporting. |