Overview

This method allows you to update the price of an existing purchase order item in Komet Sales. This is mostly used for future inventory pricing. 

Request

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): ID of the Komet Sales purchase order item. This value can be obtained from the future.inventory.openmarket.list API method.
  • price (required)(decimal 10,3): The unit price that you want to set to the line of the purchase order. 

 

Sample 1
{
  "authenticationToken": "token_info_goes_here",
  "purchaseOrderItemId": 85063,
  "price": 0.4
}

Response

Output:

  • status (integer:1): transaction status. 1 for success or 0 for failure.
  • message (string:500): description of the status of the transaction.

Sample 1
{
  "status": "1",
  "message": "ok"
}