Enable Carrier
Enable a specific carrier for a user.
/carriers/enable/:carrier_id
POST
https://api.terminal.africa/v1/carriers/enable/:carrier_id
This endpoint allows you to enable a carrier. One of domestic, international or regional query parameters is required in request.
Path Parameters
Name
Type
Description
carrier_id*
string
Unique carrier_id for carrier.
Query Parameters
Name
Type
Description
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.
Headers
Name
Type
Description
Authorization*
string
Set value to Bearer SECRET_KEY
Content-Type
string
Set value to application/json
Last updated