Edit a draft (store not changed)
edit_draftChange a draft or a set of unpublished changes before it is published. Only the draft changes, never the live store; values given here replace the draft's earlier values (arrays replace the whole list), so check the draft first. changes is partial.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"draft_id": "<draft_id>",
"changes": "<changes>"
},
"name": "edit_draft"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| store | No | Which connected store (its myshopify address, e.g. other-store.myshopify.com). Leave it out for the default store; list_stores shows them. | |
| changes | Yes | ||
| draft_id | Yes |