We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I'm trying to find the slug of all the products that a customer bought with this query:
query { activeCustomer { orders( options: { filter: { state: { in: ["PaymentAuthorized", "PaymentSettled", "Delivered"] } totalQuantity: { gt: 0 } } } ) { items { lines { productVariant { product { slug } } } } } } }
During my testing I deleted a product previously bought by the customer. This result in the following error when running the query :
{ "errors": [ { "message": "No Product with the id '16' could be found", "locations": [ { "line": 9, "column": 13 } ], "path": [ "activeCustomer", "orders", "items", 16, "lines", 0, "productVariant", "product" ], "extensions": { "code": "ENTITY_NOT_FOUND" } } ], "data": { "activeCustomer": null } }
The text was updated successfully, but these errors were encountered:
511f04d
michaelbromley
No branches or pull requests
I'm trying to find the slug of all the products that a customer bought with this query:
During my testing I deleted a product previously bought by the customer.
This result in the following error when running the query :
The text was updated successfully, but these errors were encountered: