Optional ReadonlyanonymousResourceIdentifier to the anonymous Cart to be merged. Required if anonymousId is not provided.
Optional ReadonlyanonymousAssigns the Customer to the Carts that have the same anonymousId. Required if anonymousCart is not provided.
If both anonymousCart and anonymousId are provided, this value must match the anonymousId of the anonymous Cart otherwise, an InvalidOperation error is returned.
Optional ReadonlymergeDetermines how to merge the anonymous Cart with the existing Customer Cart.
Optional Readonlyupdatetrue, the LineItem Product data (name, variant, and productType) of the returned Cart will be updated.
false, only the prices, discounts, and tax rates will be updated.
Used for merging an anonymous Cart with a Customer Cart with the Merge Cart and Merge Cart in Store endpoints. Either
anonymousCartoranonymousIdis required.