Restore a customer
Restores a soft-deleted customer, setting deleted: false. The
customer immediately becomes modifiable again. Calling restore on a
customer that is not deleted returns 422.
Authorizations
A merchant secret key (sk_…) sent as Authorization: Bearer <key>.
Headers
A unique key that makes retries safe: the same key with the same request body returns the original response instead of repeating the operation.
255Path Parameters
The customer id (cus_…).
Response
The restored customer, with deleted: false.
Unique customer identifier (cus_…).
customer Whether this customer was created with a live (true) or test (false) key.
Empty string when not set.
Empty string when not set.
Empty string when not set.
Billing address; null when not set.
Shipping details; null when not set.
How the customer was created (for example api).
api, checkout, import, dashboard, platform Payment configuration stored for the customer.
True when the customer has been soft-deleted.
Unix epoch seconds.

