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": "67d1cd12-d190-453a-b178-11bfc7a9fb96",
"Number": "sample string 2",
"CreatedOn": "2026-06-20T20:00:33.9260945+00:00",
"Details": {
"Detail": [
{
"Id": "b7edd0b3-51d1-44ff-a1e8-1b714d54943d",
"ShoppingCartId": "1670a5c3-e33d-4af7-abe2-396e1180a671",
"InvoiceId": "2892c830-af3c-4b0a-9466-671c6dcaabc3",
"InvoiceDetailId": "a5602a13-5f68-427f-8092-6bc150727a4f",
"ContactId": "b955fa2c-6d5b-427c-a3e1-d830371f5322",
"ProductId": "1676702d-7a6d-4d66-bd93-13f69b9b4b62",
"RateId": "cf400529-e954-4c64-b5bd-3255600fadbd",
"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-06-20T20:00:33.9260945+00:00",
"ParentId": "8a5477d5-027f-4df6-bb80-6b1474a33d4a"
},
{
"Id": "b7edd0b3-51d1-44ff-a1e8-1b714d54943d",
"ShoppingCartId": "1670a5c3-e33d-4af7-abe2-396e1180a671",
"InvoiceId": "2892c830-af3c-4b0a-9466-671c6dcaabc3",
"InvoiceDetailId": "a5602a13-5f68-427f-8092-6bc150727a4f",
"ContactId": "b955fa2c-6d5b-427c-a3e1-d830371f5322",
"ProductId": "1676702d-7a6d-4d66-bd93-13f69b9b4b62",
"RateId": "cf400529-e954-4c64-b5bd-3255600fadbd",
"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-06-20T20:00:33.9260945+00:00",
"ParentId": "8a5477d5-027f-4df6-bb80-6b1474a33d4a"
}
]
}
}
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-06-20T20:00:33.9260945+00:00</CreatedOn>
<Details>
<Detail>
<ShoppingCartDetail>
<ContactId>b955fa2c-6d5b-427c-a3e1-d830371f5322</ContactId>
<CycleStartDate>2026-06-20T20:00:33.9260945+00:00</CycleStartDate>
<DetailType>sample string 9</DetailType>
<Id>b7edd0b3-51d1-44ff-a1e8-1b714d54943d</Id>
<InvoiceDetailId>a5602a13-5f68-427f-8092-6bc150727a4f</InvoiceDetailId>
<InvoiceId>2892c830-af3c-4b0a-9466-671c6dcaabc3</InvoiceId>
<Module>Products</Module>
<Name>sample string 10</Name>
<ParentId>8a5477d5-027f-4df6-bb80-6b1474a33d4a</ParentId>
<Price>12</Price>
<ProductCode>sample string 8</ProductCode>
<ProductId>1676702d-7a6d-4d66-bd93-13f69b9b4b62</ProductId>
<PromoCode>sample string 13</PromoCode>
<Qty>11</Qty>
<RateId>cf400529-e954-4c64-b5bd-3255600fadbd</RateId>
<ShoppingCartId>1670a5c3-e33d-4af7-abe2-396e1180a671</ShoppingCartId>
</ShoppingCartDetail>
<ShoppingCartDetail>
<ContactId>b955fa2c-6d5b-427c-a3e1-d830371f5322</ContactId>
<CycleStartDate>2026-06-20T20:00:33.9260945+00:00</CycleStartDate>
<DetailType>sample string 9</DetailType>
<Id>b7edd0b3-51d1-44ff-a1e8-1b714d54943d</Id>
<InvoiceDetailId>a5602a13-5f68-427f-8092-6bc150727a4f</InvoiceDetailId>
<InvoiceId>2892c830-af3c-4b0a-9466-671c6dcaabc3</InvoiceId>
<Module>Products</Module>
<Name>sample string 10</Name>
<ParentId>8a5477d5-027f-4df6-bb80-6b1474a33d4a</ParentId>
<Price>12</Price>
<ProductCode>sample string 8</ProductCode>
<ProductId>1676702d-7a6d-4d66-bd93-13f69b9b4b62</ProductId>
<PromoCode>sample string 13</PromoCode>
<Qty>11</Qty>
<RateId>cf400529-e954-4c64-b5bd-3255600fadbd</RateId>
<ShoppingCartId>1670a5c3-e33d-4af7-abe2-396e1180a671</ShoppingCartId>
</ShoppingCartDetail>
</Detail>
</Details>
<Id>67d1cd12-d190-453a-b178-11bfc7a9fb96</Id>
<Number>sample string 2</Number>
</ShoppingCart>