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, including for a legacy active version whose runtime copy is already sanitized. An inactive legacy version with a non-empty ownershipIssues list must be cleaned up into a new version instead of reactivated.
Request
Parameters
Response
OperatingInstructionsResponse with isActive: true. The previously-active version flips to isActive: false.
Errors
400 VALIDATION_ERROR— the version is missing, belongs to another storefront, or repeats pricing, discount, market, or acceptance-policy facts owned by another surface.
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