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.

How to send default "Picked up by customer" email using API?

How to send default "Picked up by customer" email using API?

Robin49
Shopify Partner
3 0 0

I am attempting to send the default 'Picked up by customer' email notification through the Shopify API. Despite my efforts, I have been unable to find a specific API endpoint or method dedicated to triggering this notification. I am trying to gain access to "local pickup".
I have found a way to automatically change the order status to 'Ready for pickup' using the 'fulfillmentOrderLineItemsPreparedForPickup' feature. However, I need a way to complete the process, fulfill the order, and send the 'Picked up by customer' email. I do not want to send the 'Your order is on the way' email that is sent when a fulfillment is created.

Is there any solutions or workaround out there?
Best regards,
Robin

Some images from Shopify Admin. The "Manual" way to do it.

Screenshot_021424_034419_PM.jpg

Screenshot_021424_034509_PM.jpg

Screenshot_021424_034611_PM.jpg



Replies 6 (6)

Liam
Community Manager
3108 344 889

Hi Robin,

 

If you use the fulfillmentCreateV2 mutation, after `fulfillmentOrderLineItemsPreparedForPickup`, will this send a regular fulfilled order notification?

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

Robin49
Shopify Partner
3 0 0

Hey Liam,

Yes, when using the fulfillmentCreateV2 mutation, it fulfills the order and sends the default "Your order is on the way" email notification. However, that's not going to work when the customer just picked up the order at the store.

Liam
Community Manager
3108 344 889

Our internal dev team are looking into this!

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

Robin49
Shopify Partner
3 0 0

Hey, do we have any updates on this?

adam_reevela
Shopify Partner
1 0 0

Any updates?

ShopifyDevSup
Shopify Staff
1453 238 522

Hey @Robin49 and @adam_reevela

 

Currently local pickup orders come through as fulfillments and don't have the support in the mutation to send as "picked up", instead creating a fulfillment, as you've experience will send the fulfillment notifications. 

 

This is definitely something they are looking in to as Liam has mentioned, but I don't have a timeline on availability. It would be best here to keep an eye on the developers changelog for any changes to these API's. 

 

- Kyle G.

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