Terminal Shipping API
Ask or search…
K

Enable Carrier

Enable a specific carrier for a user.
post
https://api.terminal.africa
/v1/carriers/enable/:carrier_id
/carriers/enable/:carrier_id
This endpoint allows you to enable a carrier. One of domestic, international or regional query parameters is required in request.
Parameters
Path
carrier_id*
string
Unique carrier_id for carrier.
Query
domestic
boolean
Set to true to enable carrier for domestic rates and deliveries.
international
boolean
Set to true to enable carrier for international rates and deliveries.
regional
boolean
Set to true to enable carrier for regional rates and deliveries.
Header
Authorization*
string
Set value to Bearer SECRET_KEY
Content-Type
string
Set value to application/json
Responses
200
Carrier enabled successfully.