Mark an Invoice as Synchronized

Use this method to mark a single Invoice as successfully synchronized with an external system. 

Valid Tokens: Company.

Once an order is synchronized, the system will restrict all users from performing any change on it. The next message will appear on the Order Summary screen. If you want to make the order editable, you must mark it as not synchronized through the API method Invoice.mark.sync.status.error.


Related Articles



Request


URL: https://api.kometsales.com/api/invoice.mark.sync.status.ok

Method: POST

Content-Type: application/JSON


Input Parameters

authenticationToken (required)(string:50)

Komet Sales security token.


invoiceId (required)(integer:10)

Invoice ID from Komet Sales.

You can get the Invoice ID through the invoice.details.list method.


invoiceNumber (optional)(integer:10)

Invoice number from Komet Sales.


{ "authenticationToken": "token_info_goes_here", "invoiceId": 240989 }

Response


status (integer:1)

Transaction status.

Valid values: 1 = Success | 0 = Failure


message (string:500)

Transaction status description.


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