Quantcast
Channel: Opinion: Shopify Community - Shopify APIs & SDKs
Viewing all articles
Browse latest Browse all 25503

Neil Costford commented on Unable to create order via API

$
0
0

Hi Aleksandar,

Thanks for posting a clear explanation of your problem, and especially for posting the solution once you found it. Those HTTP headers should indeed be set when making all JSON requests to the API. Some tools do this automatically for you; I see you're using Postman, which I guess doesn't.

Because Shopify doesn't know how to correctly parse your payload, the errors it will return are somewhat unpredictable. It might help others who run into this issue if we added that information to our own API documentation, so I'll look into getting that done.

Thanks again!


Viewing all articles
Browse latest Browse all 25503

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>