Versions Compared

Key

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

Anchor
isMissingRequiredParameterstrue

Excerpt

Use this method to add an item from the Future Inventory to an existing Prebook on Komet Sales.

Tip

Valid Tokens: Company.

Info

Invoices created through this method are subject to a transaction fee. Internal company transactions are generally exempt from this transaction fee.


Filter by label (Content by label)
showLabelsfalse
max5
sorttitle
titleRelated Articles
cqllabel in ( "editing-prebooks" , "future-sales" , "add-prebooks" , "future-inventory" , "company-token" , "prebooks" )
labelsadd-prebooks editing-prebooks future-sales future-inventory

Request


URL: https://api.kometsales.com/api/prebook.future.item.add

Method: POST

Content-Type: application/JSON


Input Parameters

authenticationToken (required)(string:50)

Komet Sales security token.


prebookId (required)(integer:20)

Komet Sales internal Prebook ID.

You can get this value from the prebook.create API method.


inventoryId (required)(integer:20)

Komet Sales internal Future Inventory Item ID.

You can get this value from the future.inventory.openmarket.list API method.


boxes (required)(integer:10)

Number of boxes.


price (required)(decimal:10,2)

Unit price.


markCode (optional)(string:20)

Item mark code.

Back to top


Code Block
{
  "authenticationToken": "token_info_goes_here",
  "prebookId": 85063,
  "inventoryId": 9999999,   
  "boxes": 5, 
  "price": 2.50,
  "markCode": "text for mark code"
}

Response


status (integer:1)

Transaction status.

Valid values: 1 = Success | 0 = Failure


message (string:500)

Transaction status description.

Back to top


Code Block
{
  "status": "1",
  "message": "success"
 }
We've encountered an issue exporting this macro. Please try exporting this page again later.