Skip to main content
PUT
/
customer
/
{customerId}
/
location
/
category
Add or update Location Category
curl --request PUT \
  --url https://api.masternautconnect.com/connect-webservices/services/public/v1/customer/{customerId}/location/category \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "<string>",
  "icon": "<string>",
  "id": "<string>"
}
'
{
  "name": "<string>",
  "icon": "<string>",
  "id": "<string>"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

customerId
string
required

Body

application/json
name
string
required

The name of the location category.

icon
string
required

The icon assigned to the location category.

id
string

Unique, unchangeable system generated identifier (alphanumeric) for the location category.

Response

200 - application/json

Successful operation

name
string
required

The name of the location category.

icon
string
required

The icon assigned to the location category.

id
string

Unique, unchangeable system generated identifier (alphanumeric) for the location category.