activate_code_discount
Activate a previously inactive or scheduled discount code to make it active on your Shopify store.
Instructions
Activate a code discount that is currently inactive or scheduled.
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": {
"id": "<id>"
},
"name": "activate_code_discount"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | GID of the discount node (e.g. 'gid://shopify/DiscountCodeNode/123'). |