Enroll Guests via WiFi

​

Enrolls guests for eClub using WiFi as the acquisition channel

Headers

  • Preferred language

  • The signature for the API call

  • Set this header to application/json.

  • Used to identify the software, device, and application initiating the request, providing information about the client to the server. For details, see User Agent.

Body

application/json
  • OAuth client ID provided by the business

  • ID of the WiFi location

  • Store number of the location

  • Includes details about the users who are registered on a particular business

    Properties: 46

Responses

  • application/json
Request Example for post/api2/wifi/users/
curl https://SERVER_NAME_GOES_HERE.punchh.com/api2/wifi/users/ \
  --request POST \
  --header 'Accept-Language: en' \
  --header 'x-pch-digest: {{$$.env.signature}}' \
  --header 'Content-Type: application/json' \
  --header 'User-Agent: AppName/AppVersion/BuildNumber (OS; Model; MANUFACTURER; MODEL; OS Version)' \
  --data '{
  "client": "CLIENT_GOES_HERE",
  "location_id": 311031,
  "store_number": 4,
  "user": {
    "email": "test@example.com",
    "first_name": "FIRST_NAME_GOES_HERE",
    "last_name": "LAST_NAME_GOES_HERE",
    "phone": "1111111111",
    "address_line1": "ADDRESS_GOES_HERE",
    "state": "California",
    "zip_code": "94040",
    "birthday": "1999-01-01",
    "marketing_email_subscription": "1"
  }
}'
{}