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": "f1cd777a-0fcb-4ca7-a782-962d4bc8f040",
"ShoppingCartId": "b449a865-0a6f-4ad4-9ae5-ddbd1e8cc170",
"InvoiceId": "92b7293d-770d-45cc-9b58-d551dffccf2a",
"InvoiceDetailId": "2406a297-0dd2-486e-a0d5-8571ec63a46b",
"ContactId": "2c4a93ea-faff-472c-a7ed-f17c6de008a5",
"ProductId": "d475ffae-3426-4839-b015-fb1b9b302216",
"RateId": "479df531-e215-49ff-9a1b-85c5f8d31425",
"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-11-03T19:55:41.597948+00:00",
"ParentId": "df8cbe81-614b-4394-b918-188d13b9a918"
}
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>2c4a93ea-faff-472c-a7ed-f17c6de008a5</ContactId> <CycleStartDate>2026-11-03T19:55:41.597948+00:00</CycleStartDate> <DetailType>sample string 9</DetailType> <Id>f1cd777a-0fcb-4ca7-a782-962d4bc8f040</Id> <InvoiceDetailId>2406a297-0dd2-486e-a0d5-8571ec63a46b</InvoiceDetailId> <InvoiceId>92b7293d-770d-45cc-9b58-d551dffccf2a</InvoiceId> <Module>Products</Module> <Name>sample string 10</Name> <ParentId>df8cbe81-614b-4394-b918-188d13b9a918</ParentId> <Price>12</Price> <ProductCode>sample string 8</ProductCode> <ProductId>d475ffae-3426-4839-b015-fb1b9b302216</ProductId> <PromoCode>sample string 13</PromoCode> <Qty>11</Qty> <RateId>479df531-e215-49ff-9a1b-85c5f8d31425</RateId> <ShoppingCartId>b449a865-0a6f-4ad4-9ae5-ddbd1e8cc170</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": "c6a22068-94af-4ccc-b46c-b222f34177fb",
"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>c6a22068-94af-4ccc-b46c-b222f34177fb</Id> <Status>Success</Status> </APIResponse>