Grabbing user id from Webhooks or Events API

Highlighted
Shopify Partner
29 0 1

Hi,

I was wondering if there is any possibility to get who created each event (using webhook or event from the API)?

We want to know if a certain event (for example, order fulfillment) has created by a staff member or the merchant.

Is this possible?

 

Thanks!

Harel

A Shopify merchant.
Founder of @Staffy (https://apps.shopify.com/staffy) - Employee management platform for Shopify.
0 Likes
Highlighted
Shopify Expert
4219 31 422

Do you see a user ID in your payloads? No? Well, there is the answer. I think Shopify addresses this by their event log. If you examine the event log visible in an order, you'd see who fulfilled the order. So there is little impetus for Shopify to decorate the payloads to Apps with that kind of information.

Custom Shopify Apps built just for you! hunkybill@gmail.com http://www.resistorsoftware.com
0 Likes
Highlighted
Shopify Partner
29 0 1

I am sorry, which event logs are you talking about?

 

Thanks for the quick response.

A Shopify merchant.
Founder of @Staffy (https://apps.shopify.com/staffy) - Employee management platform for Shopify.
0 Likes
Highlighted
Shopify Expert
4219 31 422

The basic one.

 

https://shopify.dev/docs/admin-api/graphql/reference/object/basicevent?api[version]=2020-04

 

You know, you can see that when you look at an order.

Custom Shopify Apps built just for you! hunkybill@gmail.com http://www.resistorsoftware.com
0 Likes