API Reference / LocationService

LocationService

CreateLocation

Request

FieldTypeValidationDescription
brand_idstringmin_len: 1
street_addressstringmin_len: 1
citystringmin_len: 1
statestringmin_len: 2
zipstringmin_len: 1
phonestringmin_len: 1

Response

FieldTypeDescription
locationLocation

ListLocationsForAccount

Request

FieldTypeValidationDescription
account_idstringmin_len: 1

Response

FieldTypeDescription
locationsLocation[]

UpdateLocation

Request

FieldTypeValidationDescription
account_idstringmin_len: 1
idstringmin_len: 1ULID of the resource
street_addressstringmin_len: 1
citystringmin_len: 1
statestringmin_len: 2
zipstringmin_len: 1
phonestringmin_len: 1

Response

FieldTypeDescription
locationLocation

Messages

Location

FieldTypeDescription
idstringULID of the resource
brand_idstring
street_addressstring
citystring
statestring
zipstring
phonestring
created_attimestamp
updated_attimestamp