We're trying to understand if it's feasible to get the user_id (we know it's for Plus only) or at least the user name who fulfilled an order. We tried to catch the event through a Graphql query but it seems we're doing something wrong.
I see the issue, All the user_id fields in the order and fulfillment api are actually the user who created the order at POS which isn't much help.
I think you'll have some luck using the Events API
There is an event REST api for fulfillment. Pretty sure the 'author' is the shopify user who triggered the event.
Haven't used it in my own code but after reading the docs it looks like the ticket.
You could possibly match your order # to an event. Further filtering by creation date and verbs 'fulfillment_success'.
Scroll down to order events and look at the GET request.
Hey there, thanks for the response.
Yes, the user_id is related to the creator only as mentioned.
We have tried what you offered - and it shows only ["create", "published", "confirmed"] verbs for some reason. No fullfilment verbs. Any idea?