Grabbing user id from Webhooks or Events API

Harel
Shopify Partner
42 1 4

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


Founder of @EasyTeam (https://apps.shopify.com/staffy) - A staff management & payroll platform for Shopify & Shopify POS.
Replies 3 (3)

HunkyBill
Shopify Expert
4851 60 555

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
Harel
Shopify Partner
42 1 4

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

 

Thanks for the quick response.


Founder of @EasyTeam (https://apps.shopify.com/staffy) - A staff management & payroll platform for Shopify & Shopify POS.
HunkyBill
Shopify Expert
4851 60 555

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