Product Type Mapping

The properties ProductType and ProductSubType (for example returned via get products) correspond to a type of product in ROLLER.

Below is a table mapping what property values to expect for each corresponding ROLLER product type.

ROLLER ProductProductTypeProductSubType
Standard pass6 : Pass0 : Empty
Session pass6 : Pass7 : Session
Recurring pass6 : Pass4 : RecurringSessions
Package10 : Package0 : Empty
Party package13 : PartyPackage0 : Empty
Gift card9 : GiftCard0 : Empty
Membership6 : Pass5 : Membership
Stock7 : AddOn8 : Stock
Addon (Standard)7 : AddOn0 : Empty
Addon (Donation)7 : AddOn1 : Donation
Addon (Open Product)7 : AddOn3 : OpenProduct
Addon (External gift card)7 : AddOn6 : ExternalGiftCard
Wallet11 : Wallet0 : Empty
Cashless card12 : CashlessCard0 : Empty

Please note Modifiers are not considered products, so do not have a ProductType or ProductSubType



Did this page help you?