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": "cf0eb11d-79c8-40cc-8fb0-6f4d67c6d203",
"ShoppingCartId": "6b471b98-8f8d-4c87-9c75-7935c0b68874",
"InvoiceId": "07a195c6-dc1a-4229-a6f1-2f5886c81fb6",
"InvoiceDetailId": "751f39b2-b61a-49a5-9117-bde9411d435d",
"ContactId": "266ce2fd-0d02-4f6c-833a-65485b400193",
"ProductId": "209ae27e-0e7c-41e0-9998-d2a04bf19629",
"RateId": "a813c926-604b-496a-9ae2-594982ed5955",
"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-08-04T22:14:42.6362402+00:00",
"ParentId": "f5b6ef98-c187-45b1-a612-4908835bf514"
}
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>266ce2fd-0d02-4f6c-833a-65485b400193</ContactId> <CycleStartDate>2026-08-04T22:14:42.6362402+00:00</CycleStartDate> <DetailType>sample string 9</DetailType> <Id>cf0eb11d-79c8-40cc-8fb0-6f4d67c6d203</Id> <InvoiceDetailId>751f39b2-b61a-49a5-9117-bde9411d435d</InvoiceDetailId> <InvoiceId>07a195c6-dc1a-4229-a6f1-2f5886c81fb6</InvoiceId> <Module>Products</Module> <Name>sample string 10</Name> <ParentId>f5b6ef98-c187-45b1-a612-4908835bf514</ParentId> <Price>12</Price> <ProductCode>sample string 8</ProductCode> <ProductId>209ae27e-0e7c-41e0-9998-d2a04bf19629</ProductId> <PromoCode>sample string 13</PromoCode> <Qty>11</Qty> <RateId>a813c926-604b-496a-9ae2-594982ed5955</RateId> <ShoppingCartId>6b471b98-8f8d-4c87-9c75-7935c0b68874</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": "ebb22af2-3cbc-4bfd-a64f-325dd5886c15",
"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>ebb22af2-3cbc-4bfd-a64f-325dd5886c15</Id> <Status>Success</Status> </APIResponse>