Plan scheduled price cuts (a markdown)
Write the markdown plan — the price cuts and their dates — schedule it so the cuts fire on time, and cancel it before it fires if plans change.
Promotions & loyalty · a play in 3 steps.
In the office
Write the price cuts and their dates ahead of time, schedule the plan so the cuts fire on their own, and cancel it before it fires if plans change. A scheduled plan changes live prices on its dates without anyone at a keyboard; a draft changes nothing.
Where it starts: the office’s Markdown plans page.

Step 1. Write the plan — the cuts and their dates.
Step 2. Schedule it — the cuts fire on their dates and change live prices.
Step 3. Cancel it before it fires if plans change.
What you see
The example shop holds the plan FW26 markdown plan — a draft with 2 price cuts — read it before you schedule your own.
Try it
- Open Markdown plans and open the draft; read the cuts and their dates.
- Schedule it and read the status back; the first cut fires on its date.
- Cancel a plan that has not fired yet and read the status once more.
Walked with screenshots in the owner’s manual: chapter 4 — Plan a markdown for the end of the season
For developers — the calls
The steps
- Write the plan — the cuts and their dates. — createMarkdownPlan
- Schedule it — the cuts fire on their dates and change live prices. — scheduleMarkdownPlan
- Cancel it before it fires if plans change. — cancelMarkdownPlan
The calls
Every operation this use case runs, in the order it first appears, with the request and the response its reference page shows.
createMarkdownPlan
createMarkdownPlan — mutation · Create a new markdown plan — scheduled price cuts over time at your organization.
Example request
mutation ExampleCreateMarkdownPlan($input: NewMarkdownPlanInput!) {
createMarkdownPlan(input: $input) {
id
sysId
type
caption
status
parentId
rootId
createdAt
updatedAt
revisionNum
revision
organizationIds
logicalFacilityIds
currency
nextDueAt
resolvedInventoryItemIds
}
}Variables:
{
"input": {
"caption": "Blue jeans",
"productScope": {
"predicate": {
"categoryIds": [
"01900000-0000-7000-8000-afb3e5910000"
]
}
},
"currency": "USD",
"steps": [
{
"startAt": "2027-01-31T00:00:00.000Z",
"move": {
"kind": "percent_off",
"percentPpm": 1
},
"endAt": "2027-01-31T00:00:00.000Z"
}
]
}
}Send it with the envelope naming the version: "extensions": {"at": {"version": {"name":"genesis","number":0}}}.
Example response
{
"data": {
"createMarkdownPlan": {
"id": "01900000-0000-7000-8000-29bb34ff0000",
"sysId": "MD-EXMP-0000-000F",
"type": "MarkdownPlan",
"caption": "Blue jeans",
"status": "draft",
"parentId": "01900000-0000-7000-8000-eacdfcfd0000",
"rootId": "01900000-0000-7000-8000-a1295a650000",
"createdAt": "2027-01-31T00:00:00.000Z",
"updatedAt": "2027-01-31T00:00:00.000Z",
"revisionNum": 0,
"revision": "01900000-0000-7000-8000-53c6eea90000",
"organizationIds": [
"01900000-0000-7000-8000-1971e30a0000"
],
"logicalFacilityIds": [
"01900000-0000-7000-8000-10c08c590000"
],
"currency": "USD",
"nextDueAt": "2027-01-31T00:00:00.000Z",
"resolvedInventoryItemIds": [
"01900000-0000-7000-8000-240777180000"
]
}
},
"extensions": {
"at": {
"callId": "01EXAMPLE-CALL-ID",
"version": {
"requested": {
"name": "genesis",
"number": 0
},
"serviced": {
"name": "genesis",
"number": 0
}
}
}
}
}scheduleMarkdownPlan
scheduleMarkdownPlan — mutation · Schedule a markdown plan — the price cuts will fire on their dates.
Example request
mutation ExampleScheduleMarkdownPlan($input: ScheduleMarkdownPlanInput!) {
scheduleMarkdownPlan(input: $input) {
id
sysId
type
caption
status
parentId
rootId
createdAt
updatedAt
revisionNum
revision
organizationIds
logicalFacilityIds
currency
nextDueAt
resolvedInventoryItemIds
}
}Variables:
{
"input": {
"planId": "01900000-0000-7000-8000-1eab5e320000",
"expectedRevision": "01900000-0000-7000-8000-e02b2e6c0000",
"reason": "Correcting a miscount."
}
}Send it with the envelope naming the version: "extensions": {"at": {"version": {"name":"genesis","number":0}}}.
Example response
{
"data": {
"scheduleMarkdownPlan": {
"id": "01900000-0000-7000-8000-29bb34ff0000",
"sysId": "MD-EXMP-0000-000F",
"type": "MarkdownPlan",
"caption": "Blue jeans",
"status": "scheduled",
"parentId": "01900000-0000-7000-8000-eacdfcfd0000",
"rootId": "01900000-0000-7000-8000-a1295a650000",
"createdAt": "2027-01-31T00:00:00.000Z",
"updatedAt": "2027-01-31T00:00:00.000Z",
"revisionNum": 1,
"revision": "01900000-0000-7000-8000-53c6eea90000",
"organizationIds": [
"01900000-0000-7000-8000-1971e30a0000"
],
"logicalFacilityIds": [
"01900000-0000-7000-8000-10c08c590000"
],
"currency": "USD",
"nextDueAt": "2027-01-31T00:00:00.000Z",
"resolvedInventoryItemIds": [
"01900000-0000-7000-8000-240777180000"
]
}
},
"extensions": {
"at": {
"callId": "01EXAMPLE-CALL-ID",
"version": {
"requested": {
"name": "genesis",
"number": 0
},
"serviced": {
"name": "genesis",
"number": 0
}
}
}
}
}cancelMarkdownPlan
cancelMarkdownPlan — mutation · Cancel a markdown plan — scheduled price cuts over time.
Example request
mutation ExampleCancelMarkdownPlan($input: CancelMarkdownPlanInput!) {
cancelMarkdownPlan(input: $input) {
id
sysId
type
caption
status
parentId
rootId
createdAt
updatedAt
revisionNum
revision
organizationIds
logicalFacilityIds
currency
nextDueAt
resolvedInventoryItemIds
}
}Variables:
{
"input": {
"planId": "01900000-0000-7000-8000-1eab5e320000",
"expectedRevision": "01900000-0000-7000-8000-e02b2e6c0000",
"reason": "Correcting a miscount."
}
}Send it with the envelope naming the version: "extensions": {"at": {"version": {"name":"genesis","number":0}}}.
Example response
{
"data": {
"cancelMarkdownPlan": {
"id": "01900000-0000-7000-8000-29bb34ff0000",
"sysId": "MD-EXMP-0000-000F",
"type": "MarkdownPlan",
"caption": "Blue jeans",
"status": "cancelled",
"parentId": "01900000-0000-7000-8000-eacdfcfd0000",
"rootId": "01900000-0000-7000-8000-a1295a650000",
"createdAt": "2027-01-31T00:00:00.000Z",
"updatedAt": "2027-01-31T00:00:00.000Z",
"revisionNum": 1,
"revision": "01900000-0000-7000-8000-53c6eea90000",
"organizationIds": [
"01900000-0000-7000-8000-1971e30a0000"
],
"logicalFacilityIds": [
"01900000-0000-7000-8000-10c08c590000"
],
"currency": "USD",
"nextDueAt": "2027-01-31T00:00:00.000Z",
"resolvedInventoryItemIds": [
"01900000-0000-7000-8000-240777180000"
]
}
},
"extensions": {
"at": {
"callId": "01EXAMPLE-CALL-ID",
"version": {
"requested": {
"name": "genesis",
"number": 0
},
"serviced": {
"name": "genesis",
"number": 0
}
}
}
}
}