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": "dca08199-9559-48fc-88eb-7cd4a177f536",
"ShoppingCartId": "6c69123b-fae0-472e-ba3e-9edc1c3e9675",
"InvoiceId": "880b38d2-7a80-44f1-b1b4-2fe034d40a89",
"InvoiceDetailId": "1d9ab7f2-8960-4648-9cca-481936fccc7e",
"ContactId": "1048c36f-e121-452b-80b6-327e5a8043a6",
"ProductId": "d4c09c6d-1ca7-4efb-8af7-474e94cc9e6c",
"RateId": "4d83e6af-fe61-4289-902e-70c81d3f2214",
"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-05-06T12:02:37.7896796+00:00",
"ParentId": "ed969f94-b284-4eb1-b947-e1bd3e125da9"
}
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>1048c36f-e121-452b-80b6-327e5a8043a6</ContactId> <CycleStartDate>2026-05-06T12:02:37.7896796+00:00</CycleStartDate> <DetailType>sample string 9</DetailType> <Id>dca08199-9559-48fc-88eb-7cd4a177f536</Id> <InvoiceDetailId>1d9ab7f2-8960-4648-9cca-481936fccc7e</InvoiceDetailId> <InvoiceId>880b38d2-7a80-44f1-b1b4-2fe034d40a89</InvoiceId> <Module>Products</Module> <Name>sample string 10</Name> <ParentId>ed969f94-b284-4eb1-b947-e1bd3e125da9</ParentId> <Price>12</Price> <ProductCode>sample string 8</ProductCode> <ProductId>d4c09c6d-1ca7-4efb-8af7-474e94cc9e6c</ProductId> <PromoCode>sample string 13</PromoCode> <Qty>11</Qty> <RateId>4d83e6af-fe61-4289-902e-70c81d3f2214</RateId> <ShoppingCartId>6c69123b-fae0-472e-ba3e-9edc1c3e9675</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": "41ab8163-db2d-446e-9d00-8ce314cc426c",
"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>41ab8163-db2d-446e-9d00-8ce314cc426c</Id> <Status>Success</Status> </APIResponse>