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": "e9e31019-5fc2-459b-af55-274c32387736"
},
"CheckoutUrl": "sample string 1",
"Items": [
{
"OrderItemID": "72ee37b1-19e3-49b6-85f4-86495a700ea5",
"OrderItemFriendlyID": 2,
"Product": {
"ProductID": "57fb180b-066d-4931-9c86-03350eb61ca0",
"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": "57fb180b-066d-4931-9c86-03350eb61ca0",
"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": "57fb180b-066d-4931-9c86-03350eb61ca0",
"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": "72ee37b1-19e3-49b6-85f4-86495a700ea5",
"OrderItemFriendlyID": 2,
"Product": {
"ProductID": "57fb180b-066d-4931-9c86-03350eb61ca0",
"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": "57fb180b-066d-4931-9c86-03350eb61ca0",
"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": "57fb180b-066d-4931-9c86-03350eb61ca0",
"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": [
"6656db6f-a16b-4779-89cb-8928d60939a7",
"bdf46f41-74b8-4651-a682-a90662398807"
],
"OrderID": "625c9363-f8a4-4075-8f52-505e57b3c941",
"OrderFriendlyID": 4,
"OrderLegacyID": 5
}