Product Phase Request
object ProductPhaseRequest
Contains request body models for the Product Phases API.
Types
Link copied to clipboard
Request body for replacing all phases on a product in a single operation.
Link copied to clipboard
data class CreateProductPhaseRequest(val ordinal: Int, val name: String?, val pricingType: PhasePricingType, val amountCents: Int?, val discountPercentage: Float?, val periodCount: Int?)
Request body for creating a new phase on a product.
Link copied to clipboard
data class UpdateProductPhaseRequest(val ordinal: Int? = null, val name: String? = null, val pricingType: PhasePricingType? = null, val amountCents: Int? = null, val discountPercentage: Float? = null, val periodCount: Int? = null)
Request body for updating an existing phase on a product.