Excerpt | ||
---|---|---|
Use this method to mark a single Invoice as successfully synchronized with an external system.
|
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.
Filter by label (Content by label) | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
|
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.
Code Block |
---|
{ "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.
Code Block |
---|
{ "status": "1", "message": "OK" } |
...