Skip to content

Instantly share code, notes, and snippets.

@mikepaszkiewicz
Last active June 1, 2017 16:22
Show Gist options
  • Save mikepaszkiewicz/ff6c470274802128b509d7fd8ed4ec3c to your computer and use it in GitHub Desktop.
Save mikepaszkiewicz/ff6c470274802128b509d7fd8ed4ec3c to your computer and use it in GitHub Desktop.
dispatch.vendors.get
// vendorId is optional, and will return an array of all businesses if not present
curl -X GET https://dispatch.tryhabitat.com/api/v1/vendors/ \
-H 'cache-control: no-cache' \
-H 'Content-Type: application/json' \
-d '{"api_key": "YOUR_API_KEY", "vendorId": "VENDOR_ID"}'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment