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": "ec26a623-12d0-4c07-bf78-c27eeb637986",
"ShoppingCartId": "f40bf861-c1da-4ee5-966e-54e892b3c86a",
"InvoiceId": "8bd9d91a-a2ec-47c2-8fbb-42903379c4a5",
"InvoiceDetailId": "e0b929d0-67a3-4537-b4ad-e574a5e76ee9",
"ContactId": "18c69171-7c4b-4f95-8d1a-5edd3d1c839b",
"ProductId": "b0519ca1-13b9-4aef-ac2d-be028be2d315",
"RateId": "19942407-0aa5-428c-bd3c-0b716b8441e7",
"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-20T19:56:53.046262+00:00",
"ParentId": "62f89a73-79ab-4e61-a4c0-a4c1a5e997fd"
}
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>18c69171-7c4b-4f95-8d1a-5edd3d1c839b</ContactId> <CycleStartDate>2026-06-20T19:56:53.046262+00:00</CycleStartDate> <DetailType>sample string 9</DetailType> <Id>ec26a623-12d0-4c07-bf78-c27eeb637986</Id> <InvoiceDetailId>e0b929d0-67a3-4537-b4ad-e574a5e76ee9</InvoiceDetailId> <InvoiceId>8bd9d91a-a2ec-47c2-8fbb-42903379c4a5</InvoiceId> <Module>Products</Module> <Name>sample string 10</Name> <ParentId>62f89a73-79ab-4e61-a4c0-a4c1a5e997fd</ParentId> <Price>12</Price> <ProductCode>sample string 8</ProductCode> <ProductId>b0519ca1-13b9-4aef-ac2d-be028be2d315</ProductId> <PromoCode>sample string 13</PromoCode> <Qty>11</Qty> <RateId>19942407-0aa5-428c-bd3c-0b716b8441e7</RateId> <ShoppingCartId>f40bf861-c1da-4ee5-966e-54e892b3c86a</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": "d592e377-eb9e-4a85-87a0-17e46d2d62f3",
"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>d592e377-eb9e-4a85-87a0-17e46d2d62f3</Id> <Status>Success</Status> </APIResponse>