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": "d39c178d-2e3a-400e-9123-b19a6efdf09b",
"ShoppingCartId": "17d2e1c6-6dbe-4a21-97f5-96bf9e595db4",
"InvoiceId": "02637ea0-a299-4133-9b79-98cb8c1c4a3b",
"InvoiceDetailId": "3f098322-2641-4eb9-80c1-82fea708f3eb",
"ContactId": "730931b6-d5a1-46e0-aff5-74b57ab11610",
"ProductId": "47891bd4-eb76-4548-b6b8-a01522816de0",
"RateId": "d544eec5-e82d-4db6-89eb-f5b1e4340af4",
"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:56:28.2742611+00:00",
"ParentId": "748db151-2620-4af0-8be1-129ba3d4c068"
}
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>730931b6-d5a1-46e0-aff5-74b57ab11610</ContactId> <CycleStartDate>2026-02-04T02:56:28.2742611+00:00</CycleStartDate> <DetailType>sample string 9</DetailType> <Id>d39c178d-2e3a-400e-9123-b19a6efdf09b</Id> <InvoiceDetailId>3f098322-2641-4eb9-80c1-82fea708f3eb</InvoiceDetailId> <InvoiceId>02637ea0-a299-4133-9b79-98cb8c1c4a3b</InvoiceId> <Module>Products</Module> <Name>sample string 10</Name> <ParentId>748db151-2620-4af0-8be1-129ba3d4c068</ParentId> <Price>12</Price> <ProductCode>sample string 8</ProductCode> <ProductId>47891bd4-eb76-4548-b6b8-a01522816de0</ProductId> <PromoCode>sample string 13</PromoCode> <Qty>11</Qty> <RateId>d544eec5-e82d-4db6-89eb-f5b1e4340af4</RateId> <ShoppingCartId>17d2e1c6-6dbe-4a21-97f5-96bf9e595db4</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": "44478355-c09b-4614-a619-5e9d11f33904",
"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>44478355-c09b-4614-a619-5e9d11f33904</Id> <Status>Success</Status> </APIResponse>