Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Excerpt

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

Tip

Valid Tokens: Company.


Filter by label (Content by label)
showLabelsfalse
max5
sorttitle
titleRelated Articles
cqllabel in ( "invoice" , "integrations" , "order" , "invoice-creation" , "invoice-editing" )
labelsinvoice invoice-creation order invoice-editing integrations

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)

:

Komet Sales Invoice ID

from Komet Sales. In order to

.

You can get the Invoice ID

, please use API

method.


message (required)

 

(string:50)

: the error message information that the transaction failed

Message describing the transaction reason.


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

Return the Invoice to it’s previous status.

Valid values: 1 = Yes | 0 = No

Default is one.


Code Block
{
  "authenticationToken": "token_info_goes_here",
  "invoiceId": 240989,
  "message": "Test Error"
}

Response

Output


status (integer:1)

: transaction

Transaction status.

1 for success or 0 for failure.

Valid values: 1 = Success | 0 = Failure


message (string:500)

: description of the status of the transaction.Sample Response

Transaction status description.


Code Block
 {
    "status": "1",
    "message": "OK"
}
Filter by label (Content by label)showLabelsfalsemax5sorttitletitleRelated Articlescqllabel in ( "invoice" , "integrations" , "order" , "invoice-creation" , "invoice-editing" )labelsinvoice invoice-creation order invoice-editing integrations
We've encountered an issue exporting this macro. Please try exporting this page again later.