Overview

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

Request

https://api.kometsales.com/api/invoice.mark.sync.status.error

  • 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.
  • message (required) (string:50): the error message information that the transaction failed.
  • unconfirm (optional) (boolean: 1 or 0): default 1. If it's 1, the status of the order will be that in which the order was before the synchronization occurred.


Sample
{
  "authenticationToken": "token_info_goes_here",
  "invoiceId": 240989
  "message": "Test Error".
}

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"
}