SmartGare
API referenceEndpoints

Register a carrier

Creates a carrier in pending status. **Required permission:** `referential.carrier:write`

POST/referential/v1/carriers

Creates a carrier in pending status.

Required permission: referential.carrier:write

AuthorizationBearer <token>

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

body*RegisterCarrierRequest

Response Body

*/*

*/*

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