A space to discuss GraphQL queries, mutations, troubleshooting, throttling, and best practices.
Hello Forum,
I'd ike to use the Product api to create products in our Bogner US Shopify store
i should be able to make authenticated requests
like
https://apikey:passw@bogner-us.myshopify.com/admin/api/2020-07/products.json
I placed a POST Using SOAP UI
{
"product":
{
"title": "Burton Custom Freestyle 151",
"body_html": "<strong>Good snowboard!</strong>",
"vendor": "Burton",
"product_type": "Snowboard",
"metafields":
[
{
"key": "new",
"value": "newvalue",
"value_type": "string",
"namespace": "global"
}
]
}
and got the message:
{"errors":"[API] Invalid API key or access token (unrecognized login or wrong password)"}
Please let me know what's wrong. I checked apikey and password twice
Best Regards Tony
Hey @TonyJ,
Can you try using a different API client that supports REST (e.g. Postman). The Admin API is only available through GraphQL and REST, and it may be possible that the SOAP UI client you're using isn't injecting the api key/password properly.
CalD | Developer Support @ Shopify
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution
- To learn more visit Shopify.dev or the Shopify Web Design and Development Blog
Hi,
As SOAP UI supports both REST AND SOAP i dont think its the problem . I solved it by addding the API Key to the Http Header in the Request. Done!
Hello, I have the same problem.
Please, if is possible, could you write me with an example the complete string to solve?
Thanks