Anchor | ||||
---|---|---|---|---|
|
Excerpt | ||
---|---|---|
Use this method to add a product to a seasonal price list.
|
Table of Contents
Table of Contents | ||||||||
---|---|---|---|---|---|---|---|---|
|
Request
URL: https://api.kometsales.com/api/v2/price-list/season/product.add
Method: POST
Content-Type: application/JSON
Header
authenticationToken (required)(string:50)
Komet Sales security token.
Input Parameters
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"
You can get this value from the boxtype.list API method.
boxTypeCode (optional)(integer:20)
Box type code.
If this field is empty, the line will be processed as "for All BoxType"
You can get this value from the boxtype.list API method.
vendorId (optional)(integer:20)
Vendor ID.
If this field is empty, the line will be processed as "for All Vendor"
You can get this value from the vendor.list API method.
Code Block |
---|
[ { "priceListId":"1358", "companyProductId":"174", "seasonId":"14", "price":"2.59", "cost":"1.76", "boxTypeId":"13", "boxTypeCode":"13", "vendorId":"002", }, ... {} ] |
Response
message (string:500)
Transaction status description.
status (integer:1)
Transaction status. 1 = Success | 0 = Failure
Code Block |
---|
{ "message":"Success.", "status":1, } |
Filter by label (Content by label) | ||||||||
---|---|---|---|---|---|---|---|---|
|