Locations
Retrieve a location status
This endpoint is in invite-only beta. Request access.
This endpoint supports Locations with up to one each of
commodity_import
, commodity_export
, non_commodity_import
, and non_commodity_export
tariff elements, covering all use cases currently supported by Connect. If your implementation requires more (typically complex industrial cases) contact support for assistance.Retrieves current status of a location.
GET
/
locations
/
{id}
/
status
Authorizations
Authorization
string
headerrequiredAuthenticate with bearer_token
you obtained from /login endpoint.
Path Parameters
id
string
requiredFlatPeak location_id
Response
200 - application/json
id
string
requiredFlatPeak unique location Id
object
string
requiredRepresents the object’s type. I.e. location_status.
live_mode
boolean
default: truerequiredHas the value true if the object exists in live mode or the value false if the object exists in test mode.
tariff_status
object
Tariff status object.
time_created
string
requiredIndicates time when this location was created.
account_id
string
requiredFlatPeak account ID.
Was this page helpful?