Skip to main content
POST
/
location-tags
Create a location tag
curl --request POST \
  --url https://api.example.com/location-tags \
  --header 'Content-Type: application/json' \
  --data '
{
  "code": "<string>",
  "name": "<string>",
  "description": "<string>"
}
'
{
  "id": "<string>",
  "code": "<string>",
  "name": "<string>",
  "description": "<string>",
  "createdAt": "2023-11-07T05:31:56Z",
  "updatedAt": "2023-11-07T05:31:56Z",
  "deleted": true,
  "deletedAt": "2023-11-07T05:31:56Z"
}

Body

application/json
code
string
required

The code of the location tag, a unique identifier

name
string
required

The name of the location tag

description
string
required

The description of the location tag

Response

Location tag created successfully

id
string
required

The id of the location tag

code
string
required

The code of the location tag, a unique identifier

name
string
required

The name of the location tag

description
string
required

The description of the location tag

createdAt
string<date-time>
required

The date and time the location tag was created

updatedAt
string<date-time>
required

The date and time the location tag was updated

deleted
boolean
required

Whether the location tag is deleted

deletedAt
string<date-time>
required

The date and time the location tag was deleted