Create Business Migration User
Creates a business migration user in the system
- Type: string
Authorization requiredBearer token for admin authorization, who is making a call on behalf of the customer. Send the API key in the following format: "Authorization: Bearer BUSINESS_ADMIN_KEY_GOES_HERE".
- Type: string
Accept requiredAdvertises which content types the client is able to understand
- Type: string
Content - Type requiredSet this header to application/json.
- Type: string
address _line1 Address of the user
- Type: stringFormat: date
birthday Date of birth of the user, in YYYY-MM-DD format
- Type: array object[]
challenge _progress - Type: string
city City where the user lives
- Type: string
email Email address of the user that will be added to the migration data. Migration can be based on this value as well.
- Type: string
fb _uid Facebook ID that identifies the user
- Type: string
first _name First name of the user
- Type: array object[]
gift _cards - Type: integerFormat: int32
initial _points Number of points that will be added to the migrated points from the incumbent loyalty program
- Type: string
last _name Last name of the user
- Type: array Loyalty Cards (Array Object)[]
loyalty _cards Details of the loyalty cards migrated for the user
- Type: boolean
marketing _email _subscription Whether the user has subscribed to receive marketing emails or not
- Type: object
200 - Type: string
address _line1 Address of the user
- Type: stringFormat: date
birthday Date of birth of the user, in YYYY-MM-DD format
- Type: array object[]
challenge _progress - Type: string
city City where the user lives
- Type: string
email Email address of the user that will be added to the migration data. Migration can be based on this value as well.
- Type: string
fb _uid Facebook ID that identifies the user
- Type: string
first _name First name of the user
- Type: array object[]
gift _cards - Type: integer
gifted _value Value of points gifted to the user at the time of migration. This is the product of
original_pointsandrate_of_conversion. This does not include the initial points. - Type: integer
initial _points Number of points that will be added to the migrated points from the incumbent loyalty program
- Type: string
last _name Last name of the user
- Type: array Loyalty Cards (Array Object)[]
loyalty _cards Details of the loyalty cards migrated for the user
- Type: boolean
marketing _email _subscription Whether the user has subscribed to receive marketing emails or not
- Type: boolean
marketing _pn _subscription Whether the user has subscribed to marketing push notifications or not
- Type: array object[]
migrated _redeemables - Type: integer
migrated _rewards Currency value of rewards that will be migrated from the incumbent loyalty program
- Type: stringFormat: date
migrated _rewards _expiration _date Expiration date of the currency value of rewards that will be migrated from the incumbent loyalty program. Note: This expiration date will be applicable only on the currency value passed in the
migrated_rewardsparameter. - Type: integer
migration _user _id Unique ID assigned to the user by Punchh at the time of migration
- Type: string
name Name of the loyalty program of the business
- Type: integer
original _membership _no Membership number of the user as per the incumbent loyalty program. Migration can be based on this value as well.
- Type: integer
original _phone Phone number of the user. This value may contain special characters (e.g., hyphen, etc.).
- Type: numberFormat: float
original _points Number of points that will be migrated from the incumbent loyalty program
- Type: integer
phone Phone number of the user. This is used as the unique identifier for migration of the user. This should be a 10-digit value without special characters (e.g., hyphen, etc.).
- Type: integer
preferred _location Favorite location ID of the user
- Type: string
registration _date Registration date of the loyalty program, in ISO 8601 YYYY-MM-DDTHH:mm:SSZ format
- Type: string
state State where the user lives
- Type: string
street _address Address of the user
- Type: array object[]
user _relations - Type: string
zip _code Zip code where the user lives
- Type: object
401 - Type: string
error
{
"address_line1": "string",
"birthday": "2025-12-19",
"city": "string",
"email": "string",
"first_name": "string",
"gifted_value": 1,
"initial_points": 1,
"last_name": "string",
"marketing_email_subscription": true,
"marketing_pn_subscription": true,
"migrated_redeemables": [
{
"redeemable_id": 1,
"rewards_count": 1
}
],
"migrated_rewards": 1,
"migrated_rewards_expiration_date": "2025-12-19",
"name": "string",
"original_membership_no": 1,
"original_phone": 1,
"original_points": 1,
"phone": 1,
"preferred_location": 1,
"registration_date": "string",
"state": "string",
"street_address": "string",
"user_relations": [
{
"name": "string",
"relation": "string",
"birthday": "2025-12-19"
}
],
"zip_code": "string",
"gift_cards": [
{
"card_number": "string",
"card_design_id": "string",
"epin": "string"
}
],
"challenge_progress": [
{
"challenge_campaign_id": 1,
"progress_count": 1
}
],
"migration_user_id": 1,
"fb_uid": "string",
"loyalty_cards": [
{
"card_number": "string",
"status": "string",
"card_signup_date": "2023-02-03"
}
]
}