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": "3de0a566-b2bb-4cb1-a929-1f7b049044ca",
"ShoppingCartId": "0081f34e-be66-4754-a5ac-8b370f2da279",
"InvoiceId": "1e35588a-739b-410c-83de-8691e429521b",
"InvoiceDetailId": "f6dfa6d8-6627-4e0f-b151-ddb7c0c0256b",
"ContactId": "79722030-d65c-45f2-b533-63abdf2dc298",
"ProductId": "68f2a03f-24a2-4e78-902a-ea25de4c686f",
"RateId": "cbe24450-7f8a-4eb4-8f7d-90b77ddd2b9a",
"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-02-04T02:54:59.012314+00:00",
"ParentId": "bb4a976c-dde2-4be5-88ef-194deb8aa49b"
}
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>79722030-d65c-45f2-b533-63abdf2dc298</ContactId> <CycleStartDate>2026-02-04T02:54:59.012314+00:00</CycleStartDate> <DetailType>sample string 9</DetailType> <Id>3de0a566-b2bb-4cb1-a929-1f7b049044ca</Id> <InvoiceDetailId>f6dfa6d8-6627-4e0f-b151-ddb7c0c0256b</InvoiceDetailId> <InvoiceId>1e35588a-739b-410c-83de-8691e429521b</InvoiceId> <Module>Products</Module> <Name>sample string 10</Name> <ParentId>bb4a976c-dde2-4be5-88ef-194deb8aa49b</ParentId> <Price>12</Price> <ProductCode>sample string 8</ProductCode> <ProductId>68f2a03f-24a2-4e78-902a-ea25de4c686f</ProductId> <PromoCode>sample string 13</PromoCode> <Qty>11</Qty> <RateId>cbe24450-7f8a-4eb4-8f7d-90b77ddd2b9a</RateId> <ShoppingCartId>0081f34e-be66-4754-a5ac-8b370f2da279</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": "ec36b4d3-0a83-4f90-9981-7a62ea7e36b8",
"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>ec36b4d3-0a83-4f90-9981-7a62ea7e36b8</Id> <Status>Success</Status> </APIResponse>