Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Anchor
topofpage
topofpage

Excerpt

Use this method to add a product to a seasonal price list.

Tip

Valid Tokens: Company.

Table of Contents

Table of Contents
minLevel1
maxLevel1
absoluteUrltrue
excludeTable 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. 

Back to top

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


Back to top

Code Block
{  
   "message":"Success.",
   "status":1,
}

Filter by label (Content by label)
showLabelsfalse
max5
titleRelated Articles
cqllabel in ( "company-token" , "vendor-token" , "customer-token" )
We've encountered an issue exporting this macro. Please try exporting this page again later.