Overview

This method allows you to mark a single invoice as successfully synchronized. 

Request

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. In order to get the ID, please use the invoice.details.list API method.

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

Response

Output:

  • status (integer:1): transaction status. 1 for success or 0 for failure.
  • message (string:500): description of the status of the transaction.

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

Important

Once an order is synchronized, the system will restrict all users of 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 throught the API method invoice.mark.sync.status.error.