create_shopify_discount_code
Create a CODE discount in the connected Shopify store (percentage off, applies when a buyer enters the code — inert until the code is shared). Automatic discounts are deliberately not available here (they change every checkout unprompted and need approval). Use for building promotions the operator will distribute.
Routing: Shopify: create a percentage discount CODE (never automatic discounts)
[sensitive-tier — first use may require a manager's approval; a from-now-on approval makes future calls seamless, a just-once approval re-asks next time.]
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | The code buyers type, e.g. WELCOME10 (letters/digits/dashes, 3-30 chars) | |
| title | Yes | Internal discount title | |
| ends_at | No | Optional ISO end datetime; omit for no end | |
| companyId | Yes | FreedomOS company id to act within (you must be a member). Required for company-scoped tools. | |
| percentage | Yes | Percent off, 1-100 |