Skip to main content
PATCH
Update location

Path Parameters

id
string<uuid>
required

Location UUID

Example:

"550e8400-e29b-41d4-a716-446655440000"

Body

application/json

Update location request

retailer_id
string<uuid>

Retailer ID

name
string

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

Updated location

Update location response

success
boolean
required
location
object
required

Location