Skip to main content
GET
Get a place

Authorizations

X-API-Key
string
header
required

Path Parameters

organization_id
string<shortuuid>
required

Identifier of the organization.

Required string length: 22
Pattern: ^[23456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz]{22}$
place_id
string<shortuuid>
required

Identifier of the place, as listed.

Required string length: 22
Pattern: ^[23456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz]{22}$

Response

OK

One of the organization's places.

id
string<shortuuid>
required

Identifier of the place.

Required string length: 22
Pattern: ^[23456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz]{22}$
name
string
required

Name shoppers see for the place; empty when it has none.

address_line_1
string
required

Street address, including the building number.

address_line_2
string
required

Suite, unit or floor; empty when not applicable.

city
string
required

City, town or locality.

region
string
required

State, province or region.

county
string
required

County, when known. Set by Closient's importers; not writable here.

postal_code
string
required

ZIP or postal code.

country
string
required

ISO 3166-1 alpha-2 country code, such as US.

latitude
number | null
required

Latitude in decimal degrees, or null when the place has no point.

longitude
number | null
required

Longitude in decimal degrees, or null when the place has no point.

gln
string | null
required

The place's 13-digit GLN, or null when it has none.

supply_chain_type
enum<string> | null
required

The FSMA 204 Critical Tracking Event role this place plays: GROWING, COOLING, INITIAL_PACKING, FIRST_LAND_BASED_RECEIVER, RECEIVING, TRANSFORMING or SHIPPING. Only for a place that records traceability events, and a place with one must also have a gln. Null when the place has none.

Available options:
GROWING,
COOLING,
INITIAL_PACKING,
FIRST_LAND_BASED_RECEIVER,
RECEIVING,
TRANSFORMING,
SHIPPING
google_place_id
string
required

Google Maps place identifier; empty when not linked.

is_active
boolean
required

Whether the place is open and shown to shoppers.

urls
PlaceURLOut · object[]
required

The place's websites, in sort_order.

phones
PlacePhoneOut · object[]
required

The place's phone numbers, in sort_order.

emails
PlaceEmailOut · object[]
required

The place's email addresses, in sort_order.

created
string<date-time>
required

ISO-8601 time the place was created.

modified
string<date-time>
required

ISO-8601 time the place was last changed.