Skip to content
Get started

Customers

Manage customer records

Create or update a customer
client.customers.createOrUpdate(CustomerCreateOrUpdateParams { rotorAPIVersion, id, billing_city, 23 more } params, RequestOptionsoptions?): CustomerCreateOrUpdateResponse { id, billing_city, billing_country, 24 more }
POST/customers
List customers
client.customers.list(CustomerListParams { rotorAPIVersion, archived, limit, 4 more } params, RequestOptionsoptions?): CustomerListResponse { data, pagination, status }
GET/customers
Get a customer by ID
client.customers.retrieve(stringid, CustomerRetrieveParams { rotorAPIVersion } params, RequestOptionsoptions?): CustomerRetrieveResponse { data, status }
GET/customers/{id}