Skip to main content

PromoCode

No description

type PromoCode implements Node {
id: ID!
type: PromoCodeTypeEnum
code: String!
status: PromoCodeStatusEnum!
percentageOff: Float
usageLimit: Int
fixedAmount: Float
isArchived: Boolean!
numberOfUsage: Int
minimumOrderAmountToApply: Float
schedule: DiscountSchedule
createdAt: DateTime!
updatedAt: DateTime!
}

Fields

PromoCode.id ● ID! non-null scalar

PromoCode.type ● PromoCodeTypeEnum enum

PromoCode.code ● String! non-null scalar

PromoCode.status ● PromoCodeStatusEnum! non-null enum

PromoCode.percentageOff ● Float scalar

PromoCode.usageLimit ● Int scalar

PromoCode.fixedAmount ● Float scalar

PromoCode.isArchived ● Boolean! non-null scalar

PromoCode.numberOfUsage ● Int scalar

PromoCode.minimumOrderAmountToApply ● Float scalar

PromoCode.schedule ● DiscountSchedule object

PromoCode.createdAt ● DateTime! non-null scalar

PromoCode.updatedAt ● DateTime! non-null scalar

Interfaces

Node interface

Member Of

CalculateCartResponse object ● Cart object ● PromoCodeActions object ● PromoCodeEdge object ● PromoCodeQueries object ● PromoCodesConnection object ● ValidatedAdminCart object