Versions Compared

Key

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

Overview

excerpt

This method allows you to add an item from the future inventory to an existing Prebook on Komet Sales.

The orders created with this method will be
Warning
titleImportant
Info

Orders created through this method are subject to a transaction fee of 1.5%.

Request

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

Method: POST

Content-Type: application/

json

JSON

Input Parameters

:

  • authenticationToken (required)(string:50): Komet Sales security token.

  • prebookId (required)(integer:20): the Komet Sales internal prebook ID

    that

    you want to update. You can obtain this value from the prebook.create API method.

  • inventoryId (required)(integer:20): ID of the Komet Sales internal future inventory item. This field is required.

    This value can be obtained

    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.

Elite soft json viewer
width100%
languagejs
themeConfluence
titleSample 1

Sample Request

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

Response

Output

:

width100%languagejsthemeConfluencetitle
  • status (integer:1): transaction status. 1 for success or 0 for failure.

  • message (string:500): description of the status of the transaction.


Elite soft json viewer

Sample

1

Response

100%
height
Code Block
{
  "status": "1",
  "message": "success"
 }
Panel
titleRelated Articles
Filter by label (Content by label)
showLabelsfalse
max10
showSpacefalse
sorttitle
cqllabel in ( "editing-prebooks" , "future-sales" , "add-prebooks" , "future-inventory" )
labelsadd-prebooks editing-prebooks future-sales future-inventory