POST cart/copy/{cartCollectionKey}/{cartId}?currentCart={currentCart}
Copy existing cart to new cart Optionally set new cart as current cart
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
cartCollectionKey |
Cart collection key |
string |
Required |
cartId |
Id of cart to copy |
integer |
Required |
currentCart |
Flag indicating if new cart should become current cart for collection |
boolean |
Default value is False |
Body Parameters
None.
Response Information
Resource Description
integerResponse Formats
application/json, text/json
Sample:
1
application/xml, text/xml
Sample:
<int>1</int>