NOTE: Before completing the steps below, make sure you have already set up your environment and requested a token.
Once on Postmates, go to the APIs
side panel, expand the Avero Public API
and open the top-level GET
request. Uncheck the checkbox next to Cursor
and click Send
In the results pane, you should now see data from the API response. Success!
We have an endpoint for the retrieval of Business IDs, defining the Business ID for which you wish to query in all other endpoints is recommend (or you will receive data for all Business IDs to which you have access. This retrieval endpoint is also the ideal test endpoint to ensure your authorization and token are correctly applied.
-
- Business Retrieval Endpoint URL: https://averoinc-prod.apigee.net/public-api/v1/core/businesses
- Sample response:
{
"data": [
{
"businessId": "7047",
"businessName": "Blue Cafe",
"currencyCode": "USD",
"revenueCenters": [
{
"revenueCenterId": "5123786",
"revenueCenterName": "Bar"
},
{
"revenueCenterId": "5123787",
"revenueCenterName": "Dining Room"
},
{
"revenueCenterId": "5123788",
"revenueCenterName": "Secondary Dining"
},
{
"revenueCenterId": "5123789",
"revenueCenterName": "Take Out"
},
{
"revenueCenterId": "5123790",
"revenueCenterName": "Tertiary Dining"
},
{
"revenueCenterId": "5123820",
"revenueCenterName": "Banquet"
}
]
}
],
"meta": {
"pagination": {
"next": null
}
}
}