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": "29fe8867-0836-4416-ba08-70d514dae6b4",
"ShoppingCartId": "1094a875-38f1-4e27-9df4-9480de511328",
"InvoiceId": "0f2ba940-5bf0-41ea-8de4-53069f0c4ac5",
"InvoiceDetailId": "d4197a41-7784-4911-8586-1dd3b414e461",
"ContactId": "a3281cb4-e298-426d-acf7-fa6a11cf5212",
"ProductId": "e40068dd-d6bc-475c-8cf3-4bd42da67a80",
"RateId": "1ac9eb8a-64fc-4c0a-ac0a-a7b533b8899d",
"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-11-03T19:56:02.4423609+00:00",
"ParentId": "e516c3b0-7364-4fab-aa0e-ced7aa1e334f"
}
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>a3281cb4-e298-426d-acf7-fa6a11cf5212</ContactId> <CycleStartDate>2026-11-03T19:56:02.4423609+00:00</CycleStartDate> <DetailType>sample string 9</DetailType> <Id>29fe8867-0836-4416-ba08-70d514dae6b4</Id> <InvoiceDetailId>d4197a41-7784-4911-8586-1dd3b414e461</InvoiceDetailId> <InvoiceId>0f2ba940-5bf0-41ea-8de4-53069f0c4ac5</InvoiceId> <Module>Products</Module> <Name>sample string 10</Name> <ParentId>e516c3b0-7364-4fab-aa0e-ced7aa1e334f</ParentId> <Price>12</Price> <ProductCode>sample string 8</ProductCode> <ProductId>e40068dd-d6bc-475c-8cf3-4bd42da67a80</ProductId> <PromoCode>sample string 13</PromoCode> <Qty>11</Qty> <RateId>1ac9eb8a-64fc-4c0a-ac0a-a7b533b8899d</RateId> <ShoppingCartId>1094a875-38f1-4e27-9df4-9480de511328</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": "5ae3807f-508e-481b-af68-e26c18485cd6",
"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>5ae3807f-508e-481b-af68-e26c18485cd6</Id> <Status>Success</Status> </APIResponse>