This method allows you
json
Output
: transaction 1 for success or 0 for failure.
: description of the status of the transaction
: carrier that was just createdSample Response
Filter by label (Content by label) showLabels false max 5 title Related Articles cql label in ( "company-token" , "api" , "carrier-setup" )
Excerpt | ||
---|---|---|
Use this method to add a new Carrier in Komet Sales.
|
Filter by label (Content by label) | ||||||||
---|---|---|---|---|---|---|---|---|
|
Request
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.
Code Block |
---|
{
"authenticationToken":"token_info_goes_here",
"name":"Armellini",
"code":"AR",
"capacity":"200"
} |
Response
status (integer:1)
Transaction status.
Valid values: 1 = Success | 0 = Failure
message (string:500)
Transaction status description.
carrierId (integer:20)
Komet Sales internal Carrier ID
.
Code Block |
---|
{
"status":"1",
"message":"The carrier was successfully saved.",
"carrierId":234234
} |
We've encountered an issue exporting this macro. Please try exporting this page again later.