archive_store
Archive a store instead of deleting it when order history must be kept for accounting. This hides it from default listings, stops new orders, and lets you restore it later.
Instructions
Archive a store (use instead of delete for stores with order history — order records are kept for accounting, but the store is hidden from the default listing and stops ingesting new orders). Restore it later with unarchive_store. Set disconnect_provider=true to also disconnect every connected fulfillment provider and remove its stored credentials.
[#b85c96]
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| workspace | No | Workspace uuid to scope to (agency accounts). Omit for the Default workspace. | |
| store_uuid | Yes | The store uuid to archive. | |
| disconnect_provider | No | Also disconnect connected fulfillment providers and remove their credentials (default false). |