Products Requests
object ProductsRequests
Contains request body models for the Products API.
Types
Link copied to clipboard
data class CreateProductRequest(val name: String, val description: String, val defaultPrice: Int, val purchaseType: ProductPurchaseType, val recurringInterval: ProductRecurringInterval?, val shippable: Boolean?, val url: String?, val metadata: Map<String, String>?)
Request body for creating a new product.
Link copied to clipboard