Graphql Mutation with multiple selector(using AND operand in where clause)

i am having the same issue how can i update my product quantity endpoint when a user purchase an item