Making a POST request to https://name.myshopify.com/admin/api/2023-10/blogs/id/articles.json with the API token and correct body(the one used in Article (shopify.dev)) seems to be returning a 200 with the articles currently present, instead of creating a new article. Even removing the body entirely leads to the same result. It’s almost as if this was replaced by the GET request. Same result on different versions
Topic summary
A developer encountered an issue where POST requests to Shopify’s Admin API for creating blog articles were returning HTTP 200 responses but not actually creating new articles—instead returning existing article data as if it were a GET request.
Troubleshooting attempts:
- Tested with cURL, Node.js, and Insomnia
- Removed request body entirely—same result
- cURL requests returned 301 redirects without creating articles
- Same behavior occurred with product creation endpoints
Resolution:
The issue was resolved by using Shopify’s original store URL format: (numbers-and-letters).myshopify.com instead of a custom or modified domain. The developer discovered this through trial and error after support declined to help without paid specialist assistance.
Key takeaway: Ensure you’re using the exact URL format Shopify provides for API endpoints, as custom domains or URL modifications can cause requests to behave unexpectedly.
Yeah that does sound like a GET request ![]()
How are you sending the request? Have you tried cURL?
curl -d '{"article":{"title":"My new Article title","author":"John Smith","tags":"This Post, Has Been Tagged","body_html":"# I like articles\n
**Yea**, I like posting them through REST.
","published_at":"Thu Mar 24 15:45:47 UTC 2011"}}' \
-X POST "https://your-development-store.myshopify.com/admin/api/2023-10/blogs/241253187/articles.json" \
-H "X-Shopify-Access-Token: {access_token}" \
-H "Content-Type: application/json"
Hi there. Thank you for the answer
Using curl seems to lead to a 301 for some reason, without actually creating the article. I had previously used nodejs and insomnia but both led to the same result, the 200
Same thing seems to be hapenning with the create product? These endpoints are just returning what’s already available on the website instead of actually uploading the data.
Issue fixed. You need to use the original URL shopify gives you (numbers and letters).myshopify.com
Found it out of pure luck, as no dev was bothered to help me and support told me to pay for a specialist. Absolute disgrace
Sorry for the delay and glad you got it sorted. It looks like you were using myshopify.com domain in the screenshots - had you changed the myshopify URL, or were you using a custom domain?
