> ## Documentation Index
> Fetch the complete documentation index at: https://codebeans-shipping-rules-pro.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Import and export

> Back up rules as JSON, or move them between stores.

Every rule can be exported as a `.json` file from its row menu, and every configuration exported this way can be imported back in — useful for backing up a rule or moving it between stores.

## Importing a rule

Open the import modal and drop in a `.json` file exported by this app.

![Import modal, empty drop zone](https://mintcdn.com/codebeans-shipping-rules-pro/q4ulWG3dWji5cRla/images/11-import-modal.jpg?fit=max\&auto=format\&n=q4ulWG3dWji5cRla\&q=85\&s=aad6ffd13d5428a3e237d3b73647d279)

Import modal, empty drop zone

> [!WARNING]
>
> **An import doesn't save the rule for you.** The app reads the file and opens the matching editor with everything filled in — you still have to review it and click **Save**. If you navigate away first, the import is discarded and nothing is created.

This is deliberate: it gives you a chance to check a rule from another store against your own shipping methods and zones before it goes live.

If the file isn't a valid export — for example, it's been hand-edited and is missing required fields — the modal shows an error instead of opening an editor with a broken rule.

![Import modal, corrupted-config error](https://mintcdn.com/codebeans-shipping-rules-pro/q4ulWG3dWji5cRla/images/12-import-error.jpg?fit=max\&auto=format\&n=q4ulWG3dWji5cRla\&q=85\&s=67c7cca449e7feb7fb6f4bfa9400c255)

Import modal, corrupted-config error

If you hit this error, re-export a fresh copy of the rule from the store it was created in rather than editing the JSON by hand.

> [!NOTE]
>
> Importing is subject to the same plan limits as creating a rule by hand. Importing an advanced rule while on the Basic plan, for example, won't work — see [Choosing a plan](https://codebeans-shipping-rules-pro.mintlify.site/plans/choosing-a-plan.md).

## Exporting a rule

From the customizations list, open a rule's row menu and choose **Export Rule** to download it as `.json`.

![Row menu — Edit / Export Rule / Delete](https://mintcdn.com/codebeans-shipping-rules-pro/q4ulWG3dWji5cRla/images/06-row-actions.jpg?fit=max\&auto=format\&n=q4ulWG3dWji5cRla\&q=85\&s=1233e935946b49b6fa04ae38ce1bc376)

Row menu — Edit / Export Rule / Delete

Dynamic rates export the same way, from their own row menu on the Dynamic Rates tab.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.