POST api/ShoppingCartDetail
Request Information
URI Parameters
None.
Body Parameters
ShoppingCartDetail| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | globally unique identifier |
None. |
|
| ShoppingCartId | globally unique identifier |
None. |
|
| InvoiceId | globally unique identifier |
None. |
|
| InvoiceDetailId | globally unique identifier |
None. |
|
| ContactId | globally unique identifier |
None. |
|
| ProductId | globally unique identifier |
None. |
|
| RateId | globally unique identifier |
None. |
|
| ProductCode | string |
None. |
|
| Module | Module |
None. |
|
| DetailType | string |
None. |
|
| Name | string |
None. |
|
| Qty | integer |
None. |
|
| Price | decimal number |
None. |
|
| PromoCode | string |
None. |
|
| CycleStartDate | date |
None. |
|
| ParentId | globally unique identifier |
None. |
Request Formats
application/json, text/json
Sample:
{
"Id": "1f8a423f-e022-4e74-82c6-0700877e0405",
"ShoppingCartId": "b69fdf6f-63dd-4921-9233-157b02dffd1c",
"InvoiceId": "6c8d40cb-e2e4-4cdc-a09f-85ab7e7d3129",
"InvoiceDetailId": "d84a6b38-a62a-4c40-9b89-d29c414d8b34",
"ContactId": "72d055c9-955d-440f-99c9-812cb3f5a1fb",
"ProductId": "dce741bb-34fc-4388-b1a4-a8cc9b13aabb",
"RateId": "c619aa7e-6461-4c39-b054-78ac02c89625",
"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-08-04T22:14:12.8362349+00:00",
"ParentId": "0cc12568-5390-4a6f-8659-a86b8b5eff3d"
}
application/xml, text/xml
Sample:
<ShoppingCartDetail xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Protech.UX.API.ShoppingCart"> <ContactId>72d055c9-955d-440f-99c9-812cb3f5a1fb</ContactId> <CycleStartDate>2026-08-04T22:14:12.8362349+00:00</CycleStartDate> <DetailType>sample string 9</DetailType> <Id>1f8a423f-e022-4e74-82c6-0700877e0405</Id> <InvoiceDetailId>d84a6b38-a62a-4c40-9b89-d29c414d8b34</InvoiceDetailId> <InvoiceId>6c8d40cb-e2e4-4cdc-a09f-85ab7e7d3129</InvoiceId> <Module>Products</Module> <Name>sample string 10</Name> <ParentId>0cc12568-5390-4a6f-8659-a86b8b5eff3d</ParentId> <Price>12</Price> <ProductCode>sample string 8</ProductCode> <ProductId>dce741bb-34fc-4388-b1a4-a8cc9b13aabb</ProductId> <PromoCode>sample string 13</PromoCode> <Qty>11</Qty> <RateId>c619aa7e-6461-4c39-b054-78ac02c89625</RateId> <ShoppingCartId>b69fdf6f-63dd-4921-9233-157b02dffd1c</ShoppingCartId> </ShoppingCartDetail>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
APIResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| Status | Status |
None. |
|
| Id | globally unique identifier |
None. |
|
| Description | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"Status": 0,
"Id": "ca895b75-0e56-4004-a089-989e1d142a64",
"Description": "sample string 2"
}
application/xml, text/xml
Sample:
<APIResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Protech.UX.API.Response"> <Description>sample string 2</Description> <Id>ca895b75-0e56-4004-a089-989e1d142a64</Id> <Status>Success</Status> </APIResponse>