Skip to content

Commit

Permalink
Update upgrade guide for required authentication for changing order m…
Browse files Browse the repository at this point in the history
…etadata
  • Loading branch information
IKarbowiak committed Jan 8, 2025
1 parent 685d481 commit 207276a
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 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,11 @@ 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.

## 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 207276a

Please sign in to comment.