GET api/ShoppingCart?CartId={CartId}&ContactId={ContactId}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| CartId | globally unique identifier |
None. |
|
| ContactId | globally unique identifier |
None. |
Body Parameters
None.
Response Information
Resource Description
ShoppingCart| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | globally unique identifier |
None. |
|
| Number | string |
None. |
|
| CreatedOn | date |
None. |
|
| Details | ShoppingCartDetails |
None. |
Response Formats
application/json, text/json
Sample:
{
"Id": "cb366837-2ade-4219-8e6a-a8e6873a7822",
"Number": "sample string 2",
"CreatedOn": "2026-08-04T22:15:34.11665+00:00",
"Details": {
"Detail": [
{
"Id": "b077769f-f327-4839-88a8-c0edd40a3522",
"ShoppingCartId": "1975659e-b8ff-4fa2-8949-69edf8f3c68b",
"InvoiceId": "26fd934d-82d6-4aad-886b-a84a5cb3d606",
"InvoiceDetailId": "67c37f8c-a7e2-4fda-afb9-f25a32f60b83",
"ContactId": "1d5251ab-4d35-4903-a187-192c1018dd19",
"ProductId": "1607b56a-dbd7-4eb6-b0d4-029c0e1d3d7d",
"RateId": "34ee1e7b-693c-4814-8a94-c5e1f41c112e",
"ProductCode": "sample string 8",
"Module": 0,
"DetailType": "sample string 9",
"Name": "sample string 10",
"Qty": 11,
"Price": 12.0,
"PromoCode": "sample string 13",
"CycleStartDate": "2026-08-04T22:15:34.11665+00:00",
"ParentId": "526670da-d8fc-477e-8364-f0c4a084fa50"
},
{
"Id": "b077769f-f327-4839-88a8-c0edd40a3522",
"ShoppingCartId": "1975659e-b8ff-4fa2-8949-69edf8f3c68b",
"InvoiceId": "26fd934d-82d6-4aad-886b-a84a5cb3d606",
"InvoiceDetailId": "67c37f8c-a7e2-4fda-afb9-f25a32f60b83",
"ContactId": "1d5251ab-4d35-4903-a187-192c1018dd19",
"ProductId": "1607b56a-dbd7-4eb6-b0d4-029c0e1d3d7d",
"RateId": "34ee1e7b-693c-4814-8a94-c5e1f41c112e",
"ProductCode": "sample string 8",
"Module": 0,
"DetailType": "sample string 9",
"Name": "sample string 10",
"Qty": 11,
"Price": 12.0,
"PromoCode": "sample string 13",
"CycleStartDate": "2026-08-04T22:15:34.11665+00:00",
"ParentId": "526670da-d8fc-477e-8364-f0c4a084fa50"
}
]
}
}
application/xml, text/xml
Sample:
<ShoppingCart xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Protech.UX.API.ShoppingCart">
<CreatedOn>2026-08-04T22:15:34.11665+00:00</CreatedOn>
<Details>
<Detail>
<ShoppingCartDetail>
<ContactId>1d5251ab-4d35-4903-a187-192c1018dd19</ContactId>
<CycleStartDate>2026-08-04T22:15:34.11665+00:00</CycleStartDate>
<DetailType>sample string 9</DetailType>
<Id>b077769f-f327-4839-88a8-c0edd40a3522</Id>
<InvoiceDetailId>67c37f8c-a7e2-4fda-afb9-f25a32f60b83</InvoiceDetailId>
<InvoiceId>26fd934d-82d6-4aad-886b-a84a5cb3d606</InvoiceId>
<Module>Products</Module>
<Name>sample string 10</Name>
<ParentId>526670da-d8fc-477e-8364-f0c4a084fa50</ParentId>
<Price>12</Price>
<ProductCode>sample string 8</ProductCode>
<ProductId>1607b56a-dbd7-4eb6-b0d4-029c0e1d3d7d</ProductId>
<PromoCode>sample string 13</PromoCode>
<Qty>11</Qty>
<RateId>34ee1e7b-693c-4814-8a94-c5e1f41c112e</RateId>
<ShoppingCartId>1975659e-b8ff-4fa2-8949-69edf8f3c68b</ShoppingCartId>
</ShoppingCartDetail>
<ShoppingCartDetail>
<ContactId>1d5251ab-4d35-4903-a187-192c1018dd19</ContactId>
<CycleStartDate>2026-08-04T22:15:34.11665+00:00</CycleStartDate>
<DetailType>sample string 9</DetailType>
<Id>b077769f-f327-4839-88a8-c0edd40a3522</Id>
<InvoiceDetailId>67c37f8c-a7e2-4fda-afb9-f25a32f60b83</InvoiceDetailId>
<InvoiceId>26fd934d-82d6-4aad-886b-a84a5cb3d606</InvoiceId>
<Module>Products</Module>
<Name>sample string 10</Name>
<ParentId>526670da-d8fc-477e-8364-f0c4a084fa50</ParentId>
<Price>12</Price>
<ProductCode>sample string 8</ProductCode>
<ProductId>1607b56a-dbd7-4eb6-b0d4-029c0e1d3d7d</ProductId>
<PromoCode>sample string 13</PromoCode>
<Qty>11</Qty>
<RateId>34ee1e7b-693c-4814-8a94-c5e1f41c112e</RateId>
<ShoppingCartId>1975659e-b8ff-4fa2-8949-69edf8f3c68b</ShoppingCartId>
</ShoppingCartDetail>
</Detail>
</Details>
<Id>cb366837-2ade-4219-8e6a-a8e6873a7822</Id>
<Number>sample string 2</Number>
</ShoppingCart>