Get promo code
Get information about a specific promo code.
Authentication
AuthorizationBearer
Authorization using a Mailchimp API key (a.k.a. Bearer token)
OR
AuthorizationBearer
Authorization using OAuth
Path parameters
store_id
The store id.
promo_rule_id
The id for the promo rule of a store.
promo_code_id
The id for the promo code of a store.
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.
Response
_links
A list of link types and descriptions for the API schema documents.
code
The discount code. Restricted to UTF-8 characters with max length 50.
created_at_foreign
The date and time the promotion was created in ISO 8601 format.
enabled
Whether the promo code is currently enabled.
id
A unique identifier for the promo Code.
redemption_url
The url that should be used in the promotion campaign restricted to UTF-8 characters with max length 2000.
updated_at_foreign
The date and time the promotion was updated in ISO 8601 format.
usage_count
Number of times promo code has been used.