Product POST Method is returning status 200 but don't create a product

Topic summary

A user encounters an issue where POST requests to create products via Shopify’s API return a 200 status code but fail to actually create products. All other HTTP methods (GET, PUT, DELETE) work correctly.

Key Details:

  • The endpoint being used: https://{domain}.myshopify.com/admin/api/2023-07/products.json
  • Status 200 returns even with empty request bodies or missing required fields (like title)
  • Authentication token is valid and other operations succeed
  • Cookie clearing did not resolve the issue

Attempted Solutions:

  • One commenter suggested using the .myshopify.com domain instead of custom domains, which resolved their similar issue
  • The original poster confirmed already using the correct .myshopify.com format
  • Another user noted the problem occurs specifically with recently created API keys (less than a week old), while older keys work fine

Current Status:
Multiple users report experiencing the same problem. No definitive solution has been confirmed, and the discussion remains open with users seeking answers.

Summarized with AI on November 1. AI used: claude-sonnet-4-5-20250929.

Hi everyone, how are going? I’m trying to create a product using the POST request method, but every time I send a request I receive a status 200, but the product that I sent wasn’t created. I already created an authentication token and all routes (DELETE, GET, PUT) except POST are working. I tried to force an error by sending a product without a title, but I have the response status 200.

I searched and saw that the cookies could be the problem, but I cleaned all my cookies in insomnia and I am having the same problem.

I really don’t know what I can do to continue with my script. Someone already faced this kind of problem and could help me? Thanks

3 Likes

Having the same issue on only some sites. Seems to work fine on admin keys that are over a week old but not on any recently made keys. Always seems to just return code 200 and some other stuff with it but never successfully POSTs.

After some experimenting, you need to send the POST request to https://{site}.myshopify.com and not to the custom domain if that’s what is being used. Solved my issue right away.

Yeah, I’m sending to this path → https://{nameOfMyDomain}.myshopify.com/admin/api/2023-07/products.json
However, the information that I’m passing by body in a POST request:

{
  "product": {
    "title": "Burton Custom Freestyle 151",
    "body_html": "**Good snowboard!**",
    "vendor": "Burton",
    "product_type": "Snowboard",
    "variants": [
      { "option1": "First", "price": "10.00", "sku": "123" },
      { "option1": "Second", "price": "20.00", "sku": "123" }
    ]
  }
}

it’s not being added… It’s quite fuzzy cuz I’m receiving 200 status code and all the products are being returned too. (It’ll return 200 even when I don’t send any body)

Empty body :down_arrow:

I’m also facing the same error any solutions to this problem.

Facing the same issue.
If someone finds a solution please email
Your efforts will be appreciated.
Thanks!

1 Like

did you find a solution for this?