Use this method to add an item from the Future Inventory to an existing Prebook on Komet Sales.
|
Invoices created through this method are subject to a transaction fee. Internal company transactions are generally exempt from this transaction fee. |
URL: https://api.kometsales.com/api/prebook.future.item.add
Method: POST
Content-Type: application/JSON
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.
{ "authenticationToken": "token_info_goes_here", "prebookId": 85063, "inventoryId": 9999999, "boxes": 5, "price": 2.50, "markCode": "text for mark code" } |
status (integer:1)
Transaction status.
Valid values: 1 = Success | 0 = Failure
message (string:500)
Transaction status description.
{ "status": "1", "message": "success" } |