Get Location by ID
Retrieves an existing Location by its unique identifier. Returns the location details including current status and bound charge information.
Path Parameters
- Type: string Format: uuididrequired
Unique identifier of the location
Headers
- Type: stringx
-branch requiredBranch of the location owner account
- Type: stringx
-account -number requiredNumber of the location owner account
- Type: stringIdempotency
- Key requiredUnique idempotency key
Responses
- application/json
- application/json
- application/json
Request Example for get/loc/{id}
curl http://localhost/loc/2a8cbd7d-0c7b-4a69-a1e1-4a19e8b7a2aa \
--header 'x-branch: ' \
--header 'x-account-number: ' \
--header 'Idempotency-Key: 550e8400-e29b-41d4-a716-446655440000' \
--header 'Authorization: Bearer YOUR_SECRET_TOKEN'
{
"id": "string",
"location": "string",
"tipoCob": "cob",
"status": "ACTIVE",
"txid": "string",
"criacao": "2026-07-31T17:52:48.654Z"
}