Add a Future Inventory Item to a Prebook

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


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