Covers all questions related to inventory management, order fulfillment, and shipping.
Hi, we are a fulfillment center and I've done this dozens of times in the past without issue, so not sure what's changed. I'm trying to set us up as a fulfillment service. I'm sending a Post to https://XXX.myshopify.com/admin/api/2024-01/fulfillment_services.json
The body of the message is:
Hi Dseipel,
Is this only happening with one specific store? If you test on a dev store, are you seeing the same behaviour?
Liam | Developer Advocate @ 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
HI Liam, I just tried the exact same request with my development store and everything worked correct. I then when back to my clients store and again, no error, but no fulfillment_services created. I would think if it were a store permission problem that I would get some sort of error, but I don't know what else it could be.
It doesn't sound like a scopes/ permission issue - could there be another fulfilment app on the store that might be conflicting with your API calls somehow?
Liam | Developer Advocate @ 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
Hi Liam,
No, this is a brand new site, there are 2 physical locations that they've set up, but no fulfillment sites. When I do a query on fulfillment_services it shows there's nothing there:
Hi, You need to use the domain name with myshopify.com in the url to create a fulfillment service. you can find your domain name in the domain section in settings page. example : https://XXXXX.myshopify.com/admin/api/2023-01/fulfillment_services.json
Hi, I am using the actual domain in the URL, I simply changed it to XXX in my example to avoid displaying our actual URL. If the URL was invalid I'm sure I would not be getting a status returned of 200 OK.
Hi, just login to Shopify admin from desktop or laptop, after that go to settings, there you will find the url with store details use that. For example https://admin.shopify.com/store/xxxxxx/settings/general. If in url after store there is xxxxxx then use https://xxxxxx.myshopify.com in api calls.
I have the correct URL. If I use that exact same URL to run a GET (instead of the POST I am trying to use to create the fulfillment service) I do get an empty list of fulfillment services. If I had the wrong URL there's no way I would be getting a 200 OK response. The URL is not the problem.
Hi, have you found a solution? I have the same exact issue (except I'm getting Unprocessable Entity). All other clients work except for 2 accounts. This started happening about a month ago.
Our client created a new store and it worked with the new store. Never did figure out why the previous store wouldn't work.