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": "dc030683-a25b-42ea-bc2a-de61cd00edf5",
"ShoppingCartId": "ee1efdf9-134b-46eb-ba32-7336f3b4faba",
"InvoiceId": "47412781-22f6-4bf1-9996-7f0229f12b36",
"InvoiceDetailId": "f568e669-bf78-4a6d-be68-f25b1eadc7ee",
"ContactId": "1189daa9-174f-4992-ab3c-36dc2e35ff42",
"ProductId": "8c212fb5-1552-476c-9e6a-d8925c4c0e76",
"RateId": "e6dcd929-2613-4b9e-a405-af357be6df2f",
"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:04:11.3055175+00:00",
"ParentId": "78919701-b3e7-4aab-87be-dff1969b2d44"
}
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>1189daa9-174f-4992-ab3c-36dc2e35ff42</ContactId> <CycleStartDate>2026-05-06T12:04:11.3055175+00:00</CycleStartDate> <DetailType>sample string 9</DetailType> <Id>dc030683-a25b-42ea-bc2a-de61cd00edf5</Id> <InvoiceDetailId>f568e669-bf78-4a6d-be68-f25b1eadc7ee</InvoiceDetailId> <InvoiceId>47412781-22f6-4bf1-9996-7f0229f12b36</InvoiceId> <Module>Products</Module> <Name>sample string 10</Name> <ParentId>78919701-b3e7-4aab-87be-dff1969b2d44</ParentId> <Price>12</Price> <ProductCode>sample string 8</ProductCode> <ProductId>8c212fb5-1552-476c-9e6a-d8925c4c0e76</ProductId> <PromoCode>sample string 13</PromoCode> <Qty>11</Qty> <RateId>e6dcd929-2613-4b9e-a405-af357be6df2f</RateId> <ShoppingCartId>ee1efdf9-134b-46eb-ba32-7336f3b4faba</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": "821c9b95-539d-4936-80d3-4fd97780a920",
"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>821c9b95-539d-4936-80d3-4fd97780a920</Id> <Status>Success</Status> </APIResponse>