{ "opencollection": "1.0.0", "info": { "name": "Mailchimp Marketing Abuse Stores API", "version": "3.0.55" }, "items": [ { "info": { "name": "Stores", "type": "folder" }, "items": [ { "info": { "name": "Mailchimp List Stores", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/ecommerce/stores", "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." } ] }, "docs": "Get information about all stores in the account." }, { "info": { "name": "Mailchimp Add Store", "type": "http" }, "http": { "method": "POST", "url": "{{baseUrl}}/ecommerce/stores" }, "docs": "Add a new store to your Mailchimp account." }, { "info": { "name": "Mailchimp Get Store Info", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/ecommerce/stores/:store_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." } ] }, "docs": "Get information about a specific store." }, { "info": { "name": "Mailchimp Update Store", "type": "http" }, "http": { "method": "PATCH", "url": "{{baseUrl}}/ecommerce/stores/:store_id", "params": [ { "name": "store_id", "value": "500123", "type": "path", "description": "The store id." } ] }, "docs": "Update a store." }, { "info": { "name": "Mailchimp Delete Store", "type": "http" }, "http": { "method": "DELETE", "url": "{{baseUrl}}/ecommerce/stores/:store_id", "params": [ { "name": "store_id", "value": "500123", "type": "path", "description": "The store id." } ] }, "docs": "Delete a store. Deleting a store will also delete any associated subresources, including Customers, Orders, Products, and Carts." }, { "info": { "name": "Mailchimp List Carts", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/ecommerce/stores/:store_id/carts", "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 carts." }, { "info": { "name": "Mailchimp Add Cart", "type": "http" }, "http": { "method": "POST", "url": "{{baseUrl}}/ecommerce/stores/:store_id/carts", "params": [ { "name": "store_id", "value": "500123", "type": "path", "description": "The store id." } ] }, "docs": "Add a new cart to a store." }, { "info": { "name": "Mailchimp Get Cart Info", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/ecommerce/stores/:store_id/carts/:cart_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": "cart_id", "value": "500123", "type": "path", "description": "The id for the cart." } ] }, "docs": "Get information about a specific cart." }, { "info": { "name": "Mailchimp Update Cart", "type": "http" }, "http": { "method": "PATCH", "url": "{{baseUrl}}/ecommerce/stores/:store_id/carts/:cart_id", "params": [ { "name": "store_id", "value": "500123", "type": "path", "description": "The store id." }, { "name": "cart_id", "value": "500123", "type": "path", "description": "The id for the cart." } ] }, "docs": "Update a specific cart." }, { "info": { "name": "Mailchimp Delete Cart", "type": "http" }, "http": { "method": "DELETE", "url": "{{baseUrl}}/ecommerce/stores/:store_id/carts/:cart_id", "params": [ { "name": "store_id", "value": "500123", "type": "path", "description": "The store id." }, { "name": "cart_id", "value": "500123", "type": "path", "description": "The id for the cart." } ] }, "docs": "Delete a cart." }, { "info": { "name": "Mailchimp List Cart Line Items", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/ecommerce/stores/:store_id/carts/:cart_id/lines", "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." }, { "name": "cart_id", "value": "500123", "type": "path", "description": "The id for the cart." } ] }, "docs": "Get information about a cart's line items." }, { "info": { "name": "Mailchimp Add Cart Line Item", "type": "http" }, "http": { "method": "POST", "url": "{{baseUrl}}/ecommerce/stores/:store_id/carts/:cart_id/lines", "params": [ { "name": "store_id", "value": "500123", "type": "path", "description": "The store id." }, { "name": "cart_id", "value": "500123", "type": "path", "description": "The id for the cart." } ] }, "docs": "Add a new line item to an existing cart." }, { "info": { "name": "Mailchimp Get Cart Line Item", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/ecommerce/stores/:store_id/carts/:cart_id/lines/:line_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": "cart_id", "value": "500123", "type": "path", "description": "The id for the cart." }, { "name": "line_id", "value": "500123", "type": "path", "description": "The id for the line item of a cart." } ] }, "docs": "Get information about a specific cart line item." }, { "info": { "name": "Mailchimp Update Cart Line Item", "type": "http" }, "http": { "method": "PATCH", "url": "{{baseUrl}}/ecommerce/stores/:store_id/carts/:cart_id/lines/:line_id", "params": [ { "name": "store_id", "value": "500123", "type": "path", "description": "The store id." }, { "name": "cart_id", "value": "500123", "type": "path", "description": "The id for the cart." }, { "name": "line_id", "value": "500123", "type": "path", "description": "The id for the line item of a cart." } ] }, "docs": "Update a specific cart line item." }, { "info": { "name": "Mailchimp Delete Cart Line Item", "type": "http" }, "http": { "method": "DELETE", "url": "{{baseUrl}}/ecommerce/stores/:store_id/carts/:cart_id/lines/:line_id", "params": [ { "name": "store_id", "value": "500123", "type": "path", "description": "The store id." }, { "name": "cart_id", "value": "500123", "type": "path", "description": "The id for the cart." }, { "name": "line_id", "value": "500123", "type": "path", "description": "The id for the line item of a cart." } ] }, "docs": "Delete a specific cart line item." }, { "info": { "name": "Mailchimp List Customers", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/ecommerce/stores/:store_id/customers", "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." }, { "name": "email_address", "value": "user@example.com", "type": "query", "description": "Restrict the response to customers with the email address." } ] }, "docs": "Get information about a store's customers." }, { "info": { "name": "Mailchimp Add Customer", "type": "http" }, "http": { "method": "POST", "url": "{{baseUrl}}/ecommerce/stores/:store_id/customers", "params": [ { "name": "store_id", "value": "500123", "type": "path", "description": "The store id." } ] }, "docs": "Add a new customer to a store." }, { "info": { "name": "Mailchimp Get Customer Info", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/ecommerce/stores/:store_id/customers/:customer_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": "customer_id", "value": "500123", "type": "path", "description": "The id for the customer of a store." } ] }, "docs": "Get information about a specific customer." }, { "info": { "name": "Mailchimp Add or Update Customer", "type": "http" }, "http": { "method": "PUT", "url": "{{baseUrl}}/ecommerce/stores/:store_id/customers/:customer_id", "params": [ { "name": "store_id", "value": "500123", "type": "path", "description": "The store id." }, { "name": "customer_id", "value": "500123", "type": "path", "description": "The id for the customer of a store." } ] }, "docs": "Add or update a customer." }, { "info": { "name": "Mailchimp Update Customer", "type": "http" }, "http": { "method": "PATCH", "url": "{{baseUrl}}/ecommerce/stores/:store_id/customers/:customer_id", "params": [ { "name": "store_id", "value": "500123", "type": "path", "description": "The store id." }, { "name": "customer_id", "value": "500123", "type": "path", "description": "The id for the customer of a store." } ] }, "docs": "Update a customer." }, { "info": { "name": "Mailchimp Delete Customer", "type": "http" }, "http": { "method": "DELETE", "url": "{{baseUrl}}/ecommerce/stores/:store_id/customers/:customer_id", "params": [ { "name": "store_id", "value": "500123", "type": "path", "description": "The store id." }, { "name": "customer_id", "value": "500123", "type": "path", "description": "The id for the customer of a store." } ] }, "docs": "Delete a customer from a store." }, { "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." }, { "info": { "name": "Mailchimp List Orders", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/ecommerce/stores/:store_id/orders", "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." }, { "name": "customer_id", "value": "500123", "type": "query", "description": "Restrict results to orders made by a specific customer." }, { "name": "has_outreach", "value": "example_value", "type": "query", "description": "Restrict results to orders that have an outreach attached. For example, an email campaign or Facebook ad." }, { "name": "campaign_id", "value": "500123", "type": "query", "description": "Restrict results to orders with a specific `campaign_id` value." }, { "name": "outreach_id", "value": "500123", "type": "query", "description": "Restrict results to orders with a specific `outreach_id` value." } ] }, "docs": "Get information about a store's orders." }, { "info": { "name": "Mailchimp Add Order", "type": "http" }, "http": { "method": "POST", "url": "{{baseUrl}}/ecommerce/stores/:store_id/orders", "params": [ { "name": "store_id", "value": "500123", "type": "path", "description": "The store id." } ] }, "docs": "Add a new order to a store." }, { "info": { "name": "Mailchimp Get Order Info", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/ecommerce/stores/:store_id/orders/:order_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": "order_id", "value": "500123", "type": "path", "description": "The id for the order in a store." } ] }, "docs": "Get information about a specific order." }, { "info": { "name": "Mailchimp Update Order", "type": "http" }, "http": { "method": "PATCH", "url": "{{baseUrl}}/ecommerce/stores/:store_id/orders/:order_id", "params": [ { "name": "store_id", "value": "500123", "type": "path", "description": "The store id." }, { "name": "order_id", "value": "500123", "type": "path", "description": "The id for the order in a store." } ] }, "docs": "Update a specific order." }, { "info": { "name": "Mailchimp Delete Order", "type": "http" }, "http": { "method": "DELETE", "url": "{{baseUrl}}/ecommerce/stores/:store_id/orders/:order_id", "params": [ { "name": "store_id", "value": "500123", "type": "path", "description": "The store id." }, { "name": "order_id", "value": "500123", "type": "path", "description": "The id for the order in a store." } ] }, "docs": "Delete an order." }, { "info": { "name": "Mailchimp List Order Line Items", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/ecommerce/stores/:store_id/orders/:order_id/lines", "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." }, { "name": "order_id", "value": "500123", "type": "path", "description": "The id for the order in a store." } ] }, "docs": "Get information about an order's line items." }, { "info": { "name": "Mailchimp Add Order Line Item", "type": "http" }, "http": { "method": "POST", "url": "{{baseUrl}}/ecommerce/stores/:store_id/orders/:order_id/lines", "params": [ { "name": "store_id", "value": "500123", "type": "path", "description": "The store id." }, { "name": "order_id", "value": "500123", "type": "path", "description": "The id for the order in a store." } ] }, "docs": "Add a new line item to an existing order." }, { "info": { "name": "Mailchimp Get Order Line Item", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/ecommerce/stores/:store_id/orders/:order_id/lines/:line_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": "order_id", "value": "500123", "type": "path", "description": "The id for the order in a store." }, { "name": "line_id", "value": "500123", "type": "path", "description": "The id for the line item of an order." } ] }, "docs": "Get information about a specific order line item." }, { "info": { "name": "Mailchimp Update Order Line Item", "type": "http" }, "http": { "method": "PATCH", "url": "{{baseUrl}}/ecommerce/stores/:store_id/orders/:order_id/lines/:line_id", "params": [ { "name": "store_id", "value": "500123", "type": "path", "description": "The store id." }, { "name": "order_id", "value": "500123", "type": "path", "description": "The id for the order in a store." }, { "name": "line_id", "value": "500123", "type": "path", "description": "The id for the line item of an order." } ] }, "docs": "Update a specific order line item." }, { "info": { "name": "Mailchimp Delete Order Line Item", "type": "http" }, "http": { "method": "DELETE", "url": "{{baseUrl}}/ecommerce/stores/:store_id/orders/:order_id/lines/:line_id", "params": [ { "name": "store_id", "value": "500123", "type": "path", "description": "The store id." }, { "name": "order_id", "value": "500123", "type": "path", "description": "The id for the order in a store." }, { "name": "line_id", "value": "500123", "type": "path", "description": "The id for the line item of an order." } ] }, "docs": "Delete a specific order line item." }, { "info": { "name": "Mailchimp List Product", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/ecommerce/stores/:store_id/products", "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 products." }, { "info": { "name": "Mailchimp Add Product", "type": "http" }, "http": { "method": "POST", "url": "{{baseUrl}}/ecommerce/stores/:store_id/products", "params": [ { "name": "store_id", "value": "500123", "type": "path", "description": "The store id." } ] }, "docs": "Add a new product to a store." }, { "info": { "name": "Mailchimp Get Product Info", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/ecommerce/stores/:store_id/products/:product_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": "product_id", "value": "500123", "type": "path", "description": "The id for the product of a store." } ] }, "docs": "Get information about a specific product." }, { "info": { "name": "Mailchimp Update Product", "type": "http" }, "http": { "method": "PATCH", "url": "{{baseUrl}}/ecommerce/stores/:store_id/products/:product_id", "params": [ { "name": "store_id", "value": "500123", "type": "path", "description": "The store id." }, { "name": "product_id", "value": "500123", "type": "path", "description": "The id for the product of a store." } ] }, "docs": "Update a specific product." }, { "info": { "name": "Mailchimp Delete Product", "type": "http" }, "http": { "method": "DELETE", "url": "{{baseUrl}}/ecommerce/stores/:store_id/products/:product_id", "params": [ { "name": "store_id", "value": "500123", "type": "path", "description": "The store id." }, { "name": "product_id", "value": "500123", "type": "path", "description": "The id for the product of a store." } ] }, "docs": "Delete a product." }, { "info": { "name": "Mailchimp List Product Variants", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/ecommerce/stores/:store_id/products/:product_id/variants", "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." }, { "name": "product_id", "value": "500123", "type": "path", "description": "The id for the product of a store." } ] }, "docs": "Get information about a product's variants." }, { "info": { "name": "Mailchimp Add Product Variant", "type": "http" }, "http": { "method": "POST", "url": "{{baseUrl}}/ecommerce/stores/:store_id/products/:product_id/variants", "params": [ { "name": "store_id", "value": "500123", "type": "path", "description": "The store id." }, { "name": "product_id", "value": "500123", "type": "path", "description": "The id for the product of a store." } ] }, "docs": "Add a new variant to the product." }, { "info": { "name": "Mailchimp Get Product Variant Info", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/ecommerce/stores/:store_id/products/:product_id/variants/:variant_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": "product_id", "value": "500123", "type": "path", "description": "The id for the product of a store." }, { "name": "variant_id", "value": "500123", "type": "path", "description": "The id for the product variant." } ] }, "docs": "Get information about a specific product variant." }, { "info": { "name": "Mailchimp Add or Update Product Variant", "type": "http" }, "http": { "method": "PUT", "url": "{{baseUrl}}/ecommerce/stores/:store_id/products/:product_id/variants/:variant_id", "params": [ { "name": "store_id", "value": "500123", "type": "path", "description": "The store id." }, { "name": "product_id", "value": "500123", "type": "path", "description": "The id for the product of a store." }, { "name": "variant_id", "value": "500123", "type": "path", "description": "The id for the product variant." } ] }, "docs": "Add or update a product variant." }, { "info": { "name": "Mailchimp Update Product Variant", "type": "http" }, "http": { "method": "PATCH", "url": "{{baseUrl}}/ecommerce/stores/:store_id/products/:product_id/variants/:variant_id", "params": [ { "name": "store_id", "value": "500123", "type": "path", "description": "The store id." }, { "name": "product_id", "value": "500123", "type": "path", "description": "The id for the product of a store." }, { "name": "variant_id", "value": "500123", "type": "path", "description": "The id for the product variant." } ] }, "docs": "Update a product variant." }, { "info": { "name": "Mailchimp Delete Product Variant", "type": "http" }, "http": { "method": "DELETE", "url": "{{baseUrl}}/ecommerce/stores/:store_id/products/:product_id/variants/:variant_id", "params": [ { "name": "store_id", "value": "500123", "type": "path", "description": "The store id." }, { "name": "product_id", "value": "500123", "type": "path", "description": "The id for the product of a store." }, { "name": "variant_id", "value": "500123", "type": "path", "description": "The id for the product variant." } ] }, "docs": "Delete a product variant." }, { "info": { "name": "Mailchimp List Product Images", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/ecommerce/stores/:store_id/products/:product_id/images", "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." }, { "name": "product_id", "value": "500123", "type": "path", "description": "The id for the product of a store." } ] }, "docs": "Get information about a product's images." }, { "info": { "name": "Mailchimp Add Product Image", "type": "http" }, "http": { "method": "POST", "url": "{{baseUrl}}/ecommerce/stores/:store_id/products/:product_id/images", "params": [ { "name": "store_id", "value": "500123", "type": "path", "description": "The store id." }, { "name": "product_id", "value": "500123", "type": "path", "description": "The id for the product of a store." } ] }, "docs": "Add a new image to the product." }, { "info": { "name": "Mailchimp Get Product Image Info", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/ecommerce/stores/:store_id/products/:product_id/images/:image_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": "product_id", "value": "500123", "type": "path", "description": "The id for the product of a store." }, { "name": "image_id", "value": "500123", "type": "path", "description": "The id for the product image." } ] }, "docs": "Get information about a specific product image." }, { "info": { "name": "Mailchimp Update Product Image", "type": "http" }, "http": { "method": "PATCH", "url": "{{baseUrl}}/ecommerce/stores/:store_id/products/:product_id/images/:image_id", "params": [ { "name": "store_id", "value": "500123", "type": "path", "description": "The store id." }, { "name": "product_id", "value": "500123", "type": "path", "description": "The id for the product of a store." }, { "name": "image_id", "value": "500123", "type": "path", "description": "The id for the product image." } ] }, "docs": "Update a product image." }, { "info": { "name": "Mailchimp Delete Product Image", "type": "http" }, "http": { "method": "DELETE", "url": "{{baseUrl}}/ecommerce/stores/:store_id/products/:product_id/images/:image_id", "params": [ { "name": "store_id", "value": "500123", "type": "path", "description": "The store id." }, { "name": "product_id", "value": "500123", "type": "path", "description": "The id for the product of a store." }, { "name": "image_id", "value": "500123", "type": "path", "description": "The id for the product image." } ] }, "docs": "Delete a product image." } ] } ], "bundled": true }