Anchor | ||
---|---|---|
|
Excerpt | ||
---|---|---|
Use this method to add an item from the Future Inventory to an existing Prebook on Komet Sales.
|
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) | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
|
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.
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.
Code Block |
---|
{ "status": "1", "message": "success" } |