Actions258
- Agent Group Actions
- Facebook Utility Template Actions
- Flow Actions
- Flow AI Hub Actions
- Attach MCP Server to AI Agent
- Create MCP Server
- Delete MCP Server
- Detach MCP Server From AI Agent
- Get AI Agent Info
- Get AI Task Info
- Get Default AI Provider
- Get MCP Server
- List AI Agents
- List AI Tasks
- List MCP Server Tools
- List MCP Servers
- Set Audio Transcription Model
- Set Default AI Provider
- Update AI Agent Provider
- Update AI Task Provider
- Update MCP Server
- Flow Bot Field Actions
- Flow Closing Note Actions
- Flow Conversation Actions
- Flow Custom Event Actions
- Flow Segment Actions
- Flow Shortcut Actions
- Flow Tag Actions
- Flow User Field Actions
- Integration Actions
- Clear Ainvented Integration Config
- Clear Claude AI Integration Config
- Clear Dropi Integration Config
- Clear Meta Conversions API Config
- Clear OpenAI Integration Config
- Clear S3 Storage Integration Config
- Clear Shopify Integration Config
- Clear WooCommerce Integration Config
- Clear xAI Integration Config
- Get Ainvented Integration Config
- Get Claude AI Integration Config
- Get Dropi Integration Config
- Get Meta Conversions API Config
- Get OpenAI Integration Config
- Get S3 Storage Integration Config
- Get Shopify Integration Config
- Get WooCommerce Integration Config
- Get xAI Integration Config
- List Installed Mini-Apps
- Update Ainvented Integration Config
- Update Claude AI Integration Config
- Update Dropi Integration Config
- Update Meta Conversions API Config
- Update Mini-App API Key
- Update OpenAI Integration Config
- Update S3 Storage Integration Config
- Update Shopify Integration Config
- Update WooCommerce Integration Config
- Update xAI Integration Config
- OpenAI Actions
- Sending Actions
- Broadcast by Channel User IDs
- Broadcast by Segment
- Broadcast by Tag
- Broadcast Facebook Utility Template by Tag
- Broadcast Facebook Utility Template by User IDs
- Broadcast to List
- Broadcast WhatsApp Template by Channel User IDs
- Broadcast WhatsApp Template by Tag
- Cancel Broadcast
- Delete Broadcast
- List Broadcasts
- Send Content
- Send Email
- Send Facebook Utility Template
- Send Facebook Utility Template by User ID
- Send Main Flow
- Send Node
- Send SMS
- Send Sub-Flow
- Send Sub-Flow by Channel User ID
- Send Sub-Flow by Name
- Send Text Message
- Send WhatsApp Template
- Send WhatsApp Template by Channel User ID
- Shop Business Hour Actions
- Shop Discount Code Actions
- Shop Location Actions
- Shop Order Actions
- Shop Product Actions
- Shop Product Tag Actions
- Shop Product Type Actions
- Shop Product Variant Actions
- Shop Product Vendor Actions
- Subscriber Actions
- Add Labels to Subscriber
- Add Multiple Tags to Subscriber
- Add Multiple Tags to Subscriber by Name
- Add Tag to Subscriber
- Add Tag to Subscriber by Name
- Clear Multiple User Fields
- Clear Multiple User Fields by Name
- Clear User Field
- Clear User Field by Name
- Create Subscriber
- Create Subscribers (Bulk)
- Delete Subscriber
- Get Subscriber Info
- Get Subscriber Info by Channel User ID
- Opt-in Email
- Opt-in SMS
- Opt-Out Email
- Opt-Out SMS
- Remove Labels From Subscriber
- Remove Multiple Tags From Subscriber
- Remove Multiple Tags From Subscriber by Name
- Remove Tag From Subscriber
- Remove Tag From Subscriber by Name
- Search Subscribers
- Set Multiple User Fields
- Set Multiple User Fields by Name
- Set User Field
- Set User Field by Name
- Subscribe to Bot
- Trigger App Event
- Unsubscribe From Bot
- Update Subscriber
- Subscriber Cart Actions
- Team Label Actions
- Template Actions
- Ticket List Actions
- User Actions
- WhatsApp Template Actions
- Workspace Actions
Shop Discount Code → Update Discount Code
AI-generatedSummary
Update a shop discount code by ID, sending the supplied code settings in the API request. Configure the discount type and any applicable value, minimum requirements, usage limits, and start or end times.
Inputs
- Discount Code ID (required) — Numeric ID of the discount code to update.
- Code — Discount code text.
- Type — Discount type: Percentage, Amount, or Free Shipping.
- Discount Percentage — Percentage discount value.
- Discount Amount — Amount discount value.
- Once per Order — Whether the discount applies once per order.
- Minimum Requirement — Minimum requirement setting; the field description lists None, min_price, or min_qty.
- Minimum Price — Minimum price requirement value.
- Minimum Quantity — Minimum quantity requirement value.
- Has Usage Limit — Whether the discount has a usage limit.
- Max Usage Count — Maximum number of uses.
- One per Customer — Whether to limit the discount to one use per customer.
- Start Time — Discount start time in Y-m-d H:i:s format.
- End Time — Discount end time in Y-m-d H:i:s format.
- Request Options — Optional HTTP settings: batching, accepting invalid SSL certificates, proxy, and timeout.
Output shape
Not determinable from the provided source pack.
The source pack contains only signature-level views for the implementation and helpers, so it does not show the request path, response handling, or returned data shape. The properties declare Discount Code ID as required and map the other discount fields to the request body.
Examples
Example 1: Update a percentage discount
Set the Discount Code ID, choose Percentage, then provide a discount percentage and any other fields to change.