POST
/
carrier
Create carrier
curl --request POST \
  --url http://localhost:8080/carrier \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '{
  "name": "<string>",
  "code": "<string>"
}'
{
  "name": "<string>",
  "code": "<string>"
}

Authorizations

x-api-key
string
header
required

API key for authentication. Contact your administrator to get an API key.

Body

application/json

Response

Successfully created carrier

The response is of type object.