Partner API v3:
- GET Details
⚠️ Experimental Version
This version of the API is currently in beta and may undergo changes. For production use, please consider using the current stable version (v2).
Returns a single partner in the localtunity network with id equal to the :partner_id parameter.
Example
- Resource URL: https://api.takeoutnearby.com//v3/partner/{partner_id}
curl -X GET -H "Content-Type: application/json" -H "Authorization: Bearer {access_token}" https://api.takeoutnearby.com/v3/partner/{partner_id}
Headers | |
| Content-Type: | (string, required) Must be "application/json" |
| Authorization: | (string, required) Bearer {access_token} |
Parameters | |
| partner_id: | (integer, required) The id of the partner to retrieve. |
Response 200 Status Code
{"status":"success","results":{"id":"6895117","name":"Localtunity","domain":"localtunity.com","address":"PO Box 3234","city":"Cherry Hill","state":"New Jersey","zip":"08003","country":"United States","phone":"6099295077","contact_email":"localtunity@everymerchant.com","website":"https://localtunity.com","description":"Localtunity is a mobile first platform for local businesses. Find local discounts and rewards from your favorite businesses.","status":"active","category_count":47}}