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

Valid Tokens: Company.

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


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 /wiki/spaces/APIDocs/pages/11175582 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


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


{
  "status": "1",
  "message": "success"
 }
defaultcom.atlassian.ecosystemfc909b09-b512-4c31-a844-dd855b0e6aae/db1c8759-c7e5-4e80-9022-d19e47b0e2b0/static/macroPeacock601264b7-c743-49a7-8990-c34cb2f7c8d7ari:cloud:ecosystem::extension/fc909b09-b512-4c31-a844-dd855b0e6aae/db1c8759-c7e5-4e80-9022-d19e47b0e2b0/static/macroPeacockade8d539-1802-4562-9e0b-cbc00266bea7defaultcom.atlassian.ecosystemfc909b09-b512-4c31-a844-dd855b0e6aae/db1c8759-c7e5-4e80-9022-d19e47b0e2b0/static/macroPeacock601264b7-c743-49a7-8990-c34cb2f7c8d7ari:cloud:ecosystem::extension/fc909b09-b512-4c31-a844-dd855b0e6aae/db1c8759-c7e5-4e80-9022-d19e47b0e2b0/static/macroPeacockade8d539-1802-4562-9e0b-cbc00266bea7