Local Pickup APIs

Jentsch
Shopify Partner
29 0 3

Hey all, 

 

I am looking at developing an application for internal use to handle click and collect (local pickup). I know that the orders endpoint returns a site location which is great and allows filtering local pick up orders. 

 

I am wondering though, if anyone has managed to handle the notification to the customer - mark as ready and mark as collected through using the APIs and if so is it possible just to post an example of the request? I couldn't see these on Shopify Flow either as I was thinking that the app could just add / remove tags and then those tags could trigger flows or something similar. 

 

Thanks!

Replies 7 (7)

wesista
Shopify Partner
6 1 4

I believe this isn't something that Shopify apis support yet (2+ years after local pickup was released) which is quite frustrating - the local pickup feature was released in a hurry around covid lockdowns in 2020, and doesn't seem to have been updated since then.

Nice idea on the Shopify Flow concept though - is that something that Shopify Flows looks like it could support, or is that functionality missing from Shopify flow?

pstinson
Visitor
2 0 1

HI,

Did anyone find a solution to this? I would like to be able to do the same !

Jentsch
Shopify Partner
29 0 3

Hey @wesista 

 

Damn! I definitely couldn't see any of that information within the payload but I do know that sometimes the Shopify API documentation is missing. 

 

As far as I've been able to see with Flow (haven't tested much) but it does have the ability to consume tags and then do IF/ELSE or other logic based off those tags. 

Lawson_Thalmann
Shopify Partner
80 0 65

Yes, I need this as well! 

bornshiva
Shopify Partner
14 0 5

Is there any update on this from Shopify?
we need this functionality through API

Jentsch
Shopify Partner
29 0 3

Just replying to this thread. 

 

It looks like there is now an endpoint in graphQL to mark items on a click and collect order as ready for pickup - https://shopify.dev/api/admin-graphql/2023-01/mutations/fulfillmentOrderLineItemsPreparedForPickup

 

From looking at that I guess the general flow would be to query fulfillmentOrders to get the Id and then use that mutation to update the line items. The query doesn't support tags but the Orders query does so that might be an option to. 

 

Hope this helps! not too sure how long that mutation has been available. 

 

Thanks!

wesista
Shopify Partner
6 1 4

Amazing!  Looks like that one came in in the 2023-01 version, stoked to see that!