Basic Migration Look-up

​

Returns the success response for a user identified in the migration data provided by a business

Headers

  • The signature for the API call

  • Advertises which content types the client is able to understand

  • Preferred language

  • 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

  • Email address of the user from the old loyalty program used for the look-up. It can be made mandatory or optional from the Punchh platform.

  • First name of the user from the old loyalty program used for the look-up. It can be made mandatory or optional from the Punchh platform.

  • Last name of the user from the old loyalty program used for the look-up. It can be made mandatory or optional from the Punchh platform.

  • Phone number of the user from the old loyalty program used for the look-up. It can be made mandatory or optional from the Punchh platform.

Responses

  • application/json
  • application/json
Request Example for get/api2/mobile/migration_lookup
curl https://SERVER_NAME_GOES_HERE.punchh.com/api2/mobile/migration_lookup \
  --header 'x-pch-digest: {{$$.env.signature}}' \
  --header 'Accept: application/json' \
  --header 'Accept-Language: en' \
  --header 'User-Agent: AppName/AppVersion/BuildNumber (OS; Model; MANUFACTURER; MODEL; OS Version)' \
  --header 'Content-Type: application/json' \
  --data '{
  "client": "CLIENT_GOES_HERE",
  "email": "test@example.com"
}'
{
  "response": "ok"
}