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": "a96da349-d4e4-4b0d-83cb-bae37d38df68",
"Number": "sample string 2",
"CreatedOn": "2026-02-04T02:56:34.7047422+00:00",
"Details": {
"Detail": [
{
"Id": "9820c34c-5d53-4cc2-ac67-a284e8f480ee",
"ShoppingCartId": "33ba6587-5344-4a82-b1cc-dbb390ed8906",
"InvoiceId": "fbbec66a-d57b-4236-8083-901e5544a634",
"InvoiceDetailId": "68ba2b25-5d99-4e7b-8dde-65595eb134e2",
"ContactId": "cd5135ae-cd41-4171-a8df-1d11e7ea32ed",
"ProductId": "9402b548-269c-4619-91d5-dce5f3c50bd9",
"RateId": "f84e2c8e-4a51-45b1-ad7e-9b3422565091",
"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-02-04T02:56:34.7047422+00:00",
"ParentId": "f33cfeca-ab8f-4681-9016-0db165f178e1"
},
{
"Id": "9820c34c-5d53-4cc2-ac67-a284e8f480ee",
"ShoppingCartId": "33ba6587-5344-4a82-b1cc-dbb390ed8906",
"InvoiceId": "fbbec66a-d57b-4236-8083-901e5544a634",
"InvoiceDetailId": "68ba2b25-5d99-4e7b-8dde-65595eb134e2",
"ContactId": "cd5135ae-cd41-4171-a8df-1d11e7ea32ed",
"ProductId": "9402b548-269c-4619-91d5-dce5f3c50bd9",
"RateId": "f84e2c8e-4a51-45b1-ad7e-9b3422565091",
"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-02-04T02:56:34.7047422+00:00",
"ParentId": "f33cfeca-ab8f-4681-9016-0db165f178e1"
}
]
}
}
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-02-04T02:56:34.7047422+00:00</CreatedOn>
<Details>
<Detail>
<ShoppingCartDetail>
<ContactId>cd5135ae-cd41-4171-a8df-1d11e7ea32ed</ContactId>
<CycleStartDate>2026-02-04T02:56:34.7047422+00:00</CycleStartDate>
<DetailType>sample string 9</DetailType>
<Id>9820c34c-5d53-4cc2-ac67-a284e8f480ee</Id>
<InvoiceDetailId>68ba2b25-5d99-4e7b-8dde-65595eb134e2</InvoiceDetailId>
<InvoiceId>fbbec66a-d57b-4236-8083-901e5544a634</InvoiceId>
<Module>Products</Module>
<Name>sample string 10</Name>
<ParentId>f33cfeca-ab8f-4681-9016-0db165f178e1</ParentId>
<Price>12</Price>
<ProductCode>sample string 8</ProductCode>
<ProductId>9402b548-269c-4619-91d5-dce5f3c50bd9</ProductId>
<PromoCode>sample string 13</PromoCode>
<Qty>11</Qty>
<RateId>f84e2c8e-4a51-45b1-ad7e-9b3422565091</RateId>
<ShoppingCartId>33ba6587-5344-4a82-b1cc-dbb390ed8906</ShoppingCartId>
</ShoppingCartDetail>
<ShoppingCartDetail>
<ContactId>cd5135ae-cd41-4171-a8df-1d11e7ea32ed</ContactId>
<CycleStartDate>2026-02-04T02:56:34.7047422+00:00</CycleStartDate>
<DetailType>sample string 9</DetailType>
<Id>9820c34c-5d53-4cc2-ac67-a284e8f480ee</Id>
<InvoiceDetailId>68ba2b25-5d99-4e7b-8dde-65595eb134e2</InvoiceDetailId>
<InvoiceId>fbbec66a-d57b-4236-8083-901e5544a634</InvoiceId>
<Module>Products</Module>
<Name>sample string 10</Name>
<ParentId>f33cfeca-ab8f-4681-9016-0db165f178e1</ParentId>
<Price>12</Price>
<ProductCode>sample string 8</ProductCode>
<ProductId>9402b548-269c-4619-91d5-dce5f3c50bd9</ProductId>
<PromoCode>sample string 13</PromoCode>
<Qty>11</Qty>
<RateId>f84e2c8e-4a51-45b1-ad7e-9b3422565091</RateId>
<ShoppingCartId>33ba6587-5344-4a82-b1cc-dbb390ed8906</ShoppingCartId>
</ShoppingCartDetail>
</Detail>
</Details>
<Id>a96da349-d4e4-4b0d-83cb-bae37d38df68</Id>
<Number>sample string 2</Number>
</ShoppingCart>