Add a new promo code to an e-commerce store under an existing promo rule. A promo code contains the actual discount code that customers can apply at checkout, along with a redemption URL. You must first create a promo rule (which defines the discount type, amount, and target) be…
idRequiredstringA unique identifier for the promo code. Restricted to UTF-8 characters with max length 50.
codeRequiredstringThe discount code. Restricted to UTF-8 characters with max length 50.
enabledbooleanWhether the promo code is currently enabled.
store_idRequiredstringThe unique identifier for the Mailchimp e-commerce store.
usage_countintegerNumber of times promo code has been used.
promo_rule_idRequiredstringThe unique identifier for the promo rule. A promo code must be associated with an existing promo rule.
redemption_urlRequiredstringThe url that should be used in the promotion campaign restricted to UTF-8 characters with max length 2000.
created_at_foreignstringThe date and time the promotion was created in ISO 8601 format.
updated_at_foreignstringThe date and time the promotion was updated in ISO 8601 format.
dataRequiredData from the action execution
errorstringError if any occurred during the execution of the action
successfulRequiredbooleanWhether or not the action execution was successful or not
OAuth connection. Risk level 2 of 5.
Free Action
No published Skills explicitly reference this Action yet.