Update an Order's Document Status

Use this method to update an order’s status. You can update the status of printed labels or BOLs.

Valid Tokens: Company

You can review the updated orders in the Shipping > Order Summary screen.

Table of Contents


Request


URL: https://api.kometsales.com/api/invoice/print-status/update

Method: POST

Content-Type: application/JSON


Input Parameters

authenticationToken (required)(string)

Komet Sales security token.


orderIds (required)(integer)

Order ID. You can add multiple orders by separating each ID with a comma.


printType (required)(boolean)

The type of label or document printed.

Valid values: 0 = Box Label | 1 = BOL


{ "authenticationToken": "token_info_goes_here", "orderIds": "454899,998567", "printType": "0" }

Back to top

Response


message (string:500)

Transaction status description.


status (integer:1)

Transaction status. 1 = Success | 0 = Failure


{ "status": "1", "message": "The invoices with id 454899,998567 were updated successfully.", }

Back to top