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. |
Response Formats
application/json, text/json
Sample:
{
"OrderApproval": {
"OriginalOrderFriendlyID": 1,
"OriginalOrderID": "6cd761ae-197e-4db3-bb41-74f0ca2afc00"
},
"CheckoutUrl": "sample string 1",
"Items": [
{
"OrderItemID": "27324c69-1551-4113-9e82-2ddbcbecdfc7",
"Product": {
"ProductID": "2093b469-21ce-44f2-9dbe-3140559d156f",
"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 2",
"Checked": true,
"OriginalOrderFriendlyID": 1,
"EditUrl": "sample string 4",
"QuantityPerRecipient": 1,
"NumRecipients": 5,
"Quantity": 6,
"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": "2093b469-21ce-44f2-9dbe-3140559d156f",
"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": "2093b469-21ce-44f2-9dbe-3140559d156f",
"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": "27324c69-1551-4113-9e82-2ddbcbecdfc7",
"Product": {
"ProductID": "2093b469-21ce-44f2-9dbe-3140559d156f",
"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 2",
"Checked": true,
"OriginalOrderFriendlyID": 1,
"EditUrl": "sample string 4",
"QuantityPerRecipient": 1,
"NumRecipients": 5,
"Quantity": 6,
"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": "2093b469-21ce-44f2-9dbe-3140559d156f",
"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": "2093b469-21ce-44f2-9dbe-3140559d156f",
"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": [
"9142024d-85cb-4123-8dbe-8ca4aaff5708",
"6ab8b7a5-f80f-479d-aba3-9f4f1bc4c8c1"
]
}