Fetch location detail
GET/v1/entities/:entity_id/locations/:id
The Location object represents a sales tax location. Locations are identified by a unique ID. Authentication
Request
Path Parameters
Unique identifier for the Entity object.
Unique identifier for the Location object.
Responses
- 200
- 401
- 404
Returns a location if a valid identifier was provided, and returns an error otherwise.
- application/json
- Schema
- Example (from schema)
Schema
Unique identifier for the Location object.
Unique identifier for the Entity object.
Name of Location.
Address line 1.
Address line 2.
City.
State.
Postal code.
Phone number.
Email address.
Indicates if this is the headquarters location.
Time of day that the business closes.
Timezone.
Defaults to 0, minutes after midnight in the timezone of this address the location considers its end of day ie. closes at 2am, so through 2am is included in prior day
{
"id": "nGBr7Vr7mNqW",
"entity_id": "9zOe70LNPwlN",
"name": "JT Bottle Shop",
"address1": "61707 29 Palms Hwy",
"address2": "string",
"city": "Joshua Tree",
"state": "CA",
"postal_code": 92252,
"phone_number": "+1917xxxxx00",
"email": "[email protected]",
"headquarters": true,
"end_of_day": "00:00",
"timezone": "Pacific Time (US & Canada)",
"updated_at": "2023-05-23T07:57:26.851Z",
"closeout_offset": 0
}
HTTP Basic: Access denied.
Returns an error if a invalid entity identifier or invalid location identifier was provided.
- application/json
- Schema
- Example (from schema)
Schema
error object
{
"error": {
"message": "Couldn't find Organization",
"type": "invalid_request_error",
"status": "ok"
}
}