Create Location

Creating a location requires a programId, brandId, and address details. Optionally, you can add merchantIDs.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
required

The program you wish to add the location to.

Body Params
string
required

2 - 100 characters.

string
required
string
required

2 - 100 characters.

string
required

allowedValues":["CAN","DNK","FIN","GBR","IRL","JPN","NOR","SWE","USA"]

string
required

4 - 20 characters.

string

(Only for USA locations) 2-letter US state code from the ANSI standard INCITS 38:2009

searchBy
object

searchBy object, containing a merchantIds object with three keys, amex, visa and mastercard. These three keys have arrays of strings as values. The ​searchBy field is a means by which customers can associate a MID with a location if they already know it.

metadata
object

Metadata object with custom key value pairs. Object size limited to 2kb.

string
Defaults to syncing

Optional parameter that can be set to "syncing" if locations should auto sync on creations in a program. Only works in the live environment, all test environment locations are active (synced) by default.

Headers
string
required

application/json

string

test/live API secret key.

Responses

Language
Credentials
Header
LoadingLoading…
Response
Choose an example:
application/json