Versions Compared

Key

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

Anchor
topofpage
topofpage

Excerpt

Use this method to update a seasonal product’s information.

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.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".

Back to top

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

Back to top

Code Block
{  
   "message":"OK",
   "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.