Skip to content
New issue

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

Update upgrade guide for required authentication for changing order and order line metadata #1433

Merged
merged 4 commits into from
Jan 15, 2025
Merged
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions docs/upgrade-guides/core/3-20-to-3-21.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,12 @@ To follow the zero-downtime strategy when upgrading to 3.21, **It is recommended
Otherwise, you will need to downtime your solution to ensure correct data migration.
:::

## Authentication required for changing `Order` and `OrderLine` metadata

The [updateMetadata](/api-reference/miscellaneous/mutations/update-metadata.mdx) mutation for `Order` and `OrderLine` now requires the `MANAGE_ORDERS` permission.
After an order is created, customers cannot edit its metadata. Merchants, however, can modify this data using an app built with the appropriate permission.
Fetching metadata remains unchanged.

## Deprecated `manager.perform_mutation` method

Note: This change only affects open-source Saleor users with custom plugins overriding the `perform_mutation` plugin method.
Expand Down
Loading