PUT api/ShoppingCartDetail/{Id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
Id

globally unique identifier

Required

Body Parameters

ShoppingCartDetail
NameDescriptionTypeAdditional 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": "2f62368c-07cf-4484-9e9c-2230e1dcef32",
  "ShoppingCartId": "8d3e64f5-a8a4-4a4d-b710-36988fc1d89d",
  "InvoiceId": "2b16df30-7a97-405a-9c6a-0d2ced8fddff",
  "InvoiceDetailId": "0b4e4abe-ec29-4772-8a7b-af48a85c2ac0",
  "ContactId": "a1da91d4-5b22-45e0-9b57-dc2d049cd063",
  "ProductId": "15d36bb0-68a9-4492-85b9-c75f128060db",
  "RateId": "67101357-cedb-474b-88e6-e45cfe866054",
  "ProductCode": "sample string 8",
  "Module": 0,
  "DetailType": "sample string 9",
  "Name": "sample string 10",
  "Qty": 11,
  "Price": 12.0,
  "PromoCode": "sample string 13",
  "CycleStartDate": "2025-08-31T05:48:04.6265501+00:00",
  "ParentId": "98400835-5b2e-4303-9807-ec6ac48c8a1a"
}

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>a1da91d4-5b22-45e0-9b57-dc2d049cd063</ContactId>
  <CycleStartDate>2025-08-31T05:48:04.6265501+00:00</CycleStartDate>
  <DetailType>sample string 9</DetailType>
  <Id>2f62368c-07cf-4484-9e9c-2230e1dcef32</Id>
  <InvoiceDetailId>0b4e4abe-ec29-4772-8a7b-af48a85c2ac0</InvoiceDetailId>
  <InvoiceId>2b16df30-7a97-405a-9c6a-0d2ced8fddff</InvoiceId>
  <Module>Products</Module>
  <Name>sample string 10</Name>
  <ParentId>98400835-5b2e-4303-9807-ec6ac48c8a1a</ParentId>
  <Price>12</Price>
  <ProductCode>sample string 8</ProductCode>
  <ProductId>15d36bb0-68a9-4492-85b9-c75f128060db</ProductId>
  <PromoCode>sample string 13</PromoCode>
  <Qty>11</Qty>
  <RateId>67101357-cedb-474b-88e6-e45cfe866054</RateId>
  <ShoppingCartId>8d3e64f5-a8a4-4a4d-b710-36988fc1d89d</ShoppingCartId>
</ShoppingCartDetail>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

APIResponse
NameDescriptionTypeAdditional information
Status

Status

None.

Id

globally unique identifier

None.

Description

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Status": 0,
  "Id": "08af2bac-969a-4205-9c8b-c9e500ba7753",
  "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>08af2bac-969a-4205-9c8b-c9e500ba7753</Id>
  <Status>Success</Status>
</APIResponse>