Have your say in Community Polls: What was/is your greatest motivation to start your own business?
Our Partner & Developer boards on the community are moving to a brand new home: the .dev community forums! While you can still access past discussions here, for all your future app and storefront building questions, head over to the new forums.

Cannot go to checkout url that is created checkout rest api

Cannot go to checkout url that is created checkout rest api

Jasoliya
Shopify Partner
4823 625 1225

I am creating bundle page. For that i am using checkout REST api for create checkout and redirect to it. After call ing this api, i get response with no error and status code 200. However when i redirect to web_url that is return by checkout api, i got 422 error. I don't know what is the issue.

 

Want custom changes? hire me.
3 months of Shopify for $1/month. Look here.
Email us Or WhatsApp, Try our Free app for product bundles and Codify Order Cancel or Order edit
Want to get Free review and advice for sale on store ?? just text me here
Reply 1 (1)

ShopifyDevSup
Shopify Staff
1453 238 525

Hey @Jasoliya, this is a great question. Just to confirm - are you filtering that generated web_url into another API call to redirect a user or are you just accessing it through a browser? If you're accessing it through a browser, could you share the X-Request-ID you'd receive in response to the REST call you made to generate the web_url value and if not through the browser, could you the X-Request-ID from the response header where you received the 422 response? 

With that we can take a closer look at the error on our end to see what may have been the cause. Hope to hear from you soon!

Developer Support @ Shopify
- Was this reply helpful? Click Like to let us 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