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.

Re: Set the physical location of Fulfillment app

Solved

Set the physical location of Fulfillment app

patrickpittman
Shopify Partner
8 1 1

I've created a Fulfillment app that handles fulfillments via API – all successfully running, the fulfillment service created via GraphQL (with fulfillmentOrdersOptIn = true) is running smoothly through the entire flow.

 

However, I'm hitting a wall trying to set the physical location of the fulfillment service's location, which is automatically created upon fulfillmentServiceCreate mutation. I don't see any params in GraphQL that let me set this on create, and if I attempt to retrieve and then later edit the appropriate location ID via locationEdit mutation, it returns "not found" on the id i've only just pulled back – from reading elsewhere in the forums, I believe it's because locationEdit can't edit locations created automatically for fulfillment services.

 

It seems the service is being created by default with my partner location, or perhaps just Shopify's location, who can say (Canada), and no further address details, but the app is actually for a warehouse in Berlin, and — for reasons beyond the scope of this request, but trust me, they exist — I need my client's order routing flow to know that this is where it's based.

 

What's the correct method to set this?

Accepted Solution (1)

patrickpittman
Shopify Partner
8 1 1

This is an accepted solution.

If anybody is still trying to work this one out, this ability was opened up in the API later in 2023: https://shopify.dev/changelog/apps-can-now-change-the-name-and-address-of-their-fulfillment-service-...

View solution in original post

Replies 4 (4)

jdorsch
Tourist
9 2 5

We have this same problem.  One of our clients is using a plugin that generates shipping labels using the the location as the origination.  There is no API call that we have found that will let us change the address on the location.  If you happen to get this figured out I would appreciate you following up and I will do likewise.

Todd_Trimakas
Shopify Partner
145 0 28

We are in the same boat.. Maybe if more people tag on to this it'll get some Shopify attention.

ByteStand - Amazon to Shopify in one click
Samruddhi
Shopify Partner
8 0 4

I'm having the same problem; does anyone know how to solve it?

patrickpittman
Shopify Partner
8 1 1

This is an accepted solution.

If anybody is still trying to work this one out, this ability was opened up in the API later in 2023: https://shopify.dev/changelog/apps-can-now-change-the-name-and-address-of-their-fulfillment-service-...