Versions Compared

Key

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

Use this method to update the price of an existing purchase order item in Komet Sales. This is mostly used for Future Inventory pricing.

Tip

Valid Tokens: Company.

Filter by label (Content by label)
showLabelsfalse
max5
titleRelated Articles
cqllabel in ( "purchase-future-sales" , "future-sales" , "purchase-orders" , "purchase-order-management" )

Request


URL: https://api.kometsales.com/api/purchase.order.item.price.update

Method: POST

Content-Type: application/JSON


Input Parameters

authenticationToken (required)(string:20)

Komet Sales security token.


purchaseOrderItemId (required)(number:20)

Komet Sales internal Purchase Order Item ID.

You can get this value from the future.inventory.openmarket.list API method.


price (required)(decimal 10,3)

The unit price that you want to set to the Purchase Order line.


Code Block
{
  "authenticationToken": "token_info_goes_here",
  "purchaseOrderItemId": 85063,
  "price": 0.4
}

Response


status (integer:1)

Transaction status.

Valid values: 1 = Success | 0 = Failure


message (string:500)

Transaction status description.


Code Block
{
  "status": "1",
  "message": "ok"
}
We've encountered an issue exporting this macro. Please try exporting this page again later.