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": "8f4f9a4f-e830-49df-ac49-bcdddbf5e5e1",
"Number": "sample string 2",
"CreatedOn": "2026-03-21T21:59:39.9076851+00:00",
"Details": {
"Detail": [
{
"Id": "82595330-9e35-4fce-a300-5a154f7ba119",
"ShoppingCartId": "e3f1e678-ef54-4c3e-a088-9d18c313ae45",
"InvoiceId": "1f101b09-4f8e-4372-af16-09d65b2bde79",
"InvoiceDetailId": "7be106e5-5235-44f9-80bf-60d4a2f6efc1",
"ContactId": "27e0bcc1-ce36-4f25-b861-c2e71e47c90c",
"ProductId": "f2fae665-f998-4b58-8c0c-80610988bb6f",
"RateId": "697e3d71-ffcb-4d0c-9d82-2825a1505f73",
"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-03-21T21:59:39.9076851+00:00",
"ParentId": "e56a68fe-8cc1-4712-ad13-c2e1057117f4"
},
{
"Id": "82595330-9e35-4fce-a300-5a154f7ba119",
"ShoppingCartId": "e3f1e678-ef54-4c3e-a088-9d18c313ae45",
"InvoiceId": "1f101b09-4f8e-4372-af16-09d65b2bde79",
"InvoiceDetailId": "7be106e5-5235-44f9-80bf-60d4a2f6efc1",
"ContactId": "27e0bcc1-ce36-4f25-b861-c2e71e47c90c",
"ProductId": "f2fae665-f998-4b58-8c0c-80610988bb6f",
"RateId": "697e3d71-ffcb-4d0c-9d82-2825a1505f73",
"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-03-21T21:59:39.9076851+00:00",
"ParentId": "e56a68fe-8cc1-4712-ad13-c2e1057117f4"
}
]
}
}
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-03-21T21:59:39.9076851+00:00</CreatedOn>
<Details>
<Detail>
<ShoppingCartDetail>
<ContactId>27e0bcc1-ce36-4f25-b861-c2e71e47c90c</ContactId>
<CycleStartDate>2026-03-21T21:59:39.9076851+00:00</CycleStartDate>
<DetailType>sample string 9</DetailType>
<Id>82595330-9e35-4fce-a300-5a154f7ba119</Id>
<InvoiceDetailId>7be106e5-5235-44f9-80bf-60d4a2f6efc1</InvoiceDetailId>
<InvoiceId>1f101b09-4f8e-4372-af16-09d65b2bde79</InvoiceId>
<Module>Products</Module>
<Name>sample string 10</Name>
<ParentId>e56a68fe-8cc1-4712-ad13-c2e1057117f4</ParentId>
<Price>12</Price>
<ProductCode>sample string 8</ProductCode>
<ProductId>f2fae665-f998-4b58-8c0c-80610988bb6f</ProductId>
<PromoCode>sample string 13</PromoCode>
<Qty>11</Qty>
<RateId>697e3d71-ffcb-4d0c-9d82-2825a1505f73</RateId>
<ShoppingCartId>e3f1e678-ef54-4c3e-a088-9d18c313ae45</ShoppingCartId>
</ShoppingCartDetail>
<ShoppingCartDetail>
<ContactId>27e0bcc1-ce36-4f25-b861-c2e71e47c90c</ContactId>
<CycleStartDate>2026-03-21T21:59:39.9076851+00:00</CycleStartDate>
<DetailType>sample string 9</DetailType>
<Id>82595330-9e35-4fce-a300-5a154f7ba119</Id>
<InvoiceDetailId>7be106e5-5235-44f9-80bf-60d4a2f6efc1</InvoiceDetailId>
<InvoiceId>1f101b09-4f8e-4372-af16-09d65b2bde79</InvoiceId>
<Module>Products</Module>
<Name>sample string 10</Name>
<ParentId>e56a68fe-8cc1-4712-ad13-c2e1057117f4</ParentId>
<Price>12</Price>
<ProductCode>sample string 8</ProductCode>
<ProductId>f2fae665-f998-4b58-8c0c-80610988bb6f</ProductId>
<PromoCode>sample string 13</PromoCode>
<Qty>11</Qty>
<RateId>697e3d71-ffcb-4d0c-9d82-2825a1505f73</RateId>
<ShoppingCartId>e3f1e678-ef54-4c3e-a088-9d18c313ae45</ShoppingCartId>
</ShoppingCartDetail>
</Detail>
</Details>
<Id>8f4f9a4f-e830-49df-ac49-bcdddbf5e5e1</Id>
<Number>sample string 2</Number>
</ShoppingCart>