Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

Use this method to mark a single Invoice as not synchronized.

Request

URL: 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 Request

{
  "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 Response

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

Related Articles



  • No labels