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.
|
Filter by label (Content by label) | ||||||||
---|---|---|---|---|---|---|---|---|
|
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" } |