getDiscountCode
Get discount code details. Fetch by code is case-insensitive.
Arguments
Argument
Description
Return fields
activated (Boolean!)
autoSelectPlan (Plan)
code (String!)
createdAt (ISO8601DateTime!)
expired (Boolean!)
id (ID!)
maxTimesUsed (Int)
metadata (JSON)
promotion (Promotion)
promotionId (ID!)
redeemable (Boolean!)
updatedAt (ISO8601DateTime!)
Last updated
Was this helpful?