Configuring commercetools API and Postman - Tutorial

Sdílet
Vložit
  • čas přidán 8. 07. 2024
  • #commercetools #postman #ecommerce #tutorial
    commercetools is a cloud-based composable ecommerce platform that provides APIs to power headless e-commerce functions for large businesses. The fully customizable platform let's you tailor your ecommerce solution to the exact needs of your business and its customers.
    To get started with commercetools, you need to create an API Client and test the communication. In this video we'll show you how to configure commercetools and utilize Postman to test your API calls. Check out the step-by-step tutorial now:
    ⏱ Timestamps
    00:00 - Commerce Tools
    00:24 - Create an API Client
    01:50 - Download the credentials
    02:39 - Configure Postman with the environment
    03:18 - Get the commercetools Postman Collection
    04:13 - Import into Postman
    04:50 - Get an Oauth token
    06:03 - Query commercetools API
    Need help with your commercetools project? Reach out to the digital commerce experts at Sunrise Integration. Our team is here for your business!
    www.sunriseintegration.com/
    / sunrise-integration
    / sun_integration
    / sunriseintegration
  • Věda a technologie

Komentáře • 5

  • @user-xg2oc7pu4x
    @user-xg2oc7pu4x Před 11 měsíci +1

    thank you so much!!!

  • @savannah633
    @savannah633 Před 11 měsíci +2

    Hello! Thank you for this video! 🌱
    I have en error 😦 at the 6:07 step ( send GET request to {{host}}/{{project-key}}/products )
    👄This is __text of my error__ at postman response:
    {
    "statusCode": 403,
    "message": "Insufficient scope. One of the following scopes is missing: view_products.",
    "errors": [
    {
    "code": "insufficient_scope",
    "message": "Insufficient scope. One of the following scopes is missing: view_products."
    }
    ],
    "error": "insufficient_scope",
    "error_description": "Insufficient scope. One of the following scopes is missing: view_products."
    }
    ❓What should i do? How to fix it and get the same result as you catch?

    • @savannah633
      @savannah633 Před 11 měsíci +1

      thanks, i forgot to add permission for " Products ( All ) " when i create api-test

    • @sunriseintegration
      @sunriseintegration  Před 11 měsíci +2

      Sounds like you didn't add the correct scope when you created the API key. Go back to the Merchant Center and update the scopes to include the view_products and you should be good to go!