You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Saleor allows users to fetch checkout and orders by ID without permission. Since this might be considered a security risk, we should document how it works in more detail.
Checkout and order GraphQL IDs are based on a hard-to-guess UUID. As long as it is not shared anywhere, you need to know the ID to fetch these objects.
When the user field is set (i.e., a checkout/order is associated with a user account), it won't be returned when querying without an auth token. The user field can be fetched only by the owner.
Use case:
Sending email with order confirmation you a link to "track the status of your order" without signing in, similar to how delivery service tracking emails work
Saleor allows users to fetch checkout and orders by ID without permission. Since this might be considered a security risk, we should document how it works in more detail.
user
field is set (i.e., a checkout/order is associated with a user account), it won't be returned when querying without an auth token. Theuser
field can be fetched only by the owner.Sections where this should be mentioned:
The text was updated successfully, but these errors were encountered: