PUT
/
carrier
/
:id
Update carrier
curl --request PUT \
  --url http://localhost:8080/carrier/:id \
  --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.

Path Parameters

id
string
required

Carrier ID

Body

application/json

Response

Successfully updated carrier

The response is of type object.