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": "1936cd9c-1098-465d-83fe-8930a3ae3bf5",
"Number": "sample string 2",
"CreatedOn": "2026-09-19T09:28:36.3483477+00:00",
"Details": {
"Detail": [
{
"Id": "fe5b4888-bcb5-4a55-aa80-ea4c3927a5ac",
"ShoppingCartId": "c73cf25d-37aa-4c19-8e7e-0a807e9aca98",
"InvoiceId": "c1e40911-738a-4d1b-a8d0-b2af299d8030",
"InvoiceDetailId": "9961303f-a88a-48b7-a747-4832071b9135",
"ContactId": "2bb4dd84-8d37-4347-906e-c4d5bae38c70",
"ProductId": "31ff33be-f092-491a-93f7-6c142b4dafc8",
"RateId": "04dfd8fb-9dde-4118-97f8-0f96dc313268",
"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-09-19T09:28:36.3483477+00:00",
"ParentId": "17f6976d-b945-4c63-9a1e-c53e4af94cf6"
},
{
"Id": "fe5b4888-bcb5-4a55-aa80-ea4c3927a5ac",
"ShoppingCartId": "c73cf25d-37aa-4c19-8e7e-0a807e9aca98",
"InvoiceId": "c1e40911-738a-4d1b-a8d0-b2af299d8030",
"InvoiceDetailId": "9961303f-a88a-48b7-a747-4832071b9135",
"ContactId": "2bb4dd84-8d37-4347-906e-c4d5bae38c70",
"ProductId": "31ff33be-f092-491a-93f7-6c142b4dafc8",
"RateId": "04dfd8fb-9dde-4118-97f8-0f96dc313268",
"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-09-19T09:28:36.3483477+00:00",
"ParentId": "17f6976d-b945-4c63-9a1e-c53e4af94cf6"
}
]
}
}
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-09-19T09:28:36.3483477+00:00</CreatedOn>
<Details>
<Detail>
<ShoppingCartDetail>
<ContactId>2bb4dd84-8d37-4347-906e-c4d5bae38c70</ContactId>
<CycleStartDate>2026-09-19T09:28:36.3483477+00:00</CycleStartDate>
<DetailType>sample string 9</DetailType>
<Id>fe5b4888-bcb5-4a55-aa80-ea4c3927a5ac</Id>
<InvoiceDetailId>9961303f-a88a-48b7-a747-4832071b9135</InvoiceDetailId>
<InvoiceId>c1e40911-738a-4d1b-a8d0-b2af299d8030</InvoiceId>
<Module>Products</Module>
<Name>sample string 10</Name>
<ParentId>17f6976d-b945-4c63-9a1e-c53e4af94cf6</ParentId>
<Price>12</Price>
<ProductCode>sample string 8</ProductCode>
<ProductId>31ff33be-f092-491a-93f7-6c142b4dafc8</ProductId>
<PromoCode>sample string 13</PromoCode>
<Qty>11</Qty>
<RateId>04dfd8fb-9dde-4118-97f8-0f96dc313268</RateId>
<ShoppingCartId>c73cf25d-37aa-4c19-8e7e-0a807e9aca98</ShoppingCartId>
</ShoppingCartDetail>
<ShoppingCartDetail>
<ContactId>2bb4dd84-8d37-4347-906e-c4d5bae38c70</ContactId>
<CycleStartDate>2026-09-19T09:28:36.3483477+00:00</CycleStartDate>
<DetailType>sample string 9</DetailType>
<Id>fe5b4888-bcb5-4a55-aa80-ea4c3927a5ac</Id>
<InvoiceDetailId>9961303f-a88a-48b7-a747-4832071b9135</InvoiceDetailId>
<InvoiceId>c1e40911-738a-4d1b-a8d0-b2af299d8030</InvoiceId>
<Module>Products</Module>
<Name>sample string 10</Name>
<ParentId>17f6976d-b945-4c63-9a1e-c53e4af94cf6</ParentId>
<Price>12</Price>
<ProductCode>sample string 8</ProductCode>
<ProductId>31ff33be-f092-491a-93f7-6c142b4dafc8</ProductId>
<PromoCode>sample string 13</PromoCode>
<Qty>11</Qty>
<RateId>04dfd8fb-9dde-4118-97f8-0f96dc313268</RateId>
<ShoppingCartId>c73cf25d-37aa-4c19-8e7e-0a807e9aca98</ShoppingCartId>
</ShoppingCartDetail>
</Detail>
</Details>
<Id>1936cd9c-1098-465d-83fe-8930a3ae3bf5</Id>
<Number>sample string 2</Number>
</ShoppingCart>