PUT v1/ProductSelectionProducts
Update an existing Product from a Product selection.
Request Information
URI Parameters
None.
Body Parameters
ProductSelectionProductChanges| Name | Description | Type | Additional information |
|---|---|---|---|
| VATTariffId |
Gets or sets the VAT tariff identifier. |
integer |
Required |
| ProductSelectionId |
Gets or sets the product selection identifier. |
integer |
Required |
| PriceExVAT |
Gets or sets the price (exclude VAT). |
decimal number |
Required |
| SpecialPriceExVAT |
Gets or sets the special price (exclude VAT). |
decimal number |
None. |
| ExchangeRate |
Gets or sets the exchange rate. |
decimal number |
Required |
| DisableRecalculate |
Gets or sets a value indicating whether the recalculation is disabled. |
boolean |
Required |
| Id |
Gets or sets the identifier. |
integer |
Required |
| Active |
Gets or sets a value indicating whether this <see cref="T:ShopCtrl.API.Models.ProductSelectionProductBasicInfo" /> is active. |
boolean |
Required |
| ProductId |
Gets or sets the product identifier. |
integer |
Required |
| ProductCode |
Gets or sets the product code. |
string |
None. |
| ForeignPriceExVAT |
Gets or sets the foreign price (exclude VAT). |
decimal number |
Required |
| ForeignPriceIncVAT |
Gets or sets the foreign price (include VAT). |
decimal number |
Required |
| QtyAvailable |
Gets or sets the qty available. |
decimal number |
Required |
| QtyOnHand |
Gets or sets the qty on hand. |
decimal number |
Required |
| QtyReserved |
Gets or sets the qty reserved. |
decimal number |
Required |
Request Formats
application/json, text/json
{
"VATTariffId": 1,
"ProductSelectionId": 2,
"PriceExVAT": 1.0,
"SpecialPriceExVAT": 1.0,
"ExchangeRate": 1.0,
"DisableRecalculate": true,
"Id": 4,
"Active": true,
"ProductId": 6,
"ProductCode": "sample string 7",
"ForeignPriceExVAT": 1.0,
"ForeignPriceIncVAT": 1.0,
"QtyAvailable": 8.0,
"QtyOnHand": 9.0,
"QtyReserved": 10.0
}
application/xml
Sample not available.
text/xml
Sample not available.
Response Information
Resource Description
HttpResponseMessage| Name | 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. |