This method allows you
invoice
authenticationToken :
: the invoice that you want to update obtain : ID of the This value can be obtained : 1 or 0): default 0. If it's 1, the response will include the number of boxes available.Sample Request
: transaction 1 for success or 0 for failure.
: description of the status of the transaction
: invoice
: invoice
: number of boxes that are available if returnAvailableBoxes is given.
Filter by label (Content by label) showLabels false max 5 sort title title Related Articles cql label in ( "invoice" , "order" , "invoice-creation" , "invoice-editing" ) labels invoice invoice-creation order invoice-editing
Excerpt |
---|
Use this method to delete an item from an existing |
Invoice on Komet Sales.
|
Filter by label (Content by label) | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
|
Request
URL: https://api.kometsales.com/api/invoice.item.delete
Method: POST
Content-Type: Application/JSON
Input Parameters
authenticationToken (required)(string:20)
Komet Sales security token.
invoiceId (required)(integer:20)
Komet Sales internal
Invoice ID
.
You can
Komet Sales invoice item ID.
)
Include available Boxes.
Valid values: 0 = No | 1 = Yes
Default is zero.
Code Block |
---|
{
"authenticationToken": "token_info_goes_here",
"invoiceId": 85063,
"invoiceItemId": 9999999
} |
Response
Output:
status (integer:1)
Transaction status.
Valid values: 1 = Success | 0 = Failure
message (string:500)
Transaction status description.
invoiceId (integer:20)
Invoice ID.
invoiceNumber (integer:10)
Invoice number.
availableBoxes (integer:10)
Sample Response
Number of available Boxes.
Code Block |
---|
{
"status": "1",
"message": "success",
"invoiceId": 111111111,
"invoiceNumber": 85434
} |
We've encountered an issue exporting this macro. Please try exporting this page again later.