Request
URL: https://api.kometsales.com/api/additional.charge.add
Method: POST
Content-Type: application/json
Input Parameters
authenticationToken (required)(string:50)
Komet Sales security token.
name (required)(string:200):
Name of the
Additional Charge.
code (optional)(string:10)
Additional Charge code.
Code Block |
---|
{
"authenticationToken": "token_info_goes_here",
"name": "Fuel Surcharge",
"code": "FS"
} |
Response
Output:
status (integer:1)
Transaction status. 1
= Success | 0 = Failure
message (string:500)
Transaction status description.
additionalChargeId (integer:20)
New Additional Charge internal ID
.
Code Block |
---|
{
"status": "1",
"message": "The additional charge was successfully saved.",
"additionalChargeId": 234234
} |