Anchor | ||||
---|---|---|---|---|
|
Excerpt | ||
---|---|---|
Use this method to update a seasonal product’s information.
|
Table of Contents
Table of Contents | ||||||||
---|---|---|---|---|---|---|---|---|
|
Request
URL: https://api.kometsales.com/api/v2/price-list/season/product.update
Method: PUT
Content-Type: application/JSON
Header
authenticationToken (required)(string:50)
Komet Sales security token.
Input Parameters
priceListSeasonProductId (required)(integer:20)
Internal Company Seasonal Product ID.
priceListId (required)(integer:20)
Price list ID.
companyProductId (required)(integer:20)
Internal Company Product ID.
seasonId (required)(integer:20)
Season ID.
price (required)(decimal:10,2)
Product price.
cost (optional)(decimal:10,2)
Product cost.
boxTypeId (optional)(integer:20)
Box type ID.
If this field is empty, the line will be processed as "for All BoxType".
boxTypeCode (optional)(integer:20)
Box type code.
If this field is empty, the line will be processed as "for All BoxType".
vendorId (optional)(integer:20)
Vendor ID.
If this field is empty, the line will be processed as "for All Vendor".
Code Block |
---|
{ "priceListSeasonProductId":"163", "priceListId":"1345", "companyProductId":"231", "seasonId":"14", "price":"2.90", "cost":"1.95", "boxTypeId":"1", "boxTypeCode":"23", "vendorId":"13" } |
Response
message (string:500)
Transaction status description.
status (integer:1)
Transaction status. 1 = Success | 0 = Failure
Code Block |
---|
{ "message":"OK", "status":1, } |
Filter by label (Content by label) | ||||||||
---|---|---|---|---|---|---|---|---|
|