Skip to main content

Users

Registering each end user is a requirement of using our API. It allows us to isolate billing information and may enable future APIs or integrations.

Once registered, each user will receive a specific API key that must be included in requests for that user's listings.

Additionally, if you have a customer who already has a Wheelhouse account with linked listings, the user can grant you API access to their listings by generating a User API Key here: https://app.usewheelhouse.com/u/account/api_token. Once they have created this key, they give it to you and you can use it in the X-User-API-Key header to retrieve and update their listings and pull price recommendations.

To register a customer who already has a Wheelhouse account, send their User API Key in the X-User-API-Key header when you call POST /user_registration. Without it, an email that belongs to an existing Wheelhouse account you did not register is rejected with 409. Registering a user you already registered again is allowed, and does not change their email or password.

Important: A user's id (external_user_id in the User payload) MUST be unique across environments. In systems where uniqueness cannot be guaranteed, we recommend prepending the id with the environment. For example, an integrator may be using the primary key in their User database table as the external_user_id. If they had separate databases per environment, it would be possible for these ids to collide. Instead, the integrator could send an external_user_id of the format test-{user_primary_key} and prod-{user_primary_key}.