Yotpo Postman Collection

Integrating with a new API can be challenging, but we're here to make it easier. Our Postman collection allows you to explore and interact with our API visually, accelerating your development process. This guide will walk you through setting up and leveraging our Postman collection to quickly start building with our API.

What is Postman?
Postman is a powerful API platform that simplifies each step of the API lifecycle. It enables developers to design, test, document, and monitor APIs all in one place. For our purposes, we'll focus on how it helps you interact with and test our API.

Prerequisites
Before you begin:

  1. Create a free Postman account (or use their web version)
  2. Yotpo Developer App credentials and Yotpo test account

Accessing Our Postman Collection
To get started:

  1. Visit our Postman collection
  2. Look for the "Run in Postman" button
  3. Click the button to fork our collection into your Postman workspace

If you're new to Postman, you may need to create a public profile to fork the collection.

What's Included in Our Collection?
Our Postman collection offers:

  • Pre-configured requests for all API endpoints
  • Pre-populated query parameters for each API endpoint
  • Example payloads for POST, PUT and PATCH requests

Authentication
In order to start working with the APIs, you will need to:

  1. Get familiar with our authentication method, using a standard OAuth 2.0, and use credentials provided by this process.
  2. Use the Generate Access Token endpoint to authenticate.

Best Practices for API Integration

  1. Rate limiting: Be aware of our rate limits (documented in our guidelines and conventions) and implement appropriate backoff strategies.
  2. Error handling: Always check for and handle error responses in your integration.
  3. Pagination: For endpoints that return lists, implement pagination to handle large datasets efficiently.
  4. Webhooks: Consider using our webhooks for real-time updates instead of polling, especially for events like review creation or customer actions.
  5. Security: Never expose your API credentials. Use environment variables and secure storage in your applications.

Need Help?
If you encounter issues or have questions, contact our team at [email protected]
We're excited to see what you'll build with us. Happy coding!