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?
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.
1 Like
Ok, is this only available via REST? What about GraphQL?
1 Like
OrderTransaction
is a GraphQL object, so you should be able to access the OrderTransaction.user
field in GraphQL.