Versions Compared

Key

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

Use this method to mark a single Invoice as successfully synchronized with an external system. 

Tip

Valid Tokens: Company.

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)
showLabelsfalse
max5
sorttitle
titleRelated Articles
cqllabel in ( "invoice" , "integrations" , "order" , "invoice-creation" , "invoice-editing" )
labelsintegrations invoice invoice-creation order invoice-editing


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

...