{ "opencollection": "1.0.0", "info": { "name": "Mailchimp Marketing Abuse Rules API", "version": "3.0.55" }, "items": [ { "info": { "name": "Rules", "type": "folder" }, "items": [ { "info": { "name": "Mailchimp List Promo Rules", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/ecommerce/stores/:store_id/promo-rules", "params": [ { "name": "fields", "value": "example_value", "type": "query", "description": "A comma-separated list of fields to return. Reference parameters of sub-objects with dot notation." }, { "name": "exclude_fields", "value": "example_value", "type": "query", "description": "A comma-separated list of fields to exclude. Reference parameters of sub-objects with dot notation." }, { "name": "count", "value": "example_value", "type": "query", "description": "The number of records to return. Default value is 10. Maximum value is 1000" }, { "name": "offset", "value": "example_value", "type": "query", "description": "Used for [pagination](https://mailchimp.com/developer/marketing/docs/methods-parameters/#pagination), this it the number of records from a collection to skip. Default value is 0." }, { "name": "store_id", "value": "500123", "type": "path", "description": "The store id." } ] }, "docs": "Get information about a store's promo rules." }, { "info": { "name": "Mailchimp Add Promo Rule", "type": "http" }, "http": { "method": "POST", "url": "{{baseUrl}}/ecommerce/stores/:store_id/promo-rules", "params": [ { "name": "store_id", "value": "500123", "type": "path", "description": "The store id." } ] }, "docs": "Add a new promo rule to a store." }, { "info": { "name": "Mailchimp Get Promo Rule", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/ecommerce/stores/:store_id/promo-rules/:promo_rule_id", "params": [ { "name": "fields", "value": "example_value", "type": "query", "description": "A comma-separated list of fields to return. Reference parameters of sub-objects with dot notation." }, { "name": "exclude_fields", "value": "example_value", "type": "query", "description": "A comma-separated list of fields to exclude. Reference parameters of sub-objects with dot notation." }, { "name": "store_id", "value": "500123", "type": "path", "description": "The store id." }, { "name": "promo_rule_id", "value": "500123", "type": "path", "description": "The id for the promo rule of a store." } ] }, "docs": "Get information about a specific promo rule." }, { "info": { "name": "Mailchimp Update Promo Rule", "type": "http" }, "http": { "method": "PATCH", "url": "{{baseUrl}}/ecommerce/stores/:store_id/promo-rules/:promo_rule_id", "params": [ { "name": "store_id", "value": "500123", "type": "path", "description": "The store id." }, { "name": "promo_rule_id", "value": "500123", "type": "path", "description": "The id for the promo rule of a store." } ] }, "docs": "Update a promo rule." }, { "info": { "name": "Mailchimp Delete Promo Rule", "type": "http" }, "http": { "method": "DELETE", "url": "{{baseUrl}}/ecommerce/stores/:store_id/promo-rules/:promo_rule_id", "params": [ { "name": "store_id", "value": "500123", "type": "path", "description": "The store id." }, { "name": "promo_rule_id", "value": "500123", "type": "path", "description": "The id for the promo rule of a store." } ] }, "docs": "Delete a promo rule from a store." }, { "info": { "name": "Mailchimp List Promo Codes", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/ecommerce/stores/:store_id/promo-rules/:promo_rule_id/promo-codes", "params": [ { "name": "fields", "value": "example_value", "type": "query", "description": "A comma-separated list of fields to return. Reference parameters of sub-objects with dot notation." }, { "name": "exclude_fields", "value": "example_value", "type": "query", "description": "A comma-separated list of fields to exclude. Reference parameters of sub-objects with dot notation." }, { "name": "count", "value": "example_value", "type": "query", "description": "The number of records to return. Default value is 10. Maximum value is 1000" }, { "name": "offset", "value": "example_value", "type": "query", "description": "Used for [pagination](https://mailchimp.com/developer/marketing/docs/methods-parameters/#pagination), this it the number of records from a collection to skip. Default value is 0." }, { "name": "promo_rule_id", "value": "500123", "type": "path", "description": "The id for the promo rule of a store." }, { "name": "store_id", "value": "500123", "type": "path", "description": "The store id." } ] }, "docs": "Get information about a store's promo codes." }, { "info": { "name": "Mailchimp Add Promo Code", "type": "http" }, "http": { "method": "POST", "url": "{{baseUrl}}/ecommerce/stores/:store_id/promo-rules/:promo_rule_id/promo-codes", "params": [ { "name": "store_id", "value": "500123", "type": "path", "description": "The store id." }, { "name": "promo_rule_id", "value": "500123", "type": "path", "description": "The id for the promo rule of a store." } ] }, "docs": "Add a new promo code to a store." }, { "info": { "name": "Mailchimp Get Promo Code", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/ecommerce/stores/:store_id/promo-rules/:promo_rule_id/promo-codes/:promo_code_id", "params": [ { "name": "fields", "value": "example_value", "type": "query", "description": "A comma-separated list of fields to return. Reference parameters of sub-objects with dot notation." }, { "name": "exclude_fields", "value": "example_value", "type": "query", "description": "A comma-separated list of fields to exclude. Reference parameters of sub-objects with dot notation." }, { "name": "store_id", "value": "500123", "type": "path", "description": "The store id." }, { "name": "promo_rule_id", "value": "500123", "type": "path", "description": "The id for the promo rule of a store." }, { "name": "promo_code_id", "value": "500123", "type": "path", "description": "The id for the promo code of a store." } ] }, "docs": "Get information about a specific promo code." }, { "info": { "name": "Mailchimp Update Promo Code", "type": "http" }, "http": { "method": "PATCH", "url": "{{baseUrl}}/ecommerce/stores/:store_id/promo-rules/:promo_rule_id/promo-codes/:promo_code_id", "params": [ { "name": "store_id", "value": "500123", "type": "path", "description": "The store id." }, { "name": "promo_rule_id", "value": "500123", "type": "path", "description": "The id for the promo rule of a store." }, { "name": "promo_code_id", "value": "500123", "type": "path", "description": "The id for the promo code of a store." } ] }, "docs": "Update a promo code." }, { "info": { "name": "Mailchimp Delete Promo Code", "type": "http" }, "http": { "method": "DELETE", "url": "{{baseUrl}}/ecommerce/stores/:store_id/promo-rules/:promo_rule_id/promo-codes/:promo_code_id", "params": [ { "name": "store_id", "value": "500123", "type": "path", "description": "The store id." }, { "name": "promo_rule_id", "value": "500123", "type": "path", "description": "The id for the promo rule of a store." }, { "name": "promo_code_id", "value": "500123", "type": "path", "description": "The id for the promo code of a store." } ] }, "docs": "Delete a promo code from a store." } ] } ], "bundled": true }