0

I want to sort the products graphql with backorder and is_in_stock attribute. Please let me know if anyone has any solution for it. I tried with quantity_and_stock_status it is applied only on qty.

1 Answer 1

0

You don't need any special query methods to retrieve custom attributes. We can just pass the custom attribute code to the query. And also for filtering you can simply pass the attribute name, please follow this documentation:

CHeck this -> GraphQL Custom Filters

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.