Versions Compared

Key

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

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

Tip

Valid Tokens: Company.


Filter by label (Content by label)
showLabelsfalse
max5
titleRelated Articles
cqllabel in ( "po" , "purchase-orders" , "purchase-order-create" )

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.


Code Block
{
 "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:

This product cannot be confirmed because the checkout process has not been completed by the final e-commerce customer. Please try again after 60 minutes.


Code Block
{
  "status": "1",
  "message": "OK"
 }

...