Skip to content
Back to skills

Saleor Knowledge Patch

ASecurity

Saleor

  • 25 stars
  • 0 votes
  • 0 copies
  • 7 views
  • Added September 5, 2026
developmentgosqlgitapisecurity

Works with

  • cli
  • api

Security analysis

A100/100

Pro scans all 8 files and shows the line behind each finding

Scanned December 1, 2026

npx -y skills add Nevaberry/nevaberry-plugins --skill saleor-knowledge-patch --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Saleor Knowledge Patch?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Saleor Knowledge Patch
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/nevaberry-saleor-knowledge-patch/badge)](https://www.skillsdirectory.com/skills/nevaberry-saleor-knowledge-patch)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: saleor-knowledge-patch
description: Saleor
version: null
license: MIT
metadata:
  author: Nevaberry
---


# Saleor knowledge patch

Load this skill when updating Saleor GraphQL clients, storefront checkout flows,
payment apps, webhook integrations, Dashboard extensions, or self-hosted deployments.
Use the topic references for complete migration details and patch-specific behavior.

> [!CAUTION]
> The `upcoming-3.24` guidance is prerelease and may change before stable release.
> Prerelease guidance is marked beside each applicable item.

## Reference index

| Reference | Topics |
| --- | --- |
| [Accounts and permissions](references/accounts-and-permissions.md) | Authentication, account privacy, address persistence, customer search, metadata and attribute permissions, app permissions |
| [Apps, webhooks, and telemetry](references/apps-webhooks-and-telemetry.md) | App installation, Dashboard extensions, synchronous validation, event delivery, payload generation, management commands, tracing, metrics, logs |
| [Catalog, attributes, and search](references/catalog-attributes-and-search.md) | Models, references, attribute predicates, product fields, external IDs, search, stock, channel listings, media, translations, EditorJS |
| [Checkout and orders](references/checkout-and-orders.md) | Checkout mutations, delivery, shipping snapshots, prices, taxes, discounts, vouchers, order settings, notes, search, notifications |
| [Deployment and removals](references/deployment-and-removals.md) | Plugin migrations, digital-content cleanup, GraphQL contracts, exports, environment settings, workers, migrations, security updates |
| [Payments and refunds](references/payments-and-refunds.md) | Structured payment details, minor units, transaction queries and events, idempotency, refund requirements, gift cards |

## Breaking changes and deprecations

### Plugin migrations

Replace `mirumee.payments.stripe` with `saleor.payments.stripe`.
Migrate the removed invoicing plugin to an app subscribing to `INVOICE_REQUESTED`;
`invoiceRequest` works with that app alone. The plugin manager removes
`perform_mutation` and `change_user_address`.
Migrate the Adyen and NP Atobarai payment gateway plugins to their corresponding apps.
Remove the deleted `Payment.partial` field from GraphQL selections.

### App installation and extension fields

Supply the required `appName` and `manifestUrl` in `AppInstallInput`.
The manifest's `tokenTargetUrl` is optional.
On `AppExtension` and `AppManifestExtension`, replace `mount`, `target`, and `options`
with `mountName`, `targetName`, and `settings`.
Manifest installation accepts strings for `mount` and `target` and JSON for `options`;
Dashboard handles extension validation.

### Deprecated product, order, and export APIs

Use `Product.productVariants` instead of `Product.variants`.
`ProductType.hasVariants` is deprecated: products can have multiple variants regardless
of the flag, and assigning variant attributes is independent of it.
For orders and draft orders, use `where` and `search` instead of the deprecated `filter`.
Use `voucherCode` instead of `voucher` in `DraftOrderInput` and `DraftOrderCreateInput`.
Read `OrderLine.discounts` and `OrderDiscount.total`; `OrderDiscount.amount` and
`DraftOrderInput.discount` are deprecated.
`exportProducts`, `exportGiftCards`, and `exportVoucherCodes` are deprecated;
fetch data through GraphQL and format exports in an app or external tool.

### Password login and account behavior

With `PasswordLoginMode` set to `DISABLED`, `tokenCreate`, `setPassword`,
`passwordChange`, `requestPasswordReset`, and `tokenRefresh` return errors.
With `CUSTOMERS_ONLY`, staff signing in with a password receive customer permissions only.
`staffDelete` deletes the user even when they have order history.
The first time an OIDC provider claims an existing user, the user's password is invalidated.
`accountRegister` drops the returned user ID. It and `confirmAccount`,
`requestPasswordReset`, and `setPassword` conceal whether the email address is registered.

### Additional removed payment gateway plugins

> **Prerelease (`upcoming-3.24`):** This guidance may change before stable release.

Before upgrading, remove `mirumee.payments.authorize_net`, `mirumee.payments.razorpay`,
`mirumee.payments.braintree`, `mirumee.payments.dummy`, and
`mirumee.payments.dummy_credit_card` from deployment configuration.

### App installation permission restriction

> **Prerelease (`upcoming-3.24`):** This guidance may change before stable release.

Remove `MANAGE_APPS` from any installed app that has it before upgrading.
App installations that request this permission are rejected in 3.24.

### Bulk deletion limits

> **Prerelease (`upcoming-3.24`):** This guidance may change before stable release.

All bulk delete mutations default to at most 100 `ids` per call and return `INVALID`
when the limit is exceeded. Split requests to fit the deployment's `BULK_DELETE_LIMIT`.

### Checkout address update arguments

> **Prerelease (`upcoming-3.24`):** This guidance may change before stable release.

Use `id` in `checkoutShippingAddressUpdate` and `checkoutBillingAddressUpdate`.
Both mutations drop `checkoutId`.

### Checkout line deletion

> **Prerelease (`upcoming-3.24`):** This guidance may change before stable release.

Replace `checkoutLineDelete` with `checkoutLinesDelete`, passing checkout `id` and
`linesIds`. Remove any legacy `token` or `checkoutId` argument.

### Channel order settings

> **Prerelease (`upcoming-3.24`):** This guidance may change before stable release.

Read `channel.orderSettings` and write through the `orderSettings` input of
`channelUpdate`. The top-level `orderSettings` query and `orderSettingsUpdate` are removed.

### Attribute presentation settings

> **Prerelease (`upcoming-3.24`):** This guidance may change before stable release.

Remove `filterableInStorefront`, `filterableInDashboard`, `availableInGrid`, and
`storefrontSearchPosition` from `Attribute` selections and from `AttributeCreateInput`
and `AttributeUpdateInput`, including bulk mutations.
Keep presentation settings in the client or attribute metadata.
The catalog reference details the removed filter fields and sort enum values.

### Empty attribute predicates

> **Prerelease (`upcoming-3.24`):** This guidance may change before stable release.

For pages, products, and product variants, `where.attributes` set to `null` or `[]`
matches nothing. A predicate that builds no condition, such as
`reference: { pageSlugs: {} }`, also matches nothing; omit the filter when no condition applies.

### Gift-card and voucher exports

> **Prerelease (`upcoming-3.24`):** This guidance may change before stable release.

`exportGiftCards`, `exportVoucherCodes`, and their input and payload types are removed.
Get the export data from `giftCards` and `voucher` queries.
The migration deletes subscriptions to `GIFT_CARD_EXPORT_COMPLETED` and
`VOUCHER_CODE_EXPORT_COMPLETED`, so webhooks subscribed only to those events stop firing.
The corresponding `GiftCardExportCompleted` and `VoucherCodeExportCompleted` types are removed.

## Checkout delivery and stock

Call `deliveryOptionsCalculate` when fresh delivery options are needed from
`SHIPPING_LIST_METHODS_FOR_CHECKOUT` and `CHECKOUT_FILTER_SHIPPING_METHODS`.
Pass the returned `CheckoutDelivery` ID as `deliveryMethodId` to
`checkoutDeliveryMethodUpdate`; `ShippingMethod` IDs are deprecated there.
Read `Checkout.delivery` instead of `Checkout.shippingMethod` or `Checkout.deliveryMethod`.

Check `Checkout.problems` after changes such as editing an address or applying a voucher.
`CheckoutProblemDeliveryMethodStale` triggers revalidation at `checkoutComplete`;
`deliveryOptionsCalculate` can revalidate sooner.
`CheckoutProblemDeliveryMethodInvalid` blocks completion until
`checkoutDeliveryMethodUpdate` assigns a valid option.

Set `useLegacyShippingZoneStockAvailability: false` in `ShopSettingsInput` to use
direct warehouse-channel links. The setting is exposed on `Shop` and defaults to
`true` for existing installations, which continue filtering stock by shipping zone
and destination. The `address` argument on `ProductVariant.stocks`,
`ProductVariant.quantityAvailable`, and `Product.isAvailable` is deprecated and
ignored in direct-link mode. The catalog reference lists all affected operations.

## Payments and refunds

Payment apps can supply `PaymentMethodDetails` through mutations or webhooks.
Move payment details stored in `TransactionItem` metadata to the structured object.
Transactions created before 3.22 have no structured details; new transactions have
them when the payment app supplies them.
Use `Money.fractionalAmount` and `Money.fractionDigits` for providers using minor units.
Checkouts using the Transaction API can use gift cards as a payment method.

Supply the required transaction ID in `OrderGrantRefundCreateInput.transactionId`.
To require refund reasons, create a Model Type and a model per selectable reason,
then configure refunds to require staff to select one. Staff can also enter a custom message.
Since 3.23.36, transaction action requested webhooks include `idempotencyKey`;
use it when implementing idempotent handling in a payment app.

## Webhook validation and execution

Synchronous responses are checked for types, string lengths, and numeric bounds.
Invalid shipping responses are logged and discarded so processing can continue.
Invalid tax or payment responses interrupt checkout or order processing and record
errors in `Checkout.tax_error`, `Order.tax_error`, or `TransactionEvent.message` as applicable.
Use `saleor/json_schemas.py` for the same JSON Schema definitions used by synchronous webhooks.

The synchronous webhook circuit breaker is disabled by default and can temporarily
block an app exceeding the error threshold. Use dry-run mode to evaluate the policy
and choose event types to monitor or block. Deactivated apps receive no webhook deliveries.
An asynchronous order event calls synchronous webhooks only if its subscription
requests data that needs them. Order, draft-order, and fulfillment event payloads
are built in a background task. From 3.23.42, per-webhook `payloadGeneration` can opt
a webhook out of deferred payload generation.

## Customer data and metadata

Pass `saveBillingAddress` or `saveShippingAddress` with the corresponding valid address
in the applicable checkout or draft-order mutation. These flags control address-book
writes on completion for signed-in customers. Defaults save at checkout completion
and skip saving at draft-order completion. Click & Collect skips saving the shipping
address regardless of the flag; the accounts reference lists the supported mutations.

`transactionUpdate` merges `metadata` and `privateMetadata` into stored values.
Updating metadata on an `Order` or `OrderLine` requires `MANAGE_ORDERS`.
Invalid metadata identifies `metadata` or `privateMetadata` in `error.field`.
`checkoutLinesAdd` validates line metadata, and `checkoutLinesUpdate` accepts it per line.

## Catalog, search, and operations

Dashboard calls Pages Models and Page Types Model Types; GraphQL retains `Page` and `PageType`.
Use `SINGLE_REFERENCE` for one referenced object. `AttributeEntityType` accepts
`CATEGORY` and `COLLECTION`; allowed product types or model types can limit product and model references.
Product, order, gift card, checkout, page, and user search support prefix and
accent-insensitive matching, `AND`, `OR`, unary `-`, and quoted phrases.
Exact matches rank ahead of prefixes by default; override with `sortBy` or choose `RANK` for relevance.

Move self-hosted OpenTracing deployments to an OpenTelemetry-compatible collector
for OTLP traces and metrics. The public telemetry stream omits low-level spans such
as individual SQL queries. W3C Trace Context propagates traces across the storefront,
API, and synchronous apps. The deployment reference contains settings, worker,
migration, and security changes with their patch-specific attribution.

Files in this skill

  • SKILL.md8.7 KB
  • coverage.json628 B
  • references/accounts-and-permissions.md2.6 KB
  • references/apps-webhooks-and-telemetry.md3.8 KB
  • references/catalog-attributes-and-search.md4.6 KB
  • references/checkout-and-orders.md5.3 KB
  • references/deployment-and-removals.md3.9 KB
  • references/payments-and-refunds.md2.4 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in development →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.