POST /api/v2/storefront/operating-instructions
Authors a new operating-instructions version. The version number is computed atomically as the current maximum plus one for your storefront. This does not auto-activate — the new version sits in history until you activate it. Versions are immutable; to change the rules, create another version.
Request
Parameters
| Field | Type | Required | Notes |
|---|---|---|---|
content | string | Yes | Markdown body the Interchange Merchandising Engine uses when composing products. Freeform, 1–50000 chars |
notes | string | No | Operator note describing why this version was created. Not surfaced to buyers; visible in version history. Max 2000 chars |
Response
201 with the new version. version is assigned by the platform — never supplied by the caller. isActive is false until you activate it. createdBy is the authoring operator’s user id, or null when authored by a service token.
Errors
400 VALIDATION_ERROR— missingcontent, empty body, orcontentover 50000 chars.
Related
Activate version
Make this version the active one
List versions
See all versions, newest first
Operating instructions tasks
All operating-instructions operations
Operating instructions overview
Concepts and versioning model