ecommerce
Add promo rule
Add a new promo rule to a store.
post/3.0/ecommerce/stores/{store_id}/promo-rules
Request
- Base URLhttps://api.mailchimp.com
- Auth
- HTTP bearer
- or OAuth 2Authorization codehttps://login.mailchimp.com/oauth2/authorizeToken URLhttps://login.mailchimp.com/oauth2/token
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
store_idstring required
The store id.
Request body
Example request
{
"description": "Save BIG during our summer sale!",
"title": "50% off Total Order"
}Response
Example response
{
"amount": 0.5,
"description": "Save BIG during our summer sale!",
"title": "50% off Total Order"
}Changes
No recorded changes to this operation across all 1 revision of this API.