Use the Marketcube API to create your tailored and highly customised experiences for your vendors
Marketcube Headless is the API only version of the hugely successful self-service version of Marketcube. As platform Marketcube is constantly looking to innovate and for our headless offering we had introduced GraphQL.
GraphQL is a query language for APIs. Our GraphQL provides a complete and understandable description of the data in our API, giving our clients the power to ask for exactly what they need and nothing more.
More than just a REST replacement, the graph is a unified representation of all your data, services, and digital capabilities. The graph enables app developers to delete thousands of lines of boilerplate code, move fast without waiting on backend teams, and keep features consistent across web and mobile platforms.
To get access to our GraphQL Playground, to test and query data, you will need a live subscription to one of our plans.
We grant access to our GraphQL playground form within our Marketcube.io admin portal. To gain access and query the API you will need to follow the steps below:
Accessing our GraphQL API u simple as it only requires you to have a live subscription to our platform and which then given you access to our playground to test all the API queries.
You can also access the API using POSTMAN or INSOMNIA, for which out team that provide you with collections to test out, however you will need to add in an access token and key to be able to run the calls to our API, the process is explained below:
To access the API, first you will need to generate an external password.
Steps to generate external password:
1. Enter this URL https://marketplace.marketcube.io/
2. Click on forget password.
3. Enter your email id.
4. You will receive a link on your email to set up your password.
5. Once this is done, you can enter the id and password on the login page.
6. Once you've created the external password then open this link to access: playground.marketcube.io .
7. Enter the login credentials used for login. Documents can be accessed using the schema section on the side.
8. Using the login end point, take the login token and use that, login API is also mentioned in the document as well.