Back in the PIM, go to Connect/ Connection settings and select your My very first connection connection.In the Initial value field and in the Current value field of the url, enter the url where your 4.0 PIM or newer is hosted.In the pop-in that just opened, select the environment called Akeneo 4.0 PIM REST API environment.Click on the gear wheel in the top right corner, and then select Manage environments.To do so, click the Import button and drop the two files you just downloaded in the pop-in that should look like this.Īs a result, you will see a new collection in the Collection tab, on the left side of your screen, like this.Ī new environment should also have been created in the dropdown in the top right corner. The Postman collection containing your first request.Download the Postman application (which is free by the way) from their official website.If you have trouble using Postman, do not hesitate to browse their really complete documentation. To avoid anyone to mess with your precious PIM data. Indeed, the REST API is protected and is only accessible to people that have connection credentials. The authentication request: Very useful, this request will allow you to authenticate yourself.More concretely, this request will in fact asks the PIM for its first 100 products. Your very first request: The Graal! That's the whole goal of this tutorial: being able to launch this request and receive an answer from the PIM. We crafted for you a very simple collection, that contains only two pre-configured requests: With Postman, you can share pre-configured REST API requests in collections with whoever you want. If you want more details, do not hesitate to browse their website. It helps us develop and test our REST API. What's great is that you don't need any code skills to use this tool. Postman is a free client application that allows making calls to any REST API very easily. In this step, you are going to configure Postman, a tool that will allow us to easily make your very first REST API request. How to get families, family variants, and attributes.From product identifier to product UUID.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |