Skip to main content
POST
Create location

Body

application/json

Create location request

retailer_id
string<uuid>
required

Retailer ID

name
string
required

Location name

Required string length: 1 - 200
address_1
string | null

Address line 1

Maximum string length: 500
address_2
string | null

Address line 2

Maximum string length: 500
city
string | null

City

Maximum string length: 100
province
string | null

Province/State

Maximum string length: 50
postal_code
string | null

Postal/ZIP code

Maximum string length: 20
latitude
number | null

Latitude

Required range: -90 <= x <= 90
longitude
number | null

Longitude

Required range: -180 <= x <= 180

Response

Created location

Create location response

success
boolean
required
location
object
required

Location