Update an Item’s Reference Number

Use this method to update a Purchase Order line reference number.

Valid Tokens: Company.


Related Articles

Request


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

Method: POST

Content-Type: application/JSON


Input Parameters

authenticationToken (required)(string:50)

Komet Sales security token.


purchaseOrderItemId (required)(integer:20)

Komet Sales internal Purchase Order Item ID. 

You can get this value from the purchase.order.list API method.


reference (required)(string:20)

Reference number. 


{ "authenticationToken": "token_info_goes_here", "purchaseOrderItemId": 23423, "reference": "PA034534" }

Response


status (integer:1)

Transaction status.

Valid values: 1 = Success | 0 = Failure


message (string:500)

Transaction status description.


{ "status": "1", "message": "success" }
Peacock