You are viewing an old version of this page. View the current version.
Compare with Current View Page History
« Previous Version 2 Next »
This method allows you to add a carrier into Komet Sales.
URL: https://api.kometsales.com/api/carrier.add
Method: POST
Content-Type: application/json
authenticationToken (required)(string:50): Komet Sales security token.
name (required)(string:200): name of the carrier.
code (required)(string:10): code of the carrier.
capacity (optional)(integer:10): capacity of the carrier in cubes.
Sample Request
{ "authenticationToken":"token_info_goes_here", "name":"Armellini", "code":"AR", "capacity":"200" }
status (integer:1): transaction status. 1 for success or 0 for failure.
message (string:500): description of the status of the transaction.
carrierId (integer:20): carrier internal ID that was just created.
Sample Response
{ "status":"1", "message":"The carrier was successfully saved.", "carrierId":234234 }