List account orders
Get information about an account's orders.
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.
Query parameters
A comma-separated list of fields to return. Reference parameters of sub-objects with dot notation.
A comma-separated list of fields to exclude. Reference parameters of sub-objects with dot notation.
The number of records to return. Default value is 10. Maximum value is 1000
Used for pagination, this is the number of records from a collection to skip. Default value is 0.
Restrict results to orders with a specific campaign_id value.
Restrict results to orders with a specific outreach_id value.
Restrict results to orders made by a specific customer.
Restrict results to orders that have an outreach attached. For example, an email campaign or Facebook ad.
Response
Example response
{
"orders": [
{
"billing_address": {
"address1": "675 Ponce de Leon Ave NE",
"address2": "Suite 5000",
"city": "Atlanta",
"country": "United States",
"country_code": "US",
"latitude": 45.427408,
"longitude": -75.68903,
"name": "Freddie Chimpenheimer",
"phone": "8675309",
"postal_code": "30308",
"province": "Georgia",
"province_code": "GA"
},
"campaign_id": "839488a60b",
"cart_id": "cart-123",
"cancelled_at_foreign": "2015-07-15T19:28:00+00:00",
"customer": {
"address": {
"address1": "675 Ponce de Leon Ave NE",
"address2": "Suite 5000",
"city": "Atlanta",
"country": "United States",
"country_code": "US",
"postal_code": "30308",
"province": "Georgia",
"province_code": "GA"
},
"created_at": "2015-07-15T19:28:00+00:00",
"orders_count": 4,
"updated_at": "2015-07-15T19:28:00+00:00"
},
"landing_site": "http://www.example.com?source=abc",
"outreach": {
"id": "839488a60b",
"name": "Freddie's Jokes",
"published_time": "2017-06-06T13:56:12+00:00",
"type": "regular"
},
"processed_at_foreign": "2015-07-15T19:28:00+00:00",
"shipping_address": {
"address1": "675 Ponce de Leon Ave NE",
"address2": "Suite 5000",
"city": "Atlanta",
"country": "United States",
"country_code": "US",
"latitude": 45.427408,
"longitude": -75.68903,
"name": "Freddie Chimpenheimer",
"phone": "8675309",
"postal_code": "30308",
"province": "Georgia",
"province_code": "GA"
},
"updated_at_foreign": "2015-07-15T19:28:00+00:00"
}
]
}Changes
No recorded changes to this operation across all 1 revision of this API.