Exploring Dittofi's marketplace API
An introduction to Dittofi's two sided marketplace template
In this article, we explain how you can use Postman to explore the API endpoints available within Dittofi's marketplace template.
Dittofi offers several different marketplace templates. Each templates has the same backend codebase (API) which is developed in Google Go. However, different templates utilize different aspects of the API depending on their use case. For example, Dittofi's product marketplace template incorporates endpoints for shipping, whereas the property rental marketplace template can safely ignore these endpoints as they're not relevant.
You can access the source code for each of these templates either through Dittofi's visual development studio or by exporting the codebase directly from the platform.
How to explore Dittofi's the APIs for your marketplace
In this section, we give you five simple steps that you can take to explore the API for your marketplace template using Postman.
Step 1. Setting up your Dittofi marketplace template
Before diving into testing with the Postman Collection, you'll need to sign up for a Dittofi account and install one of Dittofi's two sided marketplace templates. Each template provides you with a fully functional two sided marketplace, a dedicated server, database, and highly scalable infrastructure within minutes.
Step 2. Exploring Dittofi's marketplace API
Once your Dittofi marketplace template is set up, it's time to begin testing and exploring the API for the marketplace. To help with this, we have created a Postman Collection that allows you to test each of our marketplace endpoints.
To get started, all you need is a Postman account. If you haven't already, sign up for Postman to begin.
Step 3. Forking the Postman Collection
Once inside our Marketplace Postman Collection, you can fork the collection to your own Postman workspace. This action creates a personalized copy of the collection, allowing you to tailor it to your specific marketplace needs.
Step 4: Configuring the collection variables
Within the collection, navigate to the Variables tab. Here, you'll find the variable base_url. Make sure to update the base_url variable to point to your Dittofi Marketplace instance. This ensures that all API requests are directed to your marketplace environment.
Step 5: Exploring authentication
Before diving into testing endpoints, let's ensure proper authentication. Refer to the Authentication section within the collection documentation to understand how authentication works with our API.
Conclusion: Dittofi's two sided marketplace template is a huge time saver
Dittofi two sided marketplace template gives you access to a fully functional marketplace, a dedicated server, database and massively scalable infrastructure.
To help you understand your way around the template, we give you access to Dittofi's API Postman Collection. This gives you a powerful toolset to accelerate your marketplace development journey.
If you have any questions about Dittofi's marketplace templates, schedule a call with one of our marketplace specialists. We would love to help you get started. And... in case we don't hear from you... we wish you the best of luck with your two sided marketplace development :)
Last updated