Focusing on managing products, variants, and collections through the API.
Dear team support,
I have an issue with creating and updating the API access token generated from the developer app on Shopify.
- I have created a new developer app on Shopify admin and added admin API access scopes as below.
- I get an admin API access token from the development app. After that, I prepare my post body with the unique name sku and handle... to post a new product to store via a postman request with headers (X-Shopify-Access-Token,Content-Type:application/json) and method POST through admin/api/2024-01/products.json.
-I had to create one product manually on store admin.
- After preparing on Postman and making the send request, it's always response status 200 with the existing product I had created manually on store admin. You can see the image below:
Why is it not working with my store? The access token I got from the developer app is working with get requests, e.g., requests to retrieve a product or a product list, and other requests with post or put are not working.
Please help to check and provide me the solution to solve it. Thanks
Solved! Go to the solution
This is an accepted solution.
Everything works after changing domains to use the primary domain.
This is an accepted solution.
Everything works after changing domains to use the primary domain.