List promo codes
Get information about a store’s promo codes.
Authentication
AuthorizationBearer
Authorization using a Mailchimp API key (a.k.a. Bearer token)
OR
AuthorizationBearer
Authorization using OAuth
Path parameters
promo_rule_id
The id for the promo rule of a store.
store_id
The store id.
Query parameters
fields
A comma-separated list of fields to return. Reference parameters of sub-objects with dot notation.
exclude_fields
A comma-separated list of fields to exclude. Reference parameters of sub-objects with dot notation.
count
The number of records to return. Default value is 10. Maximum value is 1000
offset
Used for pagination, this is the number of records from a collection to skip. Default value is 0.
Response
_links
A list of link types and descriptions for the API schema documents.
promo_codes
An array of objects, each representing promo codes defined for a store.
store_id
The store id.
total_items
The total number of items matching the query regardless of pagination.