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": "3b734814-563b-4013-a32d-051a1ac5c82c",
"ShoppingCartId": "546f8906-e389-4478-a437-0aa107785eaa",
"InvoiceId": "1b6260f1-b0a6-4c02-b8d5-b3544269d91a",
"InvoiceDetailId": "5426eaa1-bdb2-4216-80fc-2862ebb3ecbd",
"ContactId": "5a4ac3a4-5485-487a-ba39-eb76f7061433",
"ProductId": "ec837094-18ce-47b4-a30f-cb167cc77a5c",
"RateId": "7e0bd0cd-b50e-4eb0-bde2-d5e39ab51858",
"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:27:17.5593672+00:00",
"ParentId": "dcb3ebbc-4125-452f-89e1-37facdbae6b2"
}
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>5a4ac3a4-5485-487a-ba39-eb76f7061433</ContactId> <CycleStartDate>2026-09-19T09:27:17.5593672+00:00</CycleStartDate> <DetailType>sample string 9</DetailType> <Id>3b734814-563b-4013-a32d-051a1ac5c82c</Id> <InvoiceDetailId>5426eaa1-bdb2-4216-80fc-2862ebb3ecbd</InvoiceDetailId> <InvoiceId>1b6260f1-b0a6-4c02-b8d5-b3544269d91a</InvoiceId> <Module>Products</Module> <Name>sample string 10</Name> <ParentId>dcb3ebbc-4125-452f-89e1-37facdbae6b2</ParentId> <Price>12</Price> <ProductCode>sample string 8</ProductCode> <ProductId>ec837094-18ce-47b4-a30f-cb167cc77a5c</ProductId> <PromoCode>sample string 13</PromoCode> <Qty>11</Qty> <RateId>7e0bd0cd-b50e-4eb0-bde2-d5e39ab51858</RateId> <ShoppingCartId>546f8906-e389-4478-a437-0aa107785eaa</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": "ef800741-fcd1-407e-8249-758fa30d5b53",
"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>ef800741-fcd1-407e-8249-758fa30d5b53</Id> <Status>Success</Status> </APIResponse>