SmartGare
API referenceEndpoints

Get a carrier by code

Returns a carrier by code.

GET/referential/v1/carriers/by-code/{code}

Returns a carrier by code.

AuthorizationBearer <token>

In: header

Path Parameters

code*string

Carrier code.

Default""

Response Body

*/*

curl -X GET "https://example.com/referential/v1/carriers/by-code/"
{  "id": "string",  "code": "string",  "name": "string",  "ticketingModel": "string",  "status": "string",  "legalIdentifier": "string",  "logo": "string",  "website": "string",  "phoneNumber": "string",  "email": "string",  "addressLine1": "string",  "addressLine2": "string",  "addressZip": "string",  "addressCity": "string",  "createdAt": "2019-08-24T14:15:22Z",  "updatedAt": "2019-08-24T14:15:22Z"}