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": "c26058bd-4b39-4fea-98d1-c46d21f9ac78",
"ShoppingCartId": "a324433a-af68-4ad9-ba9d-b083260dc622",
"InvoiceId": "ed449374-a6e1-4e4f-9b51-6a95eccc6b60",
"InvoiceDetailId": "1fd4f198-889e-400d-9c37-ac33f22039fe",
"ContactId": "ba1164db-d280-4035-9d20-7215d76fcac8",
"ProductId": "15814f67-8a98-4b04-acd4-042501338796",
"RateId": "f8f3b1e2-e77d-4624-a655-96abc6a22be0",
"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-06-20T19:59:32.3620478+00:00",
"ParentId": "6f251ed2-be85-40df-a6a4-cc8429c02b74"
}
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>ba1164db-d280-4035-9d20-7215d76fcac8</ContactId> <CycleStartDate>2026-06-20T19:59:32.3620478+00:00</CycleStartDate> <DetailType>sample string 9</DetailType> <Id>c26058bd-4b39-4fea-98d1-c46d21f9ac78</Id> <InvoiceDetailId>1fd4f198-889e-400d-9c37-ac33f22039fe</InvoiceDetailId> <InvoiceId>ed449374-a6e1-4e4f-9b51-6a95eccc6b60</InvoiceId> <Module>Products</Module> <Name>sample string 10</Name> <ParentId>6f251ed2-be85-40df-a6a4-cc8429c02b74</ParentId> <Price>12</Price> <ProductCode>sample string 8</ProductCode> <ProductId>15814f67-8a98-4b04-acd4-042501338796</ProductId> <PromoCode>sample string 13</PromoCode> <Qty>11</Qty> <RateId>f8f3b1e2-e77d-4624-a655-96abc6a22be0</RateId> <ShoppingCartId>a324433a-af68-4ad9-ba9d-b083260dc622</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": "9a0d1bfd-992e-4784-accf-cac543edad71",
"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>9a0d1bfd-992e-4784-accf-cac543edad71</Id> <Status>Success</Status> </APIResponse>