What's your biggest current challenge? Have your say in Community Polls along the right column.
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.

Grabbing user id from Webhooks or Events API

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 Partner
4853 60 568

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 Partner
4853 60 568

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