Business customer

GET /customers/


byid=:bid Required int - Socialdraftbusiness id
(&limit=:limit Optional int - Limit customer preview
&offset=:offset Optional int - Set preview offset
&vip=:vip Optional boolean - Get VIP customers (1 , 0 )
&source=:source) Optional string - Customer source
&appid=:appid Required API ID - Your application access KEY
&appkey=:appkey Required API ID - Your application access KEY


Response (JSON)


A successful response (Status Code 200) will render a JSON data of the business customers

{

" business " : {
" customer " : "Whole Food Market" ,
" phone " : "(973) 746-5110" ,
" city " : "Montclair" ,
" state " : "NJ" ,
" zip " : "7042"
},
" total_customer " : "23" ,
" customers " : [

{

" customer " : "Mike P." ,
" business " : "West Orange, NJ" ,
" source " : "Yelp" ,
" profile " : "http:\/\/www.yelp.com\/user_details?userid=JGKSv1VtaERrGUpkzxrYhA" ,
" image " : "http:\/\/s3-media1.ak.yelpcdn.com\/photo\/Y_EZLQwFL5esAogM5ln_IQ\/ls.jpg" ,
" vip " : "Yes"
},

{

" customer " : "Jennifer M." ,
" business " : "Montclair, NJ" ,
" source " : "Yelp" ,
" profile " : "http:\/\/www.yelp.com\/user_details?userid=5PtkFEymTrtxdZ9Wys5s8g" ,
" image " : "http:\/\/s3-media2.ak.yelpcdn.com\/photo\/l7lDGNlEghHxs3m9QPVKXA\/ls.jpg" ,
" vip " : "Yes"
},

{

" customer " : "Dee C." ,
" business " : "Newark, NJ" ,
" source " : "Yelp" ,
" profile " : "http:\/\/www.yelp.com\/user_details?userid=2OjNNLpCCGrtfQtpcbhlkg" ,
" image " : "http:\/\/s3-media2.ak.yelpcdn.com\/photo\/rOSHvUL0AOcp9fBEvA3NfQ\/ls.jpg" ,
" vip " : "Yes"
},

{

" customer " : "Jonathan G." ,
" business " : "Montclair, NJ" ,
" source " : "Yelp" ,
" profile " : "http:\/\/www.yelp.com\/user_details?userid=uTYHJFJo9UZiWMhj_jRRmw" ,
" image " : "http:\/\/s3-media4.ak.yelpcdn.com\/photo\/dUpc_YM1a5ypfVhgmvnYlg\/ls.jpg" ,
" vip " : "Yes"
},

{

" customer " : "Rich P." ,
" business " : "Cedar Grove, NJ" ,
" source " : "Yelp" ,
" profile " : "http:\/\/www.yelp.com\/user_details?userid=pJvo51OTnL9T_JVtq3Z8aQ" ,
" image " : "http:\/\/s3-media4.ak.yelpcdn.com\/photo\/JVQEgvUtdh15tAQCpvSvrA\/ls.jpg" ,
" vip " : "Yes"
},

{

" customer " : "Jackie N." ,
" business " : "Chicago, IL" ,
" source " : "Yelp" ,
" profile " : "http:\/\/www.yelp.com\/user_details?userid=fJno8NKEYiSutL7cL2Wewg" ,
" image " : "http:\/\/s3-media4.ak.yelpcdn.com\/photo\/xSHTqFPCI7-9yOMf5JM77A\/ls.jpg" ,
" vip " : "Yes"
},
]
}