Create Location
Create a new location
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
"Tokyo factory"
factory, warehouse, office, port, other "factory"
The company to own the site. Defaults to your own company; may instead reference an
unclaimed supplier of yours. Returns 400 if the company is not accessible. Set at create
only — it cannot be changed afterwards.
A reference to the geolocation that anchors a site. Provide either an existing point's uuid,
or a googleMapsId (resolved and persisted on your behalf, like POST /v1/geolocation).
- Option 1
- Option 2
Response
The created location
A named company site (factory / warehouse / office / port / other), optionally anchored to a geolocation for coordinates. Products, activities, and transport legs reference these internally as a physical origin / destination / location.
"Tokyo factory"
factory, warehouse, office, port, other "factory"
The company that owns the site — your own company, or an unclaimed supplier you registered it for.
"1-1 Marunouchi"
"100-0005"
"Tokyo"
"Japan"