cURL
curl --request POST \ --url https://api.example.com/locations \ --header 'Content-Type: application/json' \ --data ' { "name": "<string>", "parentLocationId": "<string>", "locationTag": "<string>" } '
{ "id": "<string>", "identifier": "<string>", "referenceNumber": 123, "name": "<string>", "parentLocationId": "<string>", "locationTag": { "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" } }
Create a location
The name of the location
The id of the parent location
The tag associated with the location
The location has been successfully created
The id of the location
The identifier of the location
The reference number of the location
Show child attributes