Discount code activity
Fields
activityName ● String
Activity name
activitySeq ● String
Activity id
benefitConditions ● [ActivityBenefitCondition]
Eligible and rights list
More
benefitScopeType ● Int
Discount range , 1- Product dimension , 2- order dimension , 3- free shipping
benefitType ● Int
Rights type , 0- enjoy discount ; 1- price Discount ; 2- free shopping points ; 3- free shopping gold ; 4- free shipping ; 9- free lowest price ; 11- m-item n-fold ; 14- n-z
discountCode ● String
discount code
discountCodeDisplayStyle ● String
Discount style type
endsAt ● Date
End time
prerequisiteShippingPriceRange ● Decimal
Maximum shipping price , free shipping scene effective , -1 means not limited to
seoHandleList ● [String]
Handle of activity landing page. For OS 2.1 and future themes, this field will return null.
startsAt ● Date
Start time
targetUserType ● Int
User type , ie target crowd type : 0- all users ; 1- member ; 2- specify class members ; 3- specify member tag ; 4- customer ( not placed single user )
usageLimit ● Int
Discount code can be used total limited to
usagePerCustomer ● Int
Discount number for individual customers limited to
Status and error codes
For detailed information about common codes, see Status and error codes.
Map
DiscountCodeActivity
Was this article helpful to you?