Overview

This method allows you to update an existing additional invoice charge in Komet Sales. 

Request

https://api.kometsales.com/api/additional.charge.update

  • Method: POST
  • Content-Type: application/json

Input Parameters:

  • authenticationToken (required)(string:50): Komet Sales security token.
  • additionalChargeId (required)(integer:20): Komet Sales internal ID of the additional charge that you want to update. You can obtain this value from the additional.charge.list API method.
  • name (optional)(string:200): name of the additional charge.
  • code (optional)(string:10): code of the additional charge.
  • active (optional)(boolean:1): 1 if the customer is active, 0 if the customer is not active.

Sample
{
  "authenticationToken": "token_info_goes_here",
  "additionalChargeId": 234234,
  "name": "Fuel Surcharge",
  "code": FS"
 }

Response

Output:

  • status (integer:1): transaction status. 1 for success or 0 for failure.
  • message (string:500): description of the status of the transaction.
  • additionalChargeId (integer:20): Additional Charge internal ID that was just updated.

Sample
 {
  "status": "1",
  "message": "The additional charge was successfully saved.",
  "additionalChargeId": 234234
 }