dashboard_create_franchisee
Create Franchisee
Allows a business admin user to create franchisees for accessible locations
Headers
- 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".
Body
application/json
- Type: object
franchisee
Responses
- Type: object
200 The Franchisee object returns the details of the franchisee.
- Type: string
address Address of the franchisee
- Type: string
created _by Admin user who created the franchisee
- Type: string
email Email address of the franchisee
- Type: boolean
enable _guest _upload Whether to allow uploading a list of guests for the franchisee or not
- Type: string
name Name of the franchisee
- Type: string
phone Phone number of the franchisee
- Type: string
state State where the franchisee is located
- Type: string
zip _code Zip code where the franchisee is located
- Type: object
401 - Type: string
error
post/api2/dashboard/franchisees
{
"name": "string",
"email": "string",
"phone": "string",
"address": "string",
"state": "string",
"zip_code": "string",
"created_by": "string",
"enable_guest_upload": true
}