Skip to content

Commit

Permalink
Update upgrade guide for required authentication for changing order a…
Browse files Browse the repository at this point in the history
…nd order line metadata (#1433)

* Update upgrade guide for required authentication for changing order metadata

* Add info about fetching metadata

* Update the upgrade guide
  • Loading branch information
IKarbowiak authored Jan 15, 2025
1 parent c307cf5 commit a0dfb63
Showing 1 changed file with 6 additions and 0 deletions.
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.
Once an order is created, customers cannot edit its metadata. However, merchants and apps with the necessary permissions can modify this data.
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

0 comments on commit a0dfb63

Please sign in to comment.