Customers Requests
object CustomersRequests
Contains request body models for customer API operations.
Types
Link copied to clipboard
data class CreateCustomerRequest(val billingAddress: FrameObjects.BillingAddress?, val shippingAddress: FrameObjects.BillingAddress?, val name: String?, val phone: String?, val email: String?, val description: String?, val metadata: Map<String, String>?)
Request body for creating a new customer.
Link copied to clipboard
Link copied to clipboard
data class UpdateCustomerRequest(val billingAddress: FrameObjects.BillingAddress?, val shippingAddress: FrameObjects.BillingAddress?, val name: String?, val phone: String?, val email: String?, val description: String?, val metadata: Map<String, String>?)
Request body for updating an existing customer.