GET v1/store/login/user/orders/cart?listID={listID}
Gets the general cart information of the current user.
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| listID | globally unique identifier |
Optional |
Body Parameters
None.
Response Information
Resource Description
Returns the general cart information of the current user.
CartModel| Name | Description | Type | Additional information |
|---|---|---|---|
| OrderApproval |
The order approval information. Can be null if there is no approval. |
OrderApprovalModel |
None. |
| CheckoutUrl |
The URL to the first page of the checkout wizard. |
string |
None. |
| Items |
The list of the items in the cart. |
Collection of CartItemModel |
None. |
| Description |
The text that will be displayed in the Shopping Cart. |
string |
None. |
| Activities |
Active background tasks of the current user, related to the shopping cart |
Collection of globally unique identifier |
None. |
| OrderID |
The unique ID of the order. |
globally unique identifier |
None. |
| OrderFriendlyID |
The friendly ID of the order. |
integer |
None. |
| OrderLegacyID |
The legacy ID of the order. |
integer |
None. |
Response Formats
application/json, text/json
Sample:
{
"OrderApproval": {
"OriginalOrderFriendlyID": 1,
"OriginalOrderID": "9da35e23-bdeb-4ee1-966d-6bb83004f49c"
},
"CheckoutUrl": "sample string 1",
"Items": [
{
"OrderItemID": "1752cfea-31d4-4a17-928f-1cdbb8f49a5b",
"OrderItemFriendlyID": 2,
"Product": {
"ProductID": "c6504a5b-c716-4755-8b7f-2f64b301ddc4",
"Name": "sample string 2",
"CatalogNumber": "sample string 3",
"Unit": {
"ItemQuantity": 1,
"ItemType": {
"Name": "sample string 1",
"PluralName": "sample string 2"
},
"PackType": {
"Name": "sample string 1",
"PluralName": "sample string 2"
}
},
"HasPricing": true
},
"Nickname": "sample string 3",
"Checked": true,
"OriginalOrderFriendlyID": 1,
"EditUrl": "sample string 5",
"QuantityPerRecipient": 1,
"NumRecipients": 6,
"Quantity": 7,
"Properties": [
{
"Name": "sample string 1",
"Value": "sample string 2",
"ComponentRange": "sample string 3",
"ComponentName": "sample string 4",
"ConvertToClientTimeZone": true
},
{
"Name": "sample string 1",
"Value": "sample string 2",
"ComponentRange": "sample string 3",
"ComponentName": "sample string 4",
"ConvertToClientTimeZone": true
}
],
"SubItems": [
{
"Product": {
"ProductID": "c6504a5b-c716-4755-8b7f-2f64b301ddc4",
"Name": "sample string 2",
"CatalogNumber": "sample string 3",
"Unit": {
"ItemQuantity": 1,
"ItemType": {
"Name": "sample string 1",
"PluralName": "sample string 2"
},
"PackType": {
"Name": "sample string 1",
"PluralName": "sample string 2"
}
},
"HasPricing": true
},
"Quantity": 1
},
{
"Product": {
"ProductID": "c6504a5b-c716-4755-8b7f-2f64b301ddc4",
"Name": "sample string 2",
"CatalogNumber": "sample string 3",
"Unit": {
"ItemQuantity": 1,
"ItemType": {
"Name": "sample string 1",
"PluralName": "sample string 2"
},
"PackType": {
"Name": "sample string 1",
"PluralName": "sample string 2"
}
},
"HasPricing": true
},
"Quantity": 1
}
],
"Thumbnail": {
"Url": "sample string 1"
},
"ProofStatus": 1,
"Attributes": [
{
"Name": "sample string 1",
"Value": "sample string 2"
},
{
"Name": "sample string 1",
"Value": "sample string 2"
}
]
},
{
"OrderItemID": "1752cfea-31d4-4a17-928f-1cdbb8f49a5b",
"OrderItemFriendlyID": 2,
"Product": {
"ProductID": "c6504a5b-c716-4755-8b7f-2f64b301ddc4",
"Name": "sample string 2",
"CatalogNumber": "sample string 3",
"Unit": {
"ItemQuantity": 1,
"ItemType": {
"Name": "sample string 1",
"PluralName": "sample string 2"
},
"PackType": {
"Name": "sample string 1",
"PluralName": "sample string 2"
}
},
"HasPricing": true
},
"Nickname": "sample string 3",
"Checked": true,
"OriginalOrderFriendlyID": 1,
"EditUrl": "sample string 5",
"QuantityPerRecipient": 1,
"NumRecipients": 6,
"Quantity": 7,
"Properties": [
{
"Name": "sample string 1",
"Value": "sample string 2",
"ComponentRange": "sample string 3",
"ComponentName": "sample string 4",
"ConvertToClientTimeZone": true
},
{
"Name": "sample string 1",
"Value": "sample string 2",
"ComponentRange": "sample string 3",
"ComponentName": "sample string 4",
"ConvertToClientTimeZone": true
}
],
"SubItems": [
{
"Product": {
"ProductID": "c6504a5b-c716-4755-8b7f-2f64b301ddc4",
"Name": "sample string 2",
"CatalogNumber": "sample string 3",
"Unit": {
"ItemQuantity": 1,
"ItemType": {
"Name": "sample string 1",
"PluralName": "sample string 2"
},
"PackType": {
"Name": "sample string 1",
"PluralName": "sample string 2"
}
},
"HasPricing": true
},
"Quantity": 1
},
{
"Product": {
"ProductID": "c6504a5b-c716-4755-8b7f-2f64b301ddc4",
"Name": "sample string 2",
"CatalogNumber": "sample string 3",
"Unit": {
"ItemQuantity": 1,
"ItemType": {
"Name": "sample string 1",
"PluralName": "sample string 2"
},
"PackType": {
"Name": "sample string 1",
"PluralName": "sample string 2"
}
},
"HasPricing": true
},
"Quantity": 1
}
],
"Thumbnail": {
"Url": "sample string 1"
},
"ProofStatus": 1,
"Attributes": [
{
"Name": "sample string 1",
"Value": "sample string 2"
},
{
"Name": "sample string 1",
"Value": "sample string 2"
}
]
}
],
"Description": "sample string 2",
"Activities": [
"2b502787-467c-4d1a-9e3e-ed3cbfe85c3c",
"c7cff647-18b1-4a53-8e82-be577add703f"
],
"OrderID": "1ad8729a-6013-4b1a-87e9-6948f446bced",
"OrderFriendlyID": 4,
"OrderLegacyID": 5
}