Skip to main content
PUT
/
v1
/
api
/
categories
/
{id}
Update a parcel category
curl --request PUT \
  --url http://localhost:3091/v1/api/categories/{id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "<string>"
}
'
{
  "id": 123,
  "code": "<string>",
  "name": "<string>"
}

Authorizations

Authorization
string
header
required

JWT access token from POST /v1/api/auth/login

Path Parameters

id
integer<int32>
required

Body

application/json
name
string

Response

Category updated

id
integer<int32>
code
string
name
string