Shopify POS Employee Included in Order API?

Solved
kingstore
Shopify Partner
170 4 28

We have a unique requirement to get the employee associated with a POS order so we can calculate commission on that order. Does anyone know whether or not a POS order will include the employee name/ID in the orders API?

The best Shopify Inventory Management App: Purchases, Bin Locations, Visual Inventory, Warehouse Management, Pick Pack Ship, Cycle Counts, and more.
Get your first SKUSavvy Mobile Inventory and Order Fulfillment account free for 50 orders
Schedule a call
Accepted Solutions (2)
ShopifyDevSup
Shopify Staff
Shopify Staff
1202 190 419

This is an accepted solution.

HI @kingstore. If you are using this method to attribute sales to staff on a POS order. Then you can recover that staff detail from the OrderTransaction API. You can find information on it here.

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

View solution in original post

ShopifyDevSup
Shopify Staff
Shopify Staff
1202 190 419

This is an accepted solution.

`OrderTransaction` is a GraphQL object, so you should be able to access the `OrderTransaction.user` field in GraphQL.

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

View solution in original post

Replies 3 (3)
ShopifyDevSup
Shopify Staff
Shopify Staff
1202 190 419

This is an accepted solution.

HI @kingstore. If you are using this method to attribute sales to staff on a POS order. Then you can recover that staff detail from the OrderTransaction API. You can find information on it here.

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

kingstore
Shopify Partner
170 4 28
Ok, is this only available via REST? What about GraphQL?
The best Shopify Inventory Management App: Purchases, Bin Locations, Visual Inventory, Warehouse Management, Pick Pack Ship, Cycle Counts, and more.
Get your first SKUSavvy Mobile Inventory and Order Fulfillment account free for 50 orders
Schedule a call
ShopifyDevSup
Shopify Staff
Shopify Staff
1202 190 419

This is an accepted solution.

`OrderTransaction` is a GraphQL object, so you should be able to access the `OrderTransaction.user` field in GraphQL.

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