Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Overview


Excerpt

This method returns a list of carriers.

 


Request

https://api.kometsales.com/api/carrier.list

  • Method: GET
  • Content-Type: URL Params.

Input parameters:

  • authenticationToken (required)(string:50): Komet Sales security token.
  • id (optional)(integer:20): Komet Sales internal carrier id.
  • name (optional)(string:200): name of the carrier.
  • code (optional)(string:10): code of the carrier.
  • active (optional)(boolean:1): 1 if the carrier is active, 0 if the carrier is not active.

You can send parameters such as the ID, code, and name in order to filter the results. Filtering by ID and code uses an exact match. Filtering by name uses a "LIKE" expression. Filters are not case sensitive.

Code Block
languagejs
themeConfluence
titleSample
https://api.kometsales.com/api/carrier.list?
authenticationToken=token_info_goes_here

Response

Output:

  • status (integer:1): transaction status. 1 for success or 0 for failure.
  • message (string:500): description of the status of the transaction.
  • carriers: array of carriers:
    • id (integer:20): Komet Sales internal carrier Id.
    • name code (string:20010): name code of the carrier.code
    • name (string:10200): code name of the carrier.
    • active (boolean:1): 1 if the carrier is active, 0 if the carrier is not active.
    • street: ?
    • city: ?
    • state: ?
    • zipCode: ?
    • country: ?
    • phone: ?
    • kometNetworkName:
    • kometNetworkId:
Elite soft json viewer
width100%
languagejs
themeConfluence
titleSample
height350
{
    "status": "1",
    "message": "OK",
    "carriers": [
        {
            "id": "2324310693,
            "code": "ARM",
            "name": "Armellini",
            "active": 1,
            "street": "",
            "city": "",
            "state": "",
            "code"zipCode": "",
            "country": "",
            "phone": "AR",
            "activekometNetworkName": "1"
Armellini - Regular",
            "kometNetworkId": 18651
        }
        ,
        {
            "id": 19010,
            "code": "23334AR6",
            "name": "Armellini VD Saturday",
        "Prime    "active": 0,
            "street": "",
            "city": "",
            "state": "",
            "zipCode": "",
            "country": "",
            "codephone": "PT",
            "activekometNetworkName": ""0",
            "kometNetworkId": 0
        }
    ]
}




Panel
titleRelated Articles

Filter by label (Content by label)
showLabelsfalse
max10
showSpacefalse
sorttitle
cqllabel in ("add-carriers","carriers-setup")
labelsadd-carriers carriers-setup


Info
titleInformation

This method can be executed with tokens type company and vendor.