Development discussions around Shopify APIs
I've used webhooks and created apps many times before, but I'm struggling to get my head around fulfillments, either the documentation is wrong or I'm missing something.
I'm creating an app to handle print on demand products, I've authed my app with the store and registered it as a Fulfillment service. I can set product variants to be handled by my app, but this is where I'm struggling.
I added the callback url for my fulfillment service, and I understand the callback url will have /fulfillment_order_notification appended to it, to call when a fulfillment is requested. So I have an endpoint at:
https://myexampleurl.com/integrations/shopify/fulfillment_order_notification (https://myexampleurl.com/integrations/shopify being my callback url)
This never gets called, so I gave up on it. Instead I'm calling:
Solved! Go to the solution
This is an accepted solution.
as it turns out I was missing
Hey @neilzilla ,
Can I ask you to pass us an x-request-id from a call that returned a 422? The newer the better. We can take a quick look to see if there is anything obvious in the call that is causing that error to return.
Graham S | API 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
3d5f758d-9ca9-49f9-936f-a1a133942608 is the x-request-id
I've noticed the message:
The fulfillment service has not registered for fulfillment order based fulfillments
But my app has the following scopes, I can't find any more to add to test:
This is an accepted solution.
as it turns out I was missing
User | RANK |
---|---|
12 | |
6 | |
5 | |
5 | |
5 |
Learn these 5 things I had to learn the hard way with starting and running my own business
By Kitana Jan 27, 2023Would you love to unleash the unbridled power of the Google Shopping Channel into your sho...
By Gabe Jan 6, 2023How can you turn a hobby into a career? That’s what Emmanuel did while working as a wa...
By Skye Dec 30, 2022