Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Headers
A header used by fabric to identify the tenant making the request. You must include tenant id in the authentication header for an API request to access any of fabric’s endpoints. You can retrieve the tenant id , which is also called account id, from Copilot. This header is required.
x-fabric-channel-id identifies the sales channel where the API request is being made; primarily for multichannel use cases. The channel ids are 12 corresponding to US and 13 corresponding to Canada. The default channel id is 12. This field is required.
Unique request ID
Path Parameters
Cart ID
"b8a64b52-dab4-8137-8d6a-f2c2337abc1"
Body
Request body for updating a cart
Response
OK
Unique cart identifier
"c695af14-5e33-402c-9d8d-71edcf4856a8"
Date time in ISO-8601 format Time cart was created
"2022-09-06T14:07:17.000Z"
Date time in ISO-8601 format Time cart was last updated
"2022-09-06T14:07:17.000Z"
Cart name
"cart_it"
Cart description
"IT department cart"
Number of line items in the cart
3
Number of different (unique) line items in the cart based on line item ID
2
Cart status <br/> PENDING
- Cart is in pending state <br/> DELETED
- Cart is in deleted state
PENDING
, DELETED
"PENDING"
Customer account ID
"5f689caa4216e7000750d1ef"
Cart configurations
Customer context Customer context of a cart
Money amount in specified currency Total price of line items after discount, including shipping and shipping discount
10
Money amount in specified currency Total discount applied to cart
10
Money amount in specified currency Total fees applied to cart
10
Money amount in specified currency Total price of line items, including shipping, without discount
10
Currency type
"USD"
Cart attributes
{ "approver": "620d8896058edb0009385311" }
Applied discounts
Suggested free products
The order number
"121213"
Cart error information Errors in this cart