Set per-order editing policies with the Revize rules engine. Match orders on tags, customer, metafields, value, destination, and more, then control the editing deadline and apply actions like fulfillment holds, hidden modules, and tags. Available on Pro and above.
Revize is a Shopify app for post-checkout order editing.
One store-wide editing window forces compromises. The rules engine lets you set a different editing policy per order: pre-orders stay open for weeks, in-stock orders lock in minutes, VIPs get extra time, and high-risk destinations are locked down. You get full control, order by order.
Why a rules engine helps
Full control, per order
Instead of one window for the whole store, give each kind of order the exact editing policy it needs.
Protect fulfillment
Lock editing fast on in-stock orders, or hold fulfillment while an order stays editable, so nothing ships mid-change.
Reward the right customers
Give VIPs or wholesale accounts a longer editing window without opening it up for everyone.
Built for mixed catalogs
Pre-order plus in-stock, subscription plus one-off, B2B plus retail. Each segment gets its own deadline and behavior.
How a rule works
A rule has three parts. You define when it applies, how long editing stays open, and what else should happen.
1
Conditions: when the rule applies
Pick what an order must match: tags, customer, metafields, value, destination, and more. Combine conditions with AND/OR logic.
2
Editing deadline: how long editing stays open
Choose the deadline for matched orders: the store default, a fixed duration, a scheduled cutoff, a specific time, a date from a metafield, or until the order is fulfilled.
3
Actions: what else happens
Optionally hold fulfillment, hide specific edit modules, apply tags, or disable editing entirely for matched orders.
Rules run in priority order and the first match wins. Any order that matches no rule falls back to your store-wide editing window, so you can roll out rules gradually with zero migration.
Conditions
Add one or more conditions to decide which orders a rule applies to. The rule matches when the conditions evaluate true against the order.
Condition
What it matches
Operators
Example value
Order tags
Tags on the order
is, is not, contains, does not contain
pre-order, in-stock
Customer tags
Tags on the order’s customer
is, is not, contains, does not contain
vip, wholesale
Metafield
An order metafield by namespace and key
exists, equals
namespace custom, key process_date, value red
Order value
The order total
is greater than, is less than
150 (a number, in your store currency)
Destination country
The shipping country
is
ISO codes such as us, ca, gb
Shipping method
The shipping method chosen at checkout
is, is not, contains, does not contain
Standard, Express
B2B orders
Orders placed by a B2B company
is true
no value
Subscription
Recurring subscription orders (Skio, Recharge, and similar)
is true
no value
Pickup
Local pickup orders
is true
no value
Sales channel
The order’s sales channel
is
web, pos, draft_order
Days of week
Orders placed on specific weekdays
is
Mon, Tue, Fri
Time window
Orders placed during specific hours (store timezone)
between
18:00 to 06:00 (24-hour, spans midnight)
Group your logic. Combine conditions with AND (match all) or OR (match any). For more complex rules, add condition groups and set how the groups combine, so you can express things like “(VIP customer) OR (order over 500 AND ships to Germany)”.
Values are free text where it makes sense. Tags, shipping methods, and metafield values are entered as you type them (tags and countries as chips). Country and sales-channel values are matched case-insensitively. There is no product or SKU condition; to target specific products, tag those orders (for example with Shopify Flow) and match the order tag.
Editing deadline
The deadline controls how long matched orders stay editable.
Mode
What it does
Buffer
Store default
Uses your store-wide editing window. No per-rule override.
No
After a duration
Editable for a set time after the order is placed. Presets: 15 minutes, 30 minutes, 1 hour, 24 hours, 48 hours, or a custom value.
No
Scheduled cutoff
One or more weekday and time cutoffs (for example every Friday at 5pm).
Yes
Specific time
A fixed wall-clock cutoff, daily or on a chosen weekday.
Yes
From a metafield date
Reads the deadline from an order metafield. Used by pre-order shops where the ship date is set per order by Shopify Flow.
Yes
Until fulfilled
Editing stays open until Shopify marks the order fulfilled.
No
Buffer. Scheduled cutoff, specific time, and from-a-metafield-date deadlines support a buffer: a stretch of time before the nominal deadline where editing is already closed. For a Friday 5pm cutoff with a 2-hour buffer, editing closes at 3pm, so an order placed anywhere from 3:01pm to 4:59pm finds editing already closed rather than getting a shortened window. Set a buffer value and a unit of minutes, hours, or days.
What the metafield must hold (From a metafield date). You enter the metafield namespace (for example custom) and key (for example process_date). The metafield itself must hold a date or datetime: a Shopify date or date and time metafield, an ISO 8601 datetime (2026-07-15T17:00:00Z), a plain date (2026-07-15), or a Unix timestamp all work. Dates without a timezone are read in your store timezone.
Actions
Actions are optional side effects that run for orders a rule matches. Each is a simple on/off toggle.
Tag orders
Apply one or more tags to the order once its editing deadline closes, not when the rule first matches. Useful for downstream automations, for example tagging orders as soon as editing closes so Shopify Flow or your 3PL can act on them.
Hold fulfillment
Place a Shopify fulfillment hold while the order stays editable, so it does not ship mid-change. The hold is released when the editing deadline passes.
Hide modules
Hide specific edit actions from the customer portal for matched orders. Pick any of: Add products, Replace products, Change variant or quantity, Edit shipping address, Edit contact information, Upgrade shipping method, Download tax invoice, Apply discounts, Cancel order, Contact customer support, Add preferred delivery date, Add custom note.
Disable editing
Turn off editing entirely for matched orders. The portal editing section is not shown, regardless of the deadline.
A couple of natural constraints keep rules sensible: Disable editing and Hold fulfillment cannot both be on (a disabled order has nothing to hold for), and the Until fulfilled deadline turns off Hold fulfillment and Tag orders, since those act on a time-based cutoff.
Priority and fallback
First match wins. Rules run in priority order, top to bottom. The first rule whose conditions match an order is applied, and the rest are skipped.
Drag to reorder. Reorder rules on the list page to change their priority. Put your most specific rules above your broadest ones.
Fallback to the store default. Any order that matches no rule uses your store-wide editing window. You can add rules incrementally without touching your default.
How rules are evaluated
Evaluated when the order is placed. Revize snapshots the order (tags, customer, metafields, value, destination, and more) and picks the matching rule.
Flow-aware. Shopify Flow often writes tags or metafields a moment after checkout. Revize waits up to a minute for that late-arriving data and re-evaluates, so those orders still match the right rule.
Two things stay dynamic after checkout:
Metafield-date deadlines shift with the date. If a rule reads its deadline from a metafield and that date changes (for example a pre-order ship date pushed back), the deadline moves with it.
Tag-based rules re-match when tags change. If a rule matches on order tags or customer tags and those tags are added or removed later (by Shopify Flow, an app, or your team), Revize re-evaluates and can apply a different rule, updating the deadline.
Customer edits do not re-trigger it. A customer editing their own order (address, items, quantity, value) never changes which rule applies or shifts the deadline. Only the rule inputs above (tags and rule-referenced metafields) drive re-evaluation.
Example rules
Five setups merchants run today:
Scenario
Condition
Editing deadline
Actions
Pre-order shop
Order tag pre-order
Until fulfilled
None
VIP differentiation
Customer tag vip
After a duration, 48 hours
None
B2B end-of-business cutoff
B2B orders
Scheduled cutoff, weekdays 5pm
None
High-risk destination lockdown
Destination is ru or by
Store default
Disable editing
Fast-shipping in-stock SKUs
Order tag in-stock
After a duration, 30 minutes
None
Create a rule
1
Open the rules engine
In the Revize app, go to Order Editing → Editing policy and find the Editing rules card. Click Create rule when you have no rules yet, or Show all to open the Editing rules page and click Create manually there. (The button reads Create rule if the AI composer is off for your store.)
2
Name the rule and set its status
Give the rule a clear name (for example “VIP Customers”) and set its status to Active when you are ready for it to apply.
3
Add conditions
Click Add condition to choose what orders it matches. Add more conditions or an Add condition group for complex logic, and set AND/OR.
4
Choose the editing deadline
Pick a deadline mode. For After a duration, choose a preset or set a custom value. For scheduled, specific-time, or metafield-date modes, set the cutoff and an optional buffer.
5
Set actions
Optionally turn on Tag orders, Hold fulfillment, Hide modules, or Disable editing.
6
Save and prioritize
Save the rule. Back on the list, drag rules into priority order so the most specific ones sit above the broadest ones.
Order your rules from most specific to most general. A narrow rule like “high-risk destination lockdown” should sit above a broad rule like “all orders editable for 24 hours”, so the specific policy wins.
Draft rules with AI
Describe the policy you want in plain words and Revize drafts the rules for you. Nothing changes for your orders until you review a draft and turn it on.
1
Open the Editing rules page
Click Create with AI on the AI Rules Engine card on the home page, or Build with AI on the Editing rules card in Order Editing → Editing policy (shown once you have at least one rule). The AI box sits at the top of the Editing rules page.
2
Describe your rules
Type what you want, for example “Give B2B orders 30 days to edit” or “Block edits on pre-order tagged orders”, then click the arrow button (or press Cmd or Ctrl + Enter).
3
Review the suggestions
Revize lists each suggested rule with a one-line summary of its conditions, deadline, and actions. Click Preview to see a rule in full and untick any you don’t want. To change the drafts, type a follow-up instruction (for example “make it 48 hours instead”) and send it again.
4
Add them to your rules
Click Add to rules (or Add 2 to rules when you ticked only some). The rules are added to the bottom of your list, turned off and marked with an AI badge. Open each one, check it, drag it into the right priority, then switch it on and save. Click Discard to drop the suggestions instead.
What the AI does and doesn’t do
It only drafts. It never edits, reorders, deletes, or turns on your existing rules.
It uses the same conditions, deadlines, and actions as the manual editor, so the same limits apply: there is no product or SKU condition and no fixed calendar-date deadline. For a date per order, store it in an order metafield and ask for a metafield-date deadline.
It won’t make up a metafield you didn’t mention. Name the exact tag, metafield namespace, and key you use so the draft matches your orders.
It drafts a few rules per request. If you ask for too much at once, it asks you to describe fewer rules.
The box shows how many AI requests you have left this month.
The AI composer is part of the rules engine, so it’s on the Pro plan and turned on automatically. Always read a draft before you switch it on: you are the one who approves every rule.
Frequently asked questions
Which plan includes the rules engine?
The rules engine is available on the Pro plan and above. On other plans, every order uses your store-wide editing window.
What happens to orders that do not match any rule?
They fall back to your store-wide editing window. Rules only override the default for the orders they match, so adoption is incremental with zero migration.
If an order matches more than one rule, which one wins?
The first match wins. Rules are evaluated in priority order (top to bottom), and only the first rule whose conditions match is applied. Drag rules to reorder their priority.
Do rules re-apply if a customer edits their order?
No. A customer editing their own order (address, items, quantity, value) does not change which rule applies or shift the deadline. Revize does re-evaluate when the inputs a rule depends on change: order tags, customer tags, or a metafield the rule reads. So a metafield-date deadline moves if the date changes, and a tag-based rule re-matches if the order’s tags change.
Do rules apply to orders placed before I created the rule?
No. Rules apply to new orders placed after the rule is active. Existing orders keep the deadline they already had.
Can I match on a specific product or SKU?
Not directly. There is no product or SKU condition. Match on order tags instead (for example tag in-stock SKUs at checkout with Shopify Flow, then match the in-stock order tag).
Will late tags from Shopify Flow be respected?
Yes. Revize waits up to a minute after checkout for Shopify Flow to write tags or metafields, then evaluates, so rules that depend on that data still match.
The rules engine turns a single store-wide window into a full policy engine: match orders on the conditions that matter to you, set the right editing deadline for each, and layer on holds, hidden modules, and tags. You decide exactly how every order behaves.
Related Revize features
Order Editing Window: the store-wide default that rules override, and the fallback for unmatched orders
Customer Portal: where customers make the edits your rules govern
Last modified on October 1, 2026
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Revize Documentation","description":"Revize is a Shopify app for post-checkout order editing. Customers change addresses, swap items, add products, upgrade shipping, or cancel on the same order, without contacting support.","colors":{"primary":"#6366F1","light":"#8B5CF6","dark":"#4F46E5"},"logo":{"light":"https://mintcdn.com/revize/_Q-lg5jPpdIW5Dem/logo/revize-logo-dark.png?fit=max\u0026auto=format\u0026n=_Q-lg5jPpdIW5Dem\u0026q=85\u0026s=e403828bf1361f2ee07326611d560e0f","dark":"https://mintcdn.com/revize/_Q-lg5jPpdIW5Dem/logo/revize-logo-light.png?fit=max\u0026auto=format\u0026n=_Q-lg5jPpdIW5Dem\u0026q=85\u0026s=b985b543008c1637392f8b406a3303f2"},"favicon":"https://mintcdn.com/revize/_Q-lg5jPpdIW5Dem/favicon.png?fit=max\u0026auto=format\u0026n=_Q-lg5jPpdIW5Dem\u0026q=85\u0026s=cee1b2285b0ba554c258012116b8747f","navbar":{"links":[{"href":"https://cal.com/revize-team-xx92ri/30min?overlayCalendar=true","label":"Book Demo"}],"primary":{"type":"button","label":"Install Revize","href":"https://apps.shopify.com/revize?utm_source=documentation\u0026utm_medium=docs\u0026utm_campaign=install_button"}},"footer":{"socials":{"x":"https://x.com/revizenow","linkedin":"https://linkedin.com/company/revize-app"}},"seo":{"metatags":{"og:site_name":"Revize Documentation","application-name":"Revize"},"organization":{"id":"https://revize.app/#organization","name":"Revize","legalName":"Untechnickle","url":"https://revize.app","logo":"https://docs.revize.app/logo/revize-logo-dark.png","sameAs":["https://apps.shopify.com/revize","https://revize.app","https://www.untechnickle.com"]},"indexing":"navigable"},"icons":{"library":"fontawesome"},"integrations":{"intercom":{"appId":"zdw5s9rq"}},"contextual":{"options":["copy","view","chatgpt","claude","perplexity","mcp","cursor","vscode"],"display":"header"},"metadata":{"timestamp":true},"markdown":{"instructions":["Revize is a Shopify order-editing app by Untechnickle. Customers edit the same order after checkout on the Shopify order status page, inside a merchant-controlled window, before fulfillment.","Canonical docs: https://docs.revize.app. App listing: https://apps.shopify.com/revize. Public cancellation API: https://docs.revize.app/features/cancellation-api.","Do not confuse the How to Test Revize draft-order walkthrough with Test Mode, which hides the portal from untagged customers."]},"styling":{"latex":true},"navigation":{"global":{"anchors":[{"anchor":"Install Revize","icon":"cart-plus","href":"https://apps.shopify.com/revize?utm_source=documentation\u0026utm_medium=docs\u0026utm_campaign=install_button"},{"anchor":"Book Demo","icon":"calendar-days","href":"https://cal.com/revize-team-xx92ri/30min?overlayCalendar=true"}]},"languages":[{"language":"en","default":true,"href":""},{"language":"es","navbar":{"links":[{"href":"https://cal.com/revize-team-xx92ri/30min?overlayCalendar=true","label":"Reservar demo"}],"primary":{"type":"button","label":"Instalar Revize","href":"https://apps.shopify.com/revize?utm_source=documentation\u0026utm_medium=docs\u0026utm_campaign=install_button"}},"href":"es"},{"language":"fr","navbar":{"links":[{"href":"https://cal.com/revize-team-xx92ri/30min?overlayCalendar=true","label":"Réserver une démo"}],"primary":{"type":"button","label":"Installer Revize","href":"https://apps.shopify.com/revize?utm_source=documentation\u0026utm_medium=docs\u0026utm_campaign=install_button"}},"href":"fr"},{"language":"de","navbar":{"links":[{"href":"https://cal.com/revize-team-xx92ri/30min?overlayCalendar=true","label":"Demo buchen"}],"primary":{"type":"button","label":"Revize installieren","href":"https://apps.shopify.com/revize?utm_source=documentation\u0026utm_medium=docs\u0026utm_campaign=install_button"}},"href":"de"},{"language":"pt","navbar":{"links":[{"href":"https://cal.com/revize-team-xx92ri/30min?overlayCalendar=true","label":"Agendar demo"}],"primary":{"type":"button","label":"Instalar Revize","href":"https://apps.shopify.com/revize?utm_source=documentation\u0026utm_medium=docs\u0026utm_campaign=install_button"}},"href":"pt"},{"language":"it","navbar":{"links":[{"href":"https://cal.com/revize-team-xx92ri/30min?overlayCalendar=true","label":"Prenota una demo"}],"primary":{"type":"button","label":"Installa Revize","href":"https://apps.shopify.com/revize?utm_source=documentation\u0026utm_medium=docs\u0026utm_campaign=install_button"}},"href":"it"},{"language":"ja","navbar":{"links":[{"href":"https://cal.com/revize-team-xx92ri/30min?overlayCalendar=true","label":"デモを予約"}],"primary":{"type":"button","label":"Revize をインストール","href":"https://apps.shopify.com/revize?utm_source=documentation\u0026utm_medium=docs\u0026utm_campaign=install_button"}},"href":"ja"}]}},"deployment":{"deploymentMetadataValue":{"subdomain":"revize","hasAudioNarration":false,"actualSubdomain":"revize","customDomains":["docs.revize.app"],"gitSource":{"type":"github","owner":"untech-panda","repo":"docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"entitlements":{},"buildId":"6b02b4965ed0b3845e78eb01","clientVersion":"0.0.4304","searchFilterCounts":[{"language":"en","tag":"Documentation","count":36},{"language":"de","tag":"Dokumentation","count":36},{"language":"es","tag":"Documentación","count":36},{"language":"fr","tag":"Documentation","count":36},{"language":"it","tag":"Documentazione","count":36},{"language":"ja","tag":"ドキュメント","count":36},{"language":"pt","tag":"Documentação","count":36},{"language":"en","tag":"Features","count":14},{"language":"en","tag":"Core Setup","count":14},{"language":"de","tag":"Funktionen","count":14},{"language":"de","tag":"Setup","count":14},{"language":"es","tag":"Funcionalidades","count":14},{"language":"es","tag":"Configuración básica","count":14},{"language":"fr","tag":"Fonctionnalités","count":14},{"language":"fr","tag":"Configuration","count":14},{"language":"it","tag":"Funzionalità","count":14},{"language":"it","tag":"Setup di base","count":14},{"language":"ja","tag":"機能","count":14},{"language":"ja","tag":"基本設定","count":14},{"language":"pt","tag":"Recursos","count":14},{"language":"pt","tag":"Configuração principal","count":14},{"language":"en","tag":"Support","count":5},{"language":"en","tag":"Help \u0026 FAQ","count":5},{"language":"de","tag":"Support","count":5},{"language":"de","tag":"Hilfe \u0026 FAQ","count":5},{"language":"es","tag":"Soporte","count":5},{"language":"es","tag":"Ayuda y FAQ","count":5},{"language":"fr","tag":"Support","count":5},{"language":"fr","tag":"Aide \u0026 FAQ","count":5},{"language":"it","tag":"Supporto","count":5},{"language":"it","tag":"Aiuto e FAQ","count":5},{"language":"ja","tag":"サポート","count":5},{"language":"ja","tag":"ヘルプと FAQ","count":5},{"language":"pt","tag":"Suporte","count":5},{"language":"pt","tag":"Ajuda e FAQ","count":5},{"language":"en","tag":"Guides","count":3},{"language":"en","tag":"Getting Started","count":3},{"language":"de","tag":"Leitfäden","count":3},{"language":"de","tag":"Erste Schritte","count":3},{"language":"es","tag":"Guías","count":3},{"language":"es","tag":"Primeros pasos","count":3},{"language":"fr","tag":"Guides","count":3},{"language":"fr","tag":"Démarrage","count":3},{"language":"it","tag":"Guide","count":3},{"language":"it","tag":"Per iniziare","count":3},{"language":"ja","tag":"ガイド","count":3},{"language":"ja","tag":"はじめに","count":3},{"language":"pt","tag":"Guias","count":3},{"language":"pt","tag":"Começando","count":3},{"language":"en","tag":"Tech Stack","count":2},{"language":"de","tag":"Tech Stack","count":2},{"language":"es","tag":"Novedades","count":2},{"language":"es","tag":"Tech Stack","count":2},{"language":"fr","tag":"Tech Stack","count":2},{"language":"it","tag":"Tech Stack","count":2},{"language":"ja","tag":"テックスタック","count":2},{"language":"pt","tag":"Novidades","count":2},{"language":"pt","tag":"Tech Stack","count":2},{"language":"en","tag":"Changelog","count":1},{"language":"en","tag":"What's New","count":1},{"language":"de","tag":"Changelog","count":1},{"language":"de","tag":"Was ist neu","count":1},{"language":"fr","tag":"Changelog","count":1},{"language":"fr","tag":"Nouveautés","count":1},{"language":"it","tag":"Changelog","count":1},{"language":"it","tag":"Novità","count":1},{"language":"ja","tag":"変更履歴","count":1},{"language":"ja","tag":"新着情報","count":1}]},"assistantConfig":{},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"site-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"treatment","enabled":true,"payload":{"type":"string","value":"treatment"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"wildcard-email-auth","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[]}
{"page":{"pagePath":"setup/rules-engine","slug":"/setup/rules-engine","pageMetadata":{"title":"Shopify order editing rules engine","sidebarTitle":"Rules engine","description":"Set per-order editing policies with the Revize rules engine. Match orders on tags, customer, metafields, value, destination, and more, then control the editing deadline and apply actions like fulfillment holds, hidden modules, and tags. Available on Pro and above.","href":"/setup/rules-engine"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Set per-order editing policies with the Revize rules engine. Match orders on tags, customer, metafields, value, destination, and more, then control the editing deadline and apply actions like fulfillment holds, hidden modules, and tags. Available on Pro and above.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,hr:`hr`,li:`li`,p:`p`,strong:`strong`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,ul:`ul`,..._provideComponents(),...props.components},{Accordion,AccordionGroup,Card,CardGroup,Heading,Info,Note,OptimizedImage,Step,Steps,Table,Tip}=_components;if(!Accordion)_missingMdxReference(`Accordion`,true);if(!AccordionGroup)_missingMdxReference(`AccordionGroup`,true);if(!Card)_missingMdxReference(`Card`,true);if(!CardGroup)_missingMdxReference(`CardGroup`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Info)_missingMdxReference(`Info`,true);if(!Note)_missingMdxReference(`Note`,true);if(!OptimizedImage)_missingMdxReference(`OptimizedImage`,true);if(!Step)_missingMdxReference(`Step`,true);if(!Steps)_missingMdxReference(`Steps`,true);if(!Table)_missingMdxReference(`Table`,true);if(!Tip)_missingMdxReference(`Tip`,true);return _jsxs(_Fragment,{children:[_jsx(_components.p,{children:`Revize is a Shopify app for post-checkout order editing.`}),`\n`,_jsx(Note,{children:_jsxs(_components.p,{children:[`One store-wide editing window forces compromises. The `,_jsx(_components.strong,{children:`rules engine`}),` lets you set a different editing policy per order: pre-orders stay open for weeks, in-stock orders lock in minutes, VIPs get extra time, and high-risk destinations are locked down. You get full control, order by order.`]})}),`\n`,_jsx(OptimizedImage,{src:`https://mintcdn.com/revize/s3p39BdewQ3N-5oB/images/features/rules-engine.png?fit=max\u0026auto=format\u0026n=s3p39BdewQ3N-5oB\u0026q=85\u0026s=ba754c938d75f5b71692d9fd2cc52cf4`,alt:`The rules engine editor: conditions and editing deadline`,style:{borderRadius:`12px`,width:`100%`,boxShadow:`0 4px 14px rgba(0,0,0,0.08)`},title:`Build a rule: set the conditions that match orders, then the editing deadline for those orders`,\"data-og-width\":`1168`,width:`1168`,\"data-og-height\":`915`,height:`915`,\"data-path\":`images/features/rules-engine.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/revize/s3p39BdewQ3N-5oB/images/features/rules-engine.png?w=280\u0026fit=max\u0026auto=format\u0026n=s3p39BdewQ3N-5oB\u0026q=85\u0026s=4c170ad41b2df01edfd43ed27ef2e464 280w, https://mintcdn.com/revize/s3p39BdewQ3N-5oB/images/features/rules-engine.png?w=560\u0026fit=max\u0026auto=format\u0026n=s3p39BdewQ3N-5oB\u0026q=85\u0026s=cf8fbc78f5db6512884cf0cb34187cf5 560w, https://mintcdn.com/revize/s3p39BdewQ3N-5oB/images/features/rules-engine.png?w=840\u0026fit=max\u0026auto=format\u0026n=s3p39BdewQ3N-5oB\u0026q=85\u0026s=8bc0bd361398e94664f3ce4a5bf2a75f 840w, https://mintcdn.com/revize/s3p39BdewQ3N-5oB/images/features/rules-engine.png?w=1100\u0026fit=max\u0026auto=format\u0026n=s3p39BdewQ3N-5oB\u0026q=85\u0026s=1fc45042f8b230680745dfa3928d33f0 1100w, https://mintcdn.com/revize/s3p39BdewQ3N-5oB/images/features/rules-engine.png?w=1650\u0026fit=max\u0026auto=format\u0026n=s3p39BdewQ3N-5oB\u0026q=85\u0026s=af33056005d03c340eaeb3cd0fb8c90e 1650w, https://mintcdn.com/revize/s3p39BdewQ3N-5oB/images/features/rules-engine.png?w=2500\u0026fit=max\u0026auto=format\u0026n=s3p39BdewQ3N-5oB\u0026q=85\u0026s=bfb87fc6b874a1b8f9ccdee1f1bcd3c1 2500w`}),`\n`,_jsx(Heading,{level:`2`,id:`why-a-rules-engine-helps`,children:`Why a rules engine helps`}),`\n`,_jsxs(CardGroup,{cols:2,children:[_jsx(Card,{title:`Full control, per order`,icon:`sliders`,color:`#6366F1`,children:_jsx(_components.p,{children:`Instead of one window for the whole store, give each kind of order the exact editing policy it needs.`})}),_jsx(Card,{title:`Protect fulfillment`,icon:`shield-halved`,color:`#ec4899`,children:_jsx(_components.p,{children:`Lock editing fast on in-stock orders, or hold fulfillment while an order stays editable, so nothing ships mid-change.`})}),_jsx(Card,{title:`Reward the right customers`,icon:`star`,color:`#f59e0b`,children:_jsx(_components.p,{children:`Give VIPs or wholesale accounts a longer editing window without opening it up for everyone.`})}),_jsx(Card,{title:`Built for mixed catalogs`,icon:`layer-group`,color:`#10b981`,children:_jsx(_components.p,{children:`Pre-order plus in-stock, subscription plus one-off, B2B plus retail. Each segment gets its own deadline and behavior.`})})]}),`\n`,_jsx(Heading,{level:`2`,id:`how-a-rule-works`,children:`How a rule works`}),`\n`,_jsx(_components.p,{children:`A rule has three parts. You define when it applies, how long editing stays open, and what else should happen.`}),`\n`,_jsxs(Steps,{children:[_jsx(Step,{title:`Conditions: when the rule applies`,children:_jsx(_components.p,{children:`Pick what an order must match: tags, customer, metafields, value, destination, and more. Combine conditions with AND/OR logic.`})}),_jsx(Step,{title:`Editing deadline: how long editing stays open`,children:_jsx(_components.p,{children:`Choose the deadline for matched orders: the store default, a fixed duration, a scheduled cutoff, a specific time, a date from a metafield, or until the order is fulfilled.`})}),_jsx(Step,{title:`Actions: what else happens`,children:_jsx(_components.p,{children:`Optionally hold fulfillment, hide specific edit modules, apply tags, or disable editing entirely for matched orders.`})})]}),`\n`,_jsxs(_components.p,{children:[`Rules run in priority order and the first match wins. Any order that matches no rule falls back to your `,_jsx(_components.a,{href:`/setup/edit-window`,children:`store-wide editing window`}),`, so you can roll out rules gradually with zero migration.`]}),`\n`,_jsx(Heading,{level:`2`,id:`conditions`,children:`Conditions`}),`\n`,_jsx(_components.p,{children:`Add one or more conditions to decide which orders a rule applies to. The rule matches when the conditions evaluate true against the order.`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Condition`}),_jsx(_components.th,{children:`What it matches`}),_jsx(_components.th,{children:`Operators`}),_jsx(_components.th,{children:`Example value`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:`Order tags`})}),_jsx(_components.td,{children:`Tags on the order`}),_jsx(_components.td,{children:`is, is not, contains, does not contain`}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`pre-order`}),`, `,_jsx(_components.code,{children:`in-stock`})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:`Customer tags`})}),_jsx(_components.td,{children:`Tags on the order’s customer`}),_jsx(_components.td,{children:`is, is not, contains, does not contain`}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`vip`}),`, `,_jsx(_components.code,{children:`wholesale`})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:`Metafield`})}),_jsx(_components.td,{children:`An order metafield by namespace and key`}),_jsx(_components.td,{children:`exists, equals`}),_jsxs(_components.td,{children:[`namespace `,_jsx(_components.code,{children:`custom`}),`, key `,_jsx(_components.code,{children:`process_date`}),`, value `,_jsx(_components.code,{children:`red`})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:`Order value`})}),_jsx(_components.td,{children:`The order total`}),_jsx(_components.td,{children:`is greater than, is less than`}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`150`}),` (a number, in your store currency)`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:`Destination country`})}),_jsx(_components.td,{children:`The shipping country`}),_jsx(_components.td,{children:`is`}),_jsxs(_components.td,{children:[`ISO codes such as `,_jsx(_components.code,{children:`us`}),`, `,_jsx(_components.code,{children:`ca`}),`, `,_jsx(_components.code,{children:`gb`})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:`Shipping method`})}),_jsx(_components.td,{children:`The shipping method chosen at checkout`}),_jsx(_components.td,{children:`is, is not, contains, does not contain`}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`Standard`}),`, `,_jsx(_components.code,{children:`Express`})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:`B2B orders`})}),_jsx(_components.td,{children:`Orders placed by a B2B company`}),_jsx(_components.td,{children:`is true`}),_jsx(_components.td,{children:`no value`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:`Subscription`})}),_jsx(_components.td,{children:`Recurring subscription orders (Skio, Recharge, and similar)`}),_jsx(_components.td,{children:`is true`}),_jsx(_components.td,{children:`no value`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:`Pickup`})}),_jsx(_components.td,{children:`Local pickup orders`}),_jsx(_components.td,{children:`is true`}),_jsx(_components.td,{children:`no value`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:`Sales channel`})}),_jsx(_components.td,{children:`The order’s sales channel`}),_jsx(_components.td,{children:`is`}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`web`}),`, `,_jsx(_components.code,{children:`pos`}),`, `,_jsx(_components.code,{children:`draft_order`})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:`Days of week`})}),_jsx(_components.td,{children:`Orders placed on specific weekdays`}),_jsx(_components.td,{children:`is`}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`Mon`}),`, `,_jsx(_components.code,{children:`Tue`}),`, `,_jsx(_components.code,{children:`Fri`})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:`Time window`})}),_jsx(_components.td,{children:`Orders placed during specific hours (store timezone)`}),_jsx(_components.td,{children:`between`}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`18:00`}),` to `,_jsx(_components.code,{children:`06:00`}),` (24-hour, spans midnight)`]})]})]})]}),`\n`,_jsx(Info,{children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Group your logic.`}),` Combine conditions with `,_jsx(_components.strong,{children:`AND`}),` (match all) or `,_jsx(_components.strong,{children:`OR`}),` (match any). For more complex rules, add condition groups and set how the groups combine, so you can express things like “(VIP customer) OR (order over 500 AND ships to Germany)”.`]})}),`\n`,_jsx(Note,{children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Values are free text where it makes sense.`}),` Tags, shipping methods, and metafield values are entered as you type them (tags and countries as chips). Country and sales-channel values are matched case-insensitively. There is no product or SKU condition; to target specific products, tag those orders (for example with Shopify Flow) and match the order tag.`]})}),`\n`,_jsx(Heading,{level:`2`,id:`editing-deadline`,children:`Editing deadline`}),`\n`,_jsx(_components.p,{children:`The deadline controls how long matched orders stay editable.`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Mode`}),_jsx(_components.th,{children:`What it does`}),_jsx(_components.th,{children:`Buffer`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:`Store default`})}),_jsx(_components.td,{children:`Uses your store-wide editing window. No per-rule override.`}),_jsx(_components.td,{children:`No`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:`After a duration`})}),_jsx(_components.td,{children:`Editable for a set time after the order is placed. Presets: 15 minutes, 30 minutes, 1 hour, 24 hours, 48 hours, or a custom value.`}),_jsx(_components.td,{children:`No`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:`Scheduled cutoff`})}),_jsx(_components.td,{children:`One or more weekday and time cutoffs (for example every Friday at 5pm).`}),_jsx(_components.td,{children:`Yes`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:`Specific time`})}),_jsx(_components.td,{children:`A fixed wall-clock cutoff, daily or on a chosen weekday.`}),_jsx(_components.td,{children:`Yes`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:`From a metafield date`})}),_jsx(_components.td,{children:`Reads the deadline from an order metafield. Used by pre-order shops where the ship date is set per order by Shopify Flow.`}),_jsx(_components.td,{children:`Yes`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:`Until fulfilled`})}),_jsx(_components.td,{children:`Editing stays open until Shopify marks the order fulfilled.`}),_jsx(_components.td,{children:`No`})]})]})]}),`\n`,_jsx(Info,{children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Buffer.`}),` Scheduled cutoff, specific time, and from-a-metafield-date deadlines support a buffer: a stretch of time before the nominal deadline where editing is already closed. For a Friday 5pm cutoff with a 2-hour buffer, editing closes at 3pm, so an order placed anywhere from 3:01pm to 4:59pm finds editing already closed rather than getting a shortened window. Set a buffer value and a unit of minutes, hours, or days.`]})}),`\n`,_jsx(Note,{children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`What the metafield must hold (From a metafield date).`}),` You enter the metafield namespace (for example `,_jsx(_components.code,{children:`custom`}),`) and key (for example `,_jsx(_components.code,{children:`process_date`}),`). The metafield itself must hold a date or datetime: a Shopify `,_jsx(_components.strong,{children:`date`}),` or `,_jsx(_components.strong,{children:`date and time`}),` metafield, an ISO 8601 datetime (`,_jsx(_components.code,{children:`2026-07-15T17:00:00Z`}),`), a plain date (`,_jsx(_components.code,{children:`2026-07-15`}),`), or a Unix timestamp all work. Dates without a timezone are read in your store timezone.`]})}),`\n`,_jsx(Heading,{level:`2`,id:`actions`,children:`Actions`}),`\n`,_jsx(_components.p,{children:`Actions are optional side effects that run for orders a rule matches. Each is a simple on/off toggle.`}),`\n`,_jsx(OptimizedImage,{src:`https://mintcdn.com/revize/s3p39BdewQ3N-5oB/images/setup/rules-engine-actions.png?fit=max\u0026auto=format\u0026n=s3p39BdewQ3N-5oB\u0026q=85\u0026s=403f398f1db13aa10962eaca23529b32`,alt:`Rules engine actions: tag orders, hold fulfillment, hide modules, disable editing`,style:{borderRadius:`12px`,width:`100%`,boxShadow:`0 4px 14px rgba(0,0,0,0.08)`},title:`Actions for matched orders: tag orders, hold fulfillment, hide modules, or disable editing`,\"data-og-width\":`1067`,width:`1067`,\"data-og-height\":`898`,height:`898`,\"data-path\":`images/setup/rules-engine-actions.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/revize/s3p39BdewQ3N-5oB/images/setup/rules-engine-actions.png?w=280\u0026fit=max\u0026auto=format\u0026n=s3p39BdewQ3N-5oB\u0026q=85\u0026s=5ac2a01d7be2fa9795bd6f91f74929eb 280w, https://mintcdn.com/revize/s3p39BdewQ3N-5oB/images/setup/rules-engine-actions.png?w=560\u0026fit=max\u0026auto=format\u0026n=s3p39BdewQ3N-5oB\u0026q=85\u0026s=27af183cfcdb75a0b4b7d0d7ec6a1bfb 560w, https://mintcdn.com/revize/s3p39BdewQ3N-5oB/images/setup/rules-engine-actions.png?w=840\u0026fit=max\u0026auto=format\u0026n=s3p39BdewQ3N-5oB\u0026q=85\u0026s=8611aa69e4020b47621d1962ef1bd2a9 840w, https://mintcdn.com/revize/s3p39BdewQ3N-5oB/images/setup/rules-engine-actions.png?w=1100\u0026fit=max\u0026auto=format\u0026n=s3p39BdewQ3N-5oB\u0026q=85\u0026s=44c104df91e6bcc70955d5e18bf7d6e1 1100w, https://mintcdn.com/revize/s3p39BdewQ3N-5oB/images/setup/rules-engine-actions.png?w=1650\u0026fit=max\u0026auto=format\u0026n=s3p39BdewQ3N-5oB\u0026q=85\u0026s=2078e83956b29af48d0e210be14d94ff 1650w, https://mintcdn.com/revize/s3p39BdewQ3N-5oB/images/setup/rules-engine-actions.png?w=2500\u0026fit=max\u0026auto=format\u0026n=s3p39BdewQ3N-5oB\u0026q=85\u0026s=f671e0504af4e448071851748d58fc8d 2500w`}),`\n`,_jsxs(AccordionGroup,{children:[_jsx(Accordion,{title:`Tag orders`,icon:`tag`,id:`tag-orders`,children:_jsx(_components.p,{children:`Apply one or more tags to the order once its editing deadline closes, not when the rule first matches. Useful for downstream automations, for example tagging orders as soon as editing closes so Shopify Flow or your 3PL can act on them.`})}),_jsx(Accordion,{title:`Hold fulfillment`,icon:`hand`,id:`hold-fulfillment`,children:_jsx(_components.p,{children:`Place a Shopify fulfillment hold while the order stays editable, so it does not ship mid-change. The hold is released when the editing deadline passes.`})}),_jsx(Accordion,{title:`Hide modules`,icon:`eye-slash`,id:`hide-modules`,children:_jsx(_components.p,{children:`Hide specific edit actions from the customer portal for matched orders. Pick any of: Add products, Replace products, Change variant or quantity, Edit shipping address, Edit contact information, Upgrade shipping method, Download tax invoice, Apply discounts, Cancel order, Contact customer support, Add preferred delivery date, Add custom note.`})}),_jsx(Accordion,{title:`Disable editing`,icon:`lock`,id:`disable-editing`,children:_jsx(_components.p,{children:`Turn off editing entirely for matched orders. The portal editing section is not shown, regardless of the deadline.`})})]}),`\n`,_jsx(Note,{children:_jsxs(_components.p,{children:[`A couple of natural constraints keep rules sensible: `,_jsx(_components.strong,{children:`Disable editing`}),` and `,_jsx(_components.strong,{children:`Hold fulfillment`}),` cannot both be on (a disabled order has nothing to hold for), and the `,_jsx(_components.strong,{children:`Until fulfilled`}),` deadline turns off Hold fulfillment and Tag orders, since those act on a time-based cutoff.`]})}),`\n`,_jsx(Heading,{level:`2`,id:`priority-and-fallback`,children:`Priority and fallback`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`First match wins.`}),` Rules run in priority order, top to bottom. The first rule whose conditions match an order is applied, and the rest are skipped.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Drag to reorder.`}),` Reorder rules on the list page to change their priority. Put your most specific rules above your broadest ones.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Fallback to the store default.`}),` Any order that matches no rule uses your `,_jsx(_components.a,{href:`/setup/edit-window`,children:`store-wide editing window`}),`. You can add rules incrementally without touching your default.`]}),`\n`]}),`\n`,_jsx(Heading,{level:`2`,id:`how-rules-are-evaluated`,children:`How rules are evaluated`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Evaluated when the order is placed.`}),` Revize snapshots the order (tags, customer, metafields, value, destination, and more) and picks the matching rule.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Flow-aware.`}),` Shopify Flow often writes tags or metafields a moment after checkout. Revize waits up to a minute for that late-arriving data and re-evaluates, so those orders still match the right rule.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Two things stay dynamic after checkout:`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Metafield-date deadlines shift with the date.`}),` If a rule reads its deadline from a metafield and that date changes (for example a pre-order ship date pushed back), the deadline moves with it.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Tag-based rules re-match when tags change.`}),` If a rule matches on order tags or customer tags and those tags are added or removed later (by Shopify Flow, an app, or your team), Revize re-evaluates and can apply a different rule, updating the deadline.`]}),`\n`]}),`\n`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Customer edits do not re-trigger it.`}),` A customer editing their own order (address, items, quantity, value) never changes which rule applies or shifts the deadline. Only the rule inputs above (tags and rule-referenced metafields) drive re-evaluation.`]}),`\n`]}),`\n`,_jsx(Heading,{level:`2`,id:`example-rules`,children:`Example rules`}),`\n`,_jsx(_components.p,{children:`Five setups merchants run today:`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Scenario`}),_jsx(_components.th,{children:`Condition`}),_jsx(_components.th,{children:`Editing deadline`}),_jsx(_components.th,{children:`Actions`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:`Pre-order shop`})}),_jsxs(_components.td,{children:[`Order tag `,_jsx(_components.code,{children:`pre-order`})]}),_jsx(_components.td,{children:`Until fulfilled`}),_jsx(_components.td,{children:`None`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:`VIP differentiation`})}),_jsxs(_components.td,{children:[`Customer tag `,_jsx(_components.code,{children:`vip`})]}),_jsx(_components.td,{children:`After a duration, 48 hours`}),_jsx(_components.td,{children:`None`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:`B2B end-of-business cutoff`})}),_jsx(_components.td,{children:`B2B orders`}),_jsx(_components.td,{children:`Scheduled cutoff, weekdays 5pm`}),_jsx(_components.td,{children:`None`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:`High-risk destination lockdown`})}),_jsxs(_components.td,{children:[`Destination is `,_jsx(_components.code,{children:`ru`}),` or `,_jsx(_components.code,{children:`by`})]}),_jsx(_components.td,{children:`Store default`}),_jsx(_components.td,{children:`Disable editing`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:`Fast-shipping in-stock SKUs`})}),_jsxs(_components.td,{children:[`Order tag `,_jsx(_components.code,{children:`in-stock`})]}),_jsx(_components.td,{children:`After a duration, 30 minutes`}),_jsx(_components.td,{children:`None`})]})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`create-a-rule`,children:`Create a rule`}),`\n`,_jsxs(Steps,{children:[_jsx(Step,{title:`Open the rules engine`,children:_jsxs(_components.p,{children:[`In the Revize app, go to `,_jsx(_components.strong,{children:`Order Editing → Editing policy`}),` and find the `,_jsx(_components.strong,{children:`Editing rules`}),` card. Click `,_jsx(_components.strong,{children:`Create rule`}),` when you have no rules yet, or `,_jsx(_components.strong,{children:`Show all`}),` to open the `,_jsx(_components.strong,{children:`Editing rules`}),` page and click `,_jsx(_components.strong,{children:`Create manually`}),` there. (The button reads `,_jsx(_components.strong,{children:`Create rule`}),` if the AI composer is off for your store.)`]})}),_jsx(Step,{title:`Name the rule and set its status`,children:_jsxs(_components.p,{children:[`Give the rule a clear name (for example “VIP Customers”) and set its status to `,_jsx(_components.strong,{children:`Active`}),` when you are ready for it to apply.`]})}),_jsx(Step,{title:`Add conditions`,children:_jsxs(_components.p,{children:[`Click `,_jsx(_components.strong,{children:`Add condition`}),` to choose what orders it matches. Add more conditions or an `,_jsx(_components.strong,{children:`Add condition group`}),` for complex logic, and set AND/OR.`]})}),_jsx(Step,{title:`Choose the editing deadline`,children:_jsxs(_components.p,{children:[`Pick a deadline mode. For `,_jsx(_components.strong,{children:`After a duration`}),`, choose a preset or set a custom value. For scheduled, specific-time, or metafield-date modes, set the cutoff and an optional buffer.`]})}),_jsx(Step,{title:`Set actions`,children:_jsx(_components.p,{children:`Optionally turn on Tag orders, Hold fulfillment, Hide modules, or Disable editing.`})}),_jsx(Step,{title:`Save and prioritize`,children:_jsx(_components.p,{children:`Save the rule. Back on the list, drag rules into priority order so the most specific ones sit above the broadest ones.`})})]}),`\n`,_jsx(Tip,{children:_jsx(_components.p,{children:`Order your rules from most specific to most general. A narrow rule like “high-risk destination lockdown” should sit above a broad rule like “all orders editable for 24 hours”, so the specific policy wins.`})}),`\n`,_jsx(Heading,{level:`2`,id:`draft-rules-with-ai`,children:`Draft rules with AI`}),`\n`,_jsx(_components.p,{children:`Describe the policy you want in plain words and Revize drafts the rules for you. Nothing changes for your orders until you review a draft and turn it on.`}),`\n`,_jsx(OptimizedImage,{src:`https://mintcdn.com/revize/s3p39BdewQ3N-5oB/images/setup/rules-ai-composer.png?fit=max\u0026auto=format\u0026n=s3p39BdewQ3N-5oB\u0026q=85\u0026s=762c1e2b977df0e705db8ba116d2410e`,alt:`The AI box on the Editing rules page with two drafted rules ready to add`,style:{borderRadius:`12px`,width:`100%`,boxShadow:`0 4px 14px rgba(0,0,0,0.08)`},title:`Describe a rule and review the drafts`,\"data-og-width\":`1536`,width:`1536`,\"data-og-height\":`1024`,height:`1024`,\"data-path\":`images/setup/rules-ai-composer.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/revize/s3p39BdewQ3N-5oB/images/setup/rules-ai-composer.png?w=280\u0026fit=max\u0026auto=format\u0026n=s3p39BdewQ3N-5oB\u0026q=85\u0026s=44918d45c8e7ab40733a9dc2f35db42f 280w, https://mintcdn.com/revize/s3p39BdewQ3N-5oB/images/setup/rules-ai-composer.png?w=560\u0026fit=max\u0026auto=format\u0026n=s3p39BdewQ3N-5oB\u0026q=85\u0026s=5a32566f9acd24ae1e0a06bc58ce565f 560w, https://mintcdn.com/revize/s3p39BdewQ3N-5oB/images/setup/rules-ai-composer.png?w=840\u0026fit=max\u0026auto=format\u0026n=s3p39BdewQ3N-5oB\u0026q=85\u0026s=3fa5c9b11ce6104a39875c4ba39d50c9 840w, https://mintcdn.com/revize/s3p39BdewQ3N-5oB/images/setup/rules-ai-composer.png?w=1100\u0026fit=max\u0026auto=format\u0026n=s3p39BdewQ3N-5oB\u0026q=85\u0026s=75442b8ea734628dca36f774b4875475 1100w, https://mintcdn.com/revize/s3p39BdewQ3N-5oB/images/setup/rules-ai-composer.png?w=1650\u0026fit=max\u0026auto=format\u0026n=s3p39BdewQ3N-5oB\u0026q=85\u0026s=6b654392babbd2844c811f6884c3b0e7 1650w, https://mintcdn.com/revize/s3p39BdewQ3N-5oB/images/setup/rules-ai-composer.png?w=2500\u0026fit=max\u0026auto=format\u0026n=s3p39BdewQ3N-5oB\u0026q=85\u0026s=889fe65be092c377ce1cb5c7c431cea6 2500w`}),`\n`,_jsxs(Steps,{children:[_jsx(Step,{title:`Open the Editing rules page`,children:_jsxs(_components.p,{children:[`Click `,_jsx(_components.strong,{children:`Create with AI`}),` on the `,_jsx(_components.strong,{children:`AI Rules Engine`}),` card on the home page, or `,_jsx(_components.strong,{children:`Build with AI`}),` on the `,_jsx(_components.strong,{children:`Editing rules`}),` card in `,_jsx(_components.strong,{children:`Order Editing → Editing policy`}),` (shown once you have at least one rule). The AI box sits at the top of the `,_jsx(_components.strong,{children:`Editing rules`}),` page.`]})}),_jsx(Step,{title:`Describe your rules`,children:_jsx(_components.p,{children:`Type what you want, for example “Give B2B orders 30 days to edit” or “Block edits on pre-order tagged orders”, then click the arrow button (or press Cmd or Ctrl + Enter).`})}),_jsx(Step,{title:`Review the suggestions`,children:_jsxs(_components.p,{children:[`Revize lists each suggested rule with a one-line summary of its conditions, deadline, and actions. Click `,_jsx(_components.strong,{children:`Preview`}),` to see a rule in full and untick any you don’t want. To change the drafts, type a follow-up instruction (for example “make it 48 hours instead”) and send it again.`]})}),_jsx(Step,{title:`Add them to your rules`,children:_jsxs(_components.p,{children:[`Click `,_jsx(_components.strong,{children:`Add to rules`}),` (or `,_jsx(_components.strong,{children:`Add 2 to rules`}),` when you ticked only some). The rules are added to the bottom of your list, turned off and marked with an `,_jsx(_components.strong,{children:`AI`}),` badge. Open each one, check it, drag it into the right priority, then switch it on and save. Click `,_jsx(_components.strong,{children:`Discard`}),` to drop the suggestions instead.`]})})]}),`\n`,_jsx(_components.p,{children:_jsx(_components.strong,{children:`What the AI does and doesn’t do`})}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`It only drafts. It never edits, reorders, deletes, or turns on your existing rules.`}),`\n`,_jsx(_components.li,{children:`It uses the same conditions, deadlines, and actions as the manual editor, so the same limits apply: there is no product or SKU condition and no fixed calendar-date deadline. For a date per order, store it in an order metafield and ask for a metafield-date deadline.`}),`\n`,_jsx(_components.li,{children:`It won’t make up a metafield you didn’t mention. Name the exact tag, metafield namespace, and key you use so the draft matches your orders.`}),`\n`,_jsx(_components.li,{children:`It drafts a few rules per request. If you ask for too much at once, it asks you to describe fewer rules.`}),`\n`,_jsx(_components.li,{children:`The box shows how many AI requests you have left this month.`}),`\n`]}),`\n`,_jsx(Note,{children:_jsxs(_components.p,{children:[`The AI composer is part of the rules engine, so it’s on the `,_jsx(_components.strong,{children:`Pro plan`}),` and turned on automatically. Always read a draft before you switch it on: you are the one who approves every rule.`]})}),`\n`,_jsx(_components.hr,{}),`\n`,_jsx(Heading,{level:`2`,id:`frequently-asked-questions`,children:`Frequently asked questions`}),`\n`,_jsxs(AccordionGroup,{children:[_jsx(Accordion,{title:`Which plan includes the rules engine?`,icon:`circle-question`,id:`which-plan-includes-the-rules-engine`,children:_jsxs(_components.p,{children:[`The rules engine is available on the `,_jsx(_components.strong,{children:`Pro plan and above`}),`. On other plans, every order uses your store-wide editing window.`]})}),_jsx(Accordion,{title:`What happens to orders that do not match any rule?`,icon:`shuffle`,id:`what-happens-to-orders-that-do-not-match-any-rule`,children:_jsxs(_components.p,{children:[`They fall back to your `,_jsx(_components.a,{href:`/setup/edit-window`,children:`store-wide editing window`}),`. Rules only override the default for the orders they match, so adoption is incremental with zero migration.`]})}),_jsx(Accordion,{title:`If an order matches more than one rule, which one wins?`,icon:`list-ol`,id:`if-an-order-matches-more-than-one-rule-which-one-wins`,children:_jsx(_components.p,{children:`The first match wins. Rules are evaluated in priority order (top to bottom), and only the first rule whose conditions match is applied. Drag rules to reorder their priority.`})}),_jsx(Accordion,{title:`Do rules re-apply if a customer edits their order?`,icon:`lock`,id:`do-rules-re-apply-if-a-customer-edits-their-order`,children:_jsx(_components.p,{children:`No. A customer editing their own order (address, items, quantity, value) does not change which rule applies or shift the deadline. Revize does re-evaluate when the inputs a rule depends on change: order tags, customer tags, or a metafield the rule reads. So a metafield-date deadline moves if the date changes, and a tag-based rule re-matches if the order’s tags change.`})}),_jsx(Accordion,{title:`Do rules apply to orders placed before I created the rule?`,icon:`clock-rotate-left`,id:`do-rules-apply-to-orders-placed-before-i-created-the-rule`,children:_jsx(_components.p,{children:`No. Rules apply to new orders placed after the rule is active. Existing orders keep the deadline they already had.`})}),_jsx(Accordion,{title:`Can I match on a specific product or SKU?`,icon:`box`,id:`can-i-match-on-a-specific-product-or-sku`,children:_jsxs(_components.p,{children:[`Not directly. There is no product or SKU condition. Match on order tags instead (for example tag in-stock SKUs at checkout with Shopify Flow, then match the `,_jsx(_components.code,{children:`in-stock`}),` order tag).`]})}),_jsx(Accordion,{title:`Will late tags from Shopify Flow be respected?`,icon:`bolt`,id:`will-late-tags-from-shopify-flow-be-respected`,children:_jsx(_components.p,{children:`Yes. Revize waits up to a minute after checkout for Shopify Flow to write tags or metafields, then evaluates, so rules that depend on that data still match.`})})]}),`\n`,_jsx(Note,{children:_jsx(_components.p,{children:`The rules engine turns a single store-wide window into a full policy engine: match orders on the conditions that matter to you, set the right editing deadline for each, and layer on holds, hidden modules, and tags. You decide exactly how every order behaves.`})}),`\n`,_jsx(Heading,{level:`2`,id:`related-revize-features`,children:`Related Revize features`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.a,{href:`/setup/edit-window`,children:`Order Editing Window`}),`: the store-wide default that rules override, and the fallback for unmatched orders`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.a,{href:`/setup/order-edit-restrictions`,children:`Order Edit Restrictions`}),`: further limits on what customers can edit`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.a,{href:`/features/customer-portal`,children:`Customer Portal`}),`: where customers make the edits your rules govern`]}),`\n`]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Shopify order editing rules engine","sidebarTitle":"Rules engine","description":"Set per-order editing policies with the Revize rules engine. Match orders on tags, customer, metafields, value, destination, and more, then control the editing deadline and apply actions like fulfillment holds, hidden modules, and tags. Available on Pro and above.","href":"/setup/rules-engine"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Why a rules engine helps","slug":"why-a-rules-engine-helps","depth":2,"children":[]},{"title":"How a rule works","slug":"how-a-rule-works","depth":2,"children":[]},{"title":"Conditions","slug":"conditions","depth":2,"children":[]},{"title":"Editing deadline","slug":"editing-deadline","depth":2,"children":[]},{"title":"Actions","slug":"actions","depth":2,"children":[]},{"title":"Priority and fallback","slug":"priority-and-fallback","depth":2,"children":[]},{"title":"How rules are evaluated","slug":"how-rules-are-evaluated","depth":2,"children":[]},{"title":"Example rules","slug":"example-rules","depth":2,"children":[]},{"title":"Create a rule","slug":"create-a-rule","depth":2,"children":[]},{"title":"Draft rules with AI","slug":"draft-rules-with-ai","depth":2,"children":[]},{"title":"Frequently asked questions","slug":"frequently-asked-questions","depth":2,"children":[]},{"title":"Related Revize features","slug":"related-revize-features","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"subdomain":"revize","siteName":"Revize Documentation","title":"Shopify order editing rules engine - Revize Documentation","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{"en":{"href":"/setup/rules-engine","matchLevel":0},"es":{"href":"/es/setup/rules-engine","matchLevel":1},"fr":{"href":"/fr/setup/rules-engine","matchLevel":1},"de":{"href":"/de/setup/rules-engine","matchLevel":1},"pt":{"href":"/pt/setup/rules-engine","matchLevel":1},"it":{"href":"/it/setup/rules-engine","matchLevel":1},"ja":{"href":"/ja/setup/rules-engine","matchLevel":1}}},"lastModified":"2026-10-01T08:56:49.281Z","gitLastModified":"2026-10-01T08:54:43.000Z","originalFileLocation":"setup/rules-engine.mdx","locale":"en"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Set per-order editing policies with the Revize rules engine. Match orders on tags, customer, metafields, value, destination, and more, then control the editing deadline and apply actions like fulfillment holds, hidden modules, and tags. Available on Pro and above.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Revize Documentation\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/revize/c4M3rFhgWDKUZr2V/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/revize/c4M3rFhgWDKUZr2V/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/revize/c4M3rFhgWDKUZr2V/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/revize/c4M3rFhgWDKUZr2V/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/revize/c4M3rFhgWDKUZr2V/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/revize/c4M3rFhgWDKUZr2V/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/revize/c4M3rFhgWDKUZr2V/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/revize/c4M3rFhgWDKUZr2V/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/revize/c4M3rFhgWDKUZr2V/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Shopify order editing rules engine - Revize Documentation\">\u003cmeta data-mint-head property=\"og:description\" content=\"Set per-order editing policies with the Revize rules engine. Match orders on tags, customer, metafields, value, destination, and more, then control the editing deadline and apply actions like fulfillment holds, hidden modules, and tags. Available on Pro and above.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Revize Documentation\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.revize.app/setup/rules-engine\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://revize.mintlify.site/_mintlify/api/og/v2?division=Core+Setup\u0026amp;title=Shopify+order+editing+rules+engine\u0026amp;description=Set+per-order+editing+policies+with+the+Revize+rules+engine.+Match+orders+on+tags%2C+customer%2C+metafields%2C+value%2C+destination%2C+and+more%2C+then+control+the+editing+\u0026amp;theme=c70b9afd18d41f5c63438d60\u0026amp;signature=7dec90c639cf42bf37e302a32b49cb09453cd5432679246572477ce2e0a8f23c\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Shopify order editing rules engine - Revize Documentation\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Set per-order editing policies with the Revize rules engine. Match orders on tags, customer, metafields, value, destination, and more, then control the editing deadline and apply actions like fulfillment holds, hidden modules, and tags. Available on Pro and above.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://revize.mintlify.site/_mintlify/api/og/v2?division=Core+Setup\u0026amp;title=Shopify+order+editing+rules+engine\u0026amp;description=Set+per-order+editing+policies+with+the+Revize+rules+engine.+Match+orders+on+tags%2C+customer%2C+metafields%2C+value%2C+destination%2C+and+more%2C+then+control+the+editing+\u0026amp;theme=c70b9afd18d41f5c63438d60\u0026amp;signature=7dec90c639cf42bf37e302a32b49cb09453cd5432679246572477ce2e0a8f23c\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/revize/c4M3rFhgWDKUZr2V/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Revize Documentation\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#6366F1\">\u003cmeta data-mint-head name=\"application-name\" content=\"Revize\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.revize.app/setup/rules-engine\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/setup/rules-engine.md\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"en\" href=\"https://docs.revize.app/setup/rules-engine\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"es\" href=\"https://docs.revize.app/es/setup/rules-engine\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"fr\" href=\"https://docs.revize.app/fr/setup/rules-engine\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"de\" href=\"https://docs.revize.app/de/setup/rules-engine\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"pt\" href=\"https://docs.revize.app/pt/setup/rules-engine\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"it\" href=\"https://docs.revize.app/it/setup/rules-engine\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"ja\" href=\"https://docs.revize.app/ja/setup/rules-engine\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"x-default\" href=\"https://docs.revize.app/setup/rules-engine\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://revize.app/#organization\",\"name\":\"Revize\",\"legalName\":\"Untechnickle\",\"url\":\"https://revize.app\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://docs.revize.app/logo/revize-logo-dark.png\"},\"sameAs\":[\"https://apps.shopify.com/revize\",\"https://revize.app\",\"https://www.untechnickle.com\"]},{\"@type\":\"WebSite\",\"@id\":\"https://docs.revize.app#website\",\"name\":\"Revize Documentation\",\"url\":\"https://docs.revize.app\",\"publisher\":{\"@id\":\"https://revize.app/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.revize.app/setup/rules-engine#webpage\",\"url\":\"https://docs.revize.app/setup/rules-engine\",\"name\":\"Shopify order editing rules engine\",\"description\":\"Set per-order editing policies with the Revize rules engine. Match orders on tags, customer, metafields, value, destination, and more, then control the editing deadline and apply actions like fulfillment holds, hidden modules, and tags. Available on Pro and above.\",\"dateModified\":\"2026-10-01T08:54:43.000Z\",\"isPartOf\":{\"@id\":\"https://docs.revize.app#website\"},\"breadcrumb\":{\"@id\":\"https://docs.revize.app/setup/rules-engine#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.revize.app/setup/rules-engine#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Core Setup\",\"item\":\"https://docs.revize.app/setup/edit-window\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Shopify order editing rules engine\",\"item\":\"https://docs.revize.app/setup/rules-engine\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.revize.app/setup/rules-engine#article\",\"headline\":\"Shopify order editing rules engine\",\"name\":\"Shopify order editing rules engine\",\"description\":\"Set per-order editing policies with the Revize rules engine. Match orders on tags, customer, metafields, value, destination, and more, then control the editing deadline and apply actions like fulfillment holds, hidden modules, and tags. Available on Pro and above.\",\"url\":\"https://docs.revize.app/setup/rules-engine\",\"mainEntityOfPage\":{\"@id\":\"https://docs.revize.app/setup/rules-engine#webpage\"},\"dateModified\":\"2026-10-01T08:54:43.000Z\",\"publisher\":{\"@id\":\"https://revize.app/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.revize.app#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Revize Documentation\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Revize\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/setup/rules-engine.md","siteName":"Revize Documentation","nav":{"global":{"anchors":[{"anchor":"Install Revize","icon":"cart-plus","href":"https://apps.shopify.com/revize?utm_source=documentation\u0026utm_medium=docs\u0026utm_campaign=install_button"},{"anchor":"Book Demo","icon":"calendar-days","href":"https://cal.com/revize-team-xx92ri/30min?overlayCalendar=true"}]},"languages":[{"language":"en","default":true,"tabs":[{"tab":"Documentation","icon":"book","groups":[{"group":"Getting Started","icon":"rocket","pages":[{"title":"Edit Shopify orders after checkout","sidebarTitle":"Welcome","href":""},{"title":"Set up Shopify order editing in minutes","sidebarTitle":"Quickstart","href":"/quickstart"},{"title":"Test Shopify order edits with a draft order","sidebarTitle":"How to test","href":"/how-to-test-revize"}]},{"group":"Guides","icon":"book-open","pages":[{"title":"Stop your 3PL from picking Shopify orders before edits finish","sidebarTitle":"3PL and warehouse holds","href":"/guides/3pl-warehouse-holds"},{"title":"Set up order editing for Shopify Plus and high-volume stores","sidebarTitle":"Shopify Plus and high volume","href":"/guides/shopify-plus-high-volume"},{"title":"Shopify Flow triggers and actions for order editing","sidebarTitle":"Shopify Flow","href":"/guides/shopify-flow"}]},{"group":"Core Setup","icon":"sliders","pages":[{"title":"Set a Shopify order editing window","sidebarTitle":"Edit window","description":"Set how long customers can edit an order after checkout. Choose a fixed or custom duration, keep editing open until fulfillment, or schedule cutoffs that match your pick times.","href":"/setup/edit-window"},{"title":"Shopify order editing rules engine","sidebarTitle":"Rules engine","href":"/setup/rules-engine"},{"title":"Hold Shopify orders while customers edit","sidebarTitle":"Order processing","description":"Control how orders flow to fulfillment while customers can edit their orders. Choose to hold orders during editing or let them flow normally with release tags.","href":"/setup/order-processing"},{"title":"Payments and refunds for Shopify order edits","sidebarTitle":"Payments and refunds","href":"/setup/payments-and-refunds"},{"title":"Shopify post-purchase upsells on the same order","sidebarTitle":"Post-purchase upsells","href":"/setup/post-purchase-upsells"},{"title":"Shopify email upsells: add products to an order from any email","sidebarTitle":"Email upsells","href":"/setup/email-upsells"},{"title":"Reverse unpaid Shopify order edits automatically","sidebarTitle":"Reverse unpaid edits","href":"/setup/reverse-unpaid-edits"},{"title":"Restrict which Shopify orders customers can edit","sidebarTitle":"Edit restrictions","href":"/setup/order-edit-restrictions"},{"title":"Sync edited Shopify orders to your 3PL","sidebarTitle":"Fulfillment sync","href":"/setup/fulfillment-sync"},{"title":"Translate the Shopify order editing portal","sidebarTitle":"Translations","href":"/setup/translations"},{"title":"Edit Shopify subscription and pre-order purchases","sidebarTitle":"Subscriptions \u0026 pre-orders","href":"/setup/subscription-preorders"},{"title":"Advanced Shopify order editing settings","sidebarTitle":"Advanced settings","href":"/setup/advanced-settings"},{"title":"Revize email notifications and sender settings","sidebarTitle":"Notifications","href":"/setup/notifications"},{"title":"Add order editing to Shopify confirmation emails","sidebarTitle":"Confirmation email","href":"/setup/order-confirmation-email"}]},{"group":"Features","icon":"rectangle-list","pages":[{"title":"Shopify self-serve order editing portal","sidebarTitle":"Customer portal","href":"/features/customer-portal"},{"title":"Change a Shopify shipping address after checkout","sidebarTitle":"Address edits","href":"/features/address-edits"},{"title":"Change Shopify size, color, or quantity after checkout","sidebarTitle":"Variant \u0026 quantity","href":"/features/product-quantity-edits"},{"title":"Add products to a Shopify order after checkout","sidebarTitle":"Add products","href":"/features/add-products-upsell"},{"title":"Upgrade Shopify shipping after checkout","sidebarTitle":"Shipping upgrade","href":"/features/shipping-upgrade"},{"title":"Let customers cancel a Shopify order themselves","sidebarTitle":"Cancel order","href":"/features/cancel-order"},{"title":"Shopify order cancellation API","sidebarTitle":"Cancellation API","href":"/features/cancellation-api"},{"title":"Apply a Shopify discount code after checkout","sidebarTitle":"Apply discounts","href":"/features/apply-discounts"},{"title":"Edit a Shopify tax invoice after checkout","sidebarTitle":"Invoices \u0026 tax","href":"/features/invoices-and-tax"},{"title":"Add a preferred delivery date after Shopify checkout","sidebarTitle":"Delivery date","href":"/features/delivery-date"},{"title":"Shopify order support tickets from the portal","sidebarTitle":"Support tickets","href":"/features/support-tickets"},{"title":"Shopify order editing analytics and ROI","sidebarTitle":"Analytics","href":"/features/analytics"},{"title":"Add a custom note when editing a Shopify order","sidebarTitle":"Custom note","href":"/features/custom-note"},{"title":"EU withdrawal requests on the Shopify order status page","sidebarTitle":"EU withdrawal","href":"/features/eu-withdrawal"}]},{"group":"Tech Stack","icon":"puzzle-piece","pages":[{"title":"Revize integrations for Shopify fulfillment and email","sidebarTitle":"Integrations","href":"/integrations/index"},{"title":"Send Klaviyo emails when Shopify orders are edited","sidebarTitle":"Klaviyo","href":"/integrations/klaviyo"}]}]},{"tab":"Support","icon":"life-ring","pages":[{"title":"Support","href":"/support/faq"}]},{"tab":"Changelog","icon":"sparkles","pages":[{"title":"Changelog","href":"/changelog"}]}]},{"language":"es","navbar":{"links":[{"href":"https://cal.com/revize-team-xx92ri/30min?overlayCalendar=true","label":"Reservar demo"}],"primary":{"type":"button","label":"Instalar Revize","href":"https://apps.shopify.com/revize?utm_source=documentation\u0026utm_medium=docs\u0026utm_campaign=install_button"}},"pages":[{"title":"es","href":"/es/setup/rules-engine"}]},{"language":"fr","navbar":{"links":[{"href":"https://cal.com/revize-team-xx92ri/30min?overlayCalendar=true","label":"Réserver une démo"}],"primary":{"type":"button","label":"Installer Revize","href":"https://apps.shopify.com/revize?utm_source=documentation\u0026utm_medium=docs\u0026utm_campaign=install_button"}},"pages":[{"title":"fr","href":"/fr/setup/rules-engine"}]},{"language":"de","navbar":{"links":[{"href":"https://cal.com/revize-team-xx92ri/30min?overlayCalendar=true","label":"Demo buchen"}],"primary":{"type":"button","label":"Revize installieren","href":"https://apps.shopify.com/revize?utm_source=documentation\u0026utm_medium=docs\u0026utm_campaign=install_button"}},"pages":[{"title":"de","href":"/de/setup/rules-engine"}]},{"language":"pt","navbar":{"links":[{"href":"https://cal.com/revize-team-xx92ri/30min?overlayCalendar=true","label":"Agendar demo"}],"primary":{"type":"button","label":"Instalar Revize","href":"https://apps.shopify.com/revize?utm_source=documentation\u0026utm_medium=docs\u0026utm_campaign=install_button"}},"pages":[{"title":"pt","href":"/pt/setup/rules-engine"}]},{"language":"it","navbar":{"links":[{"href":"https://cal.com/revize-team-xx92ri/30min?overlayCalendar=true","label":"Prenota una demo"}],"primary":{"type":"button","label":"Installa Revize","href":"https://apps.shopify.com/revize?utm_source=documentation\u0026utm_medium=docs\u0026utm_campaign=install_button"}},"pages":[{"title":"it","href":"/it/setup/rules-engine"}]},{"language":"ja","navbar":{"links":[{"href":"https://cal.com/revize-team-xx92ri/30min?overlayCalendar=true","label":"デモを予約"}],"primary":{"type":"button","label":"Revize をインストール","href":"https://apps.shopify.com/revize?utm_source=documentation\u0026utm_medium=docs\u0026utm_campaign=install_button"}},"pages":[{"title":"ja","href":"/ja/setup/rules-engine"}]}]},"basePath":"","title":"Shopify order editing rules engine - Revize Documentation","deploymentId":"dpl_57NA6NKtrcUBhuxv6Tm2hAi21TK4","buildId":"dpl_57NA6NKtrcUBhuxv6Tm2hAi21TK4","dynamics":["a74be98ba7"],"chunks":["zoom-image-lightbox-C5J5Gw3i.js","lightbox-handle-r17bVUz3.js"]}