SmartGare
API referenceEndpoints

Register a carrier

Creates a carrier in pending status.

POST/referential/v1/carriers

Creates a carrier in pending status.

AuthorizationBearer <token>

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

*/*

*/*

curl -X POST "https://example.com/referential/v1/carriers" \  -H "Content-Type: application/json" \  -d '{    "name": "string",    "code": "string",    "ticketingModel": "CARRIER_MANAGED"  }'
{  "id": "string"}