Get a customer
You can get a customer using the GET customer endpoint.
The customer object will have feature access info too.
Update a customer
You can use the PUT customer endpoint to update customer info, add/remove custom products, and more.
Update Email/Name
Add Custom Products
Remove Custom Products
If the customer exists in Stripe, then any updates to name/email will be overwritten if updated again in Stripe.
Use customProductKeys in customers.update to set custom product assignments. To remove one or more custom products, call update with the remaining customProductKeys.
To remove all custom products, send an empty array.This only applies to custom products. Stripe product access is removed in Stripe (cancel/update subscription).
Delete a customer
You can delete customers using the DELETE customer endpoint.
If a customer exists in Stripe, you will need to delete the customer in Stripe - not PriceOS.