Skip to main content

Looking after your customers

Ruba ships with a built-in feature to view and manage your Customers. Everyone who has ever bought something from you gets recorded as a Customer on your Organization. You can review past orders and their ongoing subscriptions, along with some additional metrics.

External ID

Quite often, you’ll run your own user management system in your application, where your customers already have an ID. To simplify reconciliation between Ruba and your system, we provide a dedicated external_id field on Customers. It is unique across your organization and can’t be changed once set. We offer dedicated API endpoints that work with the external_id field, so you don’t even need to store the internal Ruba ID in your system.

Get Customer by External ID

Update Customer by External ID

Delete Customer by External ID

Metadata

You may attach additional metadata to Customers. This can be very useful to store extra data about your customer that you want available through our API and webhooks. You can set it through the dashboard or through the API. It can also be pre-set when creating a Checkout Session by using the customer_metadata field. That way, after a successful checkout, the metadata is automatically applied to the newly created Customer.