{ "opencollection": "1.0.0", "info": { "name": "Mailchimp Marketing Abuse Orders API", "version": "3.0.55" }, "items": [ { "info": { "name": "Orders", "type": "folder" }, "items": [ { "info": { "name": "Mailchimp List Account Orders", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/ecommerce/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": "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." }, { "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." } ] }, "docs": "Get information about an account's orders." }, { "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." } ] } ], "bundled": true }