PUT api/ShoppingCartItems
Request Information
URI Parameters
None.
Body Parameters
NewShoppingCartItemName | Description | Type | Additional information |
---|---|---|---|
Quantity | integer |
None. |
|
Price | decimal number |
None. |
|
WebProductId | string |
None. |
|
InvoiceId | string |
None. |
|
AccountId | string |
None. |
|
EventPricingId | string |
None. |
|
SelectedMealOption | string |
None. |
|
PortalId | string |
None. |
|
AttendeeId | string |
None. |
|
GuestFirstName | string |
None. |
|
GuestLastName | string |
None. |
|
RequiredParentEventWebProductId | string |
None. |
|
ChargeTaxes | boolean |
None. |
|
ChargeShipping | boolean |
None. |
|
AccountingCompanyId | string |
None. |
|
DonationFrequency | string |
None. |
|
RecurringBilling | boolean |
None. |
|
WebProductAnswers | Collection of WebProductAnswer |
None. |
Request Formats
application/json, text/json
Sample:
{ "Quantity": 1, "Price": 2.0, "WebProductId": "sample string 3", "InvoiceId": "sample string 4", "AccountId": "sample string 5", "EventPricingId": "sample string 6", "SelectedMealOption": "sample string 7", "PortalId": "sample string 8", "AttendeeId": "sample string 9", "GuestFirstName": "sample string 10", "GuestLastName": "sample string 11", "RequiredParentEventWebProductId": "sample string 12", "ChargeTaxes": true, "ChargeShipping": true, "AccountingCompanyId": "sample string 15", "DonationFrequency": "sample string 16", "RecurringBilling": true, "WebProductAnswers": [ { "Question": "sample string 1", "Answer": "sample string 2" }, { "Question": "sample string 1", "Answer": "sample string 2" } ] }
application/xml, text/xml
Sample:
<NewShoppingCartItem xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AltaiStandard.Core.Models"> <AccountId>sample string 5</AccountId> <AccountingCompanyId>sample string 15</AccountingCompanyId> <AttendeeId>sample string 9</AttendeeId> <ChargeShipping>true</ChargeShipping> <ChargeTaxes>true</ChargeTaxes> <DonationFrequency>sample string 16</DonationFrequency> <EventPricingId>sample string 6</EventPricingId> <GuestFirstName>sample string 10</GuestFirstName> <GuestLastName>sample string 11</GuestLastName> <InvoiceId>sample string 4</InvoiceId> <PortalId>sample string 8</PortalId> <Price>2</Price> <Quantity>1</Quantity> <RecurringBilling>true</RecurringBilling> <RequiredParentEventWebProductId>sample string 12</RequiredParentEventWebProductId> <SelectedMealOption>sample string 7</SelectedMealOption> <WebProductAnswers> <WebProductAnswer> <Answer>sample string 2</Answer> <Question>sample string 1</Question> </WebProductAnswer> <WebProductAnswer> <Answer>sample string 2</Answer> <Question>sample string 1</Question> </WebProductAnswer> </WebProductAnswers> <WebProductId>sample string 3</WebProductId> </NewShoppingCartItem>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessageName | Description | Type | Additional information |
---|---|---|---|
Version | Version |
None. |
|
Content | HttpContent |
None. |
|
StatusCode | HttpStatusCode |
None. |
|
ReasonPhrase | string |
None. |
|
Headers | Collection of Object |
None. |
|
RequestMessage | HttpRequestMessage |
None. |
|
IsSuccessStatusCode | boolean |
None. |