POST /api/v2/storefront/operating-instructions/{version}/activate
Sets your storefront’s active operating-instructions pointer to the given version. Every subsequent composition consumes this version. Activating is idempotent — activating the already-active version is a no-op that returns the same row. You can re-activate any historical version this way.
Request
Parameters
| Field | Type | Required | Notes |
|---|---|---|---|
version | integer | Yes | Path param — per-storefront version number to activate. Monotone, starts at 1, never reused |
Response
OperatingInstructionsResponse with isActive: true. The previously-active version flips to isActive: false.
Errors
400 VALIDATION_ERROR— no version with that number exists for your storefront, or the version does not belong to this storefront.
Related
Create version
Author the version before activating it
Get active version
Confirm what is in force now
Operating instructions tasks
All operating-instructions operations
Operating instructions overview
Concepts and versioning model