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": "56d8c33b-3def-41a3-a9c7-eb1d97861048",
"Number": "sample string 2",
"CreatedOn": "2026-11-03T19:56:28.2830448+00:00",
"Details": {
"Detail": [
{
"Id": "3e1c13f4-0686-4ef2-81c5-175e76d859f3",
"ShoppingCartId": "4b6bd99b-b4c8-4c01-81e9-8c9eeb689e38",
"InvoiceId": "bfb444ba-d649-4e9c-b1db-c569afe81c95",
"InvoiceDetailId": "6f014fbd-6b72-4f37-8828-bdb443b0f5fe",
"ContactId": "b4dd0cbc-f47c-4219-9798-d37470852723",
"ProductId": "b95ed9e1-5070-4c56-991f-480fbc7ba86c",
"RateId": "86a6f723-6864-401b-a92e-582dd7e23dc3",
"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-11-03T19:56:28.2830448+00:00",
"ParentId": "a96d9778-7aee-43dc-88ab-c21cbfedf7c8"
},
{
"Id": "3e1c13f4-0686-4ef2-81c5-175e76d859f3",
"ShoppingCartId": "4b6bd99b-b4c8-4c01-81e9-8c9eeb689e38",
"InvoiceId": "bfb444ba-d649-4e9c-b1db-c569afe81c95",
"InvoiceDetailId": "6f014fbd-6b72-4f37-8828-bdb443b0f5fe",
"ContactId": "b4dd0cbc-f47c-4219-9798-d37470852723",
"ProductId": "b95ed9e1-5070-4c56-991f-480fbc7ba86c",
"RateId": "86a6f723-6864-401b-a92e-582dd7e23dc3",
"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-11-03T19:56:28.2830448+00:00",
"ParentId": "a96d9778-7aee-43dc-88ab-c21cbfedf7c8"
}
]
}
}
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-11-03T19:56:28.2830448+00:00</CreatedOn>
<Details>
<Detail>
<ShoppingCartDetail>
<ContactId>b4dd0cbc-f47c-4219-9798-d37470852723</ContactId>
<CycleStartDate>2026-11-03T19:56:28.2830448+00:00</CycleStartDate>
<DetailType>sample string 9</DetailType>
<Id>3e1c13f4-0686-4ef2-81c5-175e76d859f3</Id>
<InvoiceDetailId>6f014fbd-6b72-4f37-8828-bdb443b0f5fe</InvoiceDetailId>
<InvoiceId>bfb444ba-d649-4e9c-b1db-c569afe81c95</InvoiceId>
<Module>Products</Module>
<Name>sample string 10</Name>
<ParentId>a96d9778-7aee-43dc-88ab-c21cbfedf7c8</ParentId>
<Price>12</Price>
<ProductCode>sample string 8</ProductCode>
<ProductId>b95ed9e1-5070-4c56-991f-480fbc7ba86c</ProductId>
<PromoCode>sample string 13</PromoCode>
<Qty>11</Qty>
<RateId>86a6f723-6864-401b-a92e-582dd7e23dc3</RateId>
<ShoppingCartId>4b6bd99b-b4c8-4c01-81e9-8c9eeb689e38</ShoppingCartId>
</ShoppingCartDetail>
<ShoppingCartDetail>
<ContactId>b4dd0cbc-f47c-4219-9798-d37470852723</ContactId>
<CycleStartDate>2026-11-03T19:56:28.2830448+00:00</CycleStartDate>
<DetailType>sample string 9</DetailType>
<Id>3e1c13f4-0686-4ef2-81c5-175e76d859f3</Id>
<InvoiceDetailId>6f014fbd-6b72-4f37-8828-bdb443b0f5fe</InvoiceDetailId>
<InvoiceId>bfb444ba-d649-4e9c-b1db-c569afe81c95</InvoiceId>
<Module>Products</Module>
<Name>sample string 10</Name>
<ParentId>a96d9778-7aee-43dc-88ab-c21cbfedf7c8</ParentId>
<Price>12</Price>
<ProductCode>sample string 8</ProductCode>
<ProductId>b95ed9e1-5070-4c56-991f-480fbc7ba86c</ProductId>
<PromoCode>sample string 13</PromoCode>
<Qty>11</Qty>
<RateId>86a6f723-6864-401b-a92e-582dd7e23dc3</RateId>
<ShoppingCartId>4b6bd99b-b4c8-4c01-81e9-8c9eeb689e38</ShoppingCartId>
</ShoppingCartDetail>
</Detail>
</Details>
<Id>56d8c33b-3def-41a3-a9c7-eb1d97861048</Id>
<Number>sample string 2</Number>
</ShoppingCart>