Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Next »

This method allows you to add a new Carrier in Komet Sales.

Valid Tokens: Company.

Request

URL: https://api.kometsales.com/api/carrier.add

Method: POST

Content-Type: application/json


Input Parameters

authenticationToken (required)(string:50)

Komet Sales security token.


name (required)(string:200)

Carrier name.


code (required)(string:10)

Carrier code.


capacity (optional)(integer:10)

Carrier capacity in cubes.


{
   "authenticationToken":"token_info_goes_here",
   "name":"Armellini",
   "code":"AR",
   "capacity":"200"
}

Response


status (integer:1)

Transaction status. 1 = Success | 0 = Failure


message (string:500)

Transaction status description.


carrierId (integer:20)

Komet Sales internal Carrier ID.


{
   "status":"1",
   "message":"The carrier was successfully saved.",
   "carrierId":234234
}


  • No labels