API to create a new customer - register a new customer on GoPlayr.

Resource URL

https://www.goplayr.com/api/register

Parameters

ParameterDescriptionOptionalDefault
name Full Name is mandatory
contact Contact number is mandatory for registration and should be unique.
cmail Email is optional True
city City id is mandatory - The city id can be obtained by calling the cities api.
lat, long Lat, Long is mandatory
auth_key auth_key is mandatory. Request the GoPlayr team to provide you the unique authKey for your company.

Example

POST https://www.goplayr.com/api/register

Request

  Raw Headers :

 Content-Type: application/x-www-form-urlencoded

    Raw Payload : name=Honey Singh&contact=6577563214&email=&city=3&long=72.5714&lat=23.0225&auth_key=YOURAUTHKEYHERE  

Response

  {
  "status":true,"id":"14271","message":"Registration has been done successfully."
}  

Error Response

    

Resource Information

Rate Limited True
Response Format JSON
Authentication None