Confirm products from a Purchase Order

Use this method to set the number of confirmed boxes for a Purchase Order line.

Valid Tokens: Company.


Related Articles

Request


URL: https://api.kometsales.com/api/purchase.order.item.confirm

Method: POST

Content-Type: application/JSON


Input Parameters

authenticationToken (required)(string:50)

Komet Sales security token.


poItemId (required)(integer:20)

Komet Sales internal Order Line ID.

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


quantityConfirmed (required)(integer:5)

Number of boxes to confirm.


{ "authenticationToken": "token_info_goes_here", "poItemId": 265119, "quantityConfirmed": 7 }

Response


status (integer:1)

Transaction status.

Valid values: 1 = Success | 0 = Failure


message (string:500)

Transaction status description.


Unable to confirm an item

Purchase Order items coming from the VA Inventory purchased through the E-Commerce cannot be confirmed until the final customer has checked out the order. In those cases the following message will appear:


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