Locations
Create a location
POST
/
locations
Authorizations
Authorization
string
headerrequiredBasic authentication header of the form Basic <encoded-value>
, where <encoded-value>
is the base64-encoded string username:password
.
Body
application/json
rewards_program_id
string | null
The ID of the location's rewards program
Response
200 - application/json
id
string
requiredThe ID of the location
rewards_program
required
The location's rewards program