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": "547c01e1-1f68-4ca3-b88f-3fd4b443d398",
"ShoppingCartId": "bc83ab2e-6e18-473e-bbf5-cc16fb25a0a5",
"InvoiceId": "9da51125-25a4-41b2-8bdc-c6258095b48b",
"InvoiceDetailId": "77213786-92ec-4ef3-ad70-6685c10f6d41",
"ContactId": "244b24a5-9f81-4e67-afef-96f4cb435ae4",
"ProductId": "36432000-498f-432d-ac98-918b6f6af628",
"RateId": "16c987c5-5dc4-45ca-83ab-a4d2e4fa6a48",
"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-03-21T21:58:40.2183984+00:00",
"ParentId": "4c32dee7-2e82-4763-8590-3997bd78cdfc"
}
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>244b24a5-9f81-4e67-afef-96f4cb435ae4</ContactId> <CycleStartDate>2026-03-21T21:58:40.2183984+00:00</CycleStartDate> <DetailType>sample string 9</DetailType> <Id>547c01e1-1f68-4ca3-b88f-3fd4b443d398</Id> <InvoiceDetailId>77213786-92ec-4ef3-ad70-6685c10f6d41</InvoiceDetailId> <InvoiceId>9da51125-25a4-41b2-8bdc-c6258095b48b</InvoiceId> <Module>Products</Module> <Name>sample string 10</Name> <ParentId>4c32dee7-2e82-4763-8590-3997bd78cdfc</ParentId> <Price>12</Price> <ProductCode>sample string 8</ProductCode> <ProductId>36432000-498f-432d-ac98-918b6f6af628</ProductId> <PromoCode>sample string 13</PromoCode> <Qty>11</Qty> <RateId>16c987c5-5dc4-45ca-83ab-a4d2e4fa6a48</RateId> <ShoppingCartId>bc83ab2e-6e18-473e-bbf5-cc16fb25a0a5</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": "987e6df1-5e4d-4170-b04a-7e8b88cac996",
"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>987e6df1-5e4d-4170-b04a-7e8b88cac996</Id> <Status>Success</Status> </APIResponse>