PUT api/ShoppingCartDetail/{Id}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | globally unique identifier |
Required |
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": "69203355-ff8b-4b81-9338-c9ad3eeda41c",
"ShoppingCartId": "4948a598-a35f-4c1b-8f7d-43b8590df44f",
"InvoiceId": "f6c86908-3a33-4364-8ce1-608a795c3ac8",
"InvoiceDetailId": "5b9c722e-048a-47f0-945a-e3ed1f0b7e23",
"ContactId": "f82aefa3-9e73-43bb-842c-2bc3d0ea857a",
"ProductId": "4aa4d8f3-4e08-49da-868b-6cea0fa4ad0f",
"RateId": "00d15f70-ff0b-497c-9132-5dbd6c0d854c",
"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:44.5309892+00:00",
"ParentId": "e3618a6c-54fc-401a-9d70-ac83f9fdb439"
}
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>f82aefa3-9e73-43bb-842c-2bc3d0ea857a</ContactId> <CycleStartDate>2026-03-21T21:58:44.5309892+00:00</CycleStartDate> <DetailType>sample string 9</DetailType> <Id>69203355-ff8b-4b81-9338-c9ad3eeda41c</Id> <InvoiceDetailId>5b9c722e-048a-47f0-945a-e3ed1f0b7e23</InvoiceDetailId> <InvoiceId>f6c86908-3a33-4364-8ce1-608a795c3ac8</InvoiceId> <Module>Products</Module> <Name>sample string 10</Name> <ParentId>e3618a6c-54fc-401a-9d70-ac83f9fdb439</ParentId> <Price>12</Price> <ProductCode>sample string 8</ProductCode> <ProductId>4aa4d8f3-4e08-49da-868b-6cea0fa4ad0f</ProductId> <PromoCode>sample string 13</PromoCode> <Qty>11</Qty> <RateId>00d15f70-ff0b-497c-9132-5dbd6c0d854c</RateId> <ShoppingCartId>4948a598-a35f-4c1b-8f7d-43b8590df44f</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": "df122d9b-9055-4dbb-ac92-39c2a4ad4435",
"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>df122d9b-9055-4dbb-ac92-39c2a4ad4435</Id> <Status>Success</Status> </APIResponse>