LineItem AttributedStaff Quantity

As part of the migration from REST to GraphQL the LineItemAttibutedStaff object has been migrated to simply a StaffMember object in GraphQL. This means that as part of the migration applications lose the information about the quantity which was attributed to the staff member. I have been looking through the API and doing some testing and I cannot see any field providing any information about the attributed quantity.

Does anyone know where this information came from in REST and how this could be determined in the GraphQL API?

1 Like

Hi @Mathieu_Nunez,

I can confirm that this is a parity gap between the REST and GraphQL Admin APIs, and at this time we are currently discussing this with our developers further to address the gap and add the staff attributed quantity to the GraphQL API as well.

I’ll keep you updated here as soon as we have any more information to share.

1 Like

Thank you @Kellan-Shopify . For now we will keep fetching this information from REST.

@Kellan-Shopify I have another question related to this. In REST you can have a list of attributed staff but in GraphQL there is only 1. I can see the data we have and the Shopify POS UI that it does not seem to be possible to have more than 1 attributed staff anymore. Can you please confirm if this is the case?

Hi @Mathieu_Nunez,

I can confirm that multiple attributed staff for POS transactions is still available, and the work our developers are doing to address the issue you described above will also address your follow up question. With the work currently being done to resolve this, the GraphQL Admin API will allow multiple staff attributions per line item and order.

Please do note that most orders should have only a single attribute staff member that processed the sale on the POS, though it’s still possible for multiple staff attributions via post checkout order edits, returns, exchanges, etc.

1 Like

Thank you for your reply. Please keep us posted once you have a timeline for this.