Skip to main content

Customer management

Provisioning customers

When a new customer is provisioned in your application (for example, during registration or onboarding), you should also provision them in Stigg. You provide the customer’s unique identifier, and optionally their name, billing email address, a coupon to apply, initial subscription parameters, billing and shipping addresses (including tax IDs and payment method), and arbitrary metadata.
To control the customer’s initial access to a product according to the product’s Customer Journey settings, initial subscription parameters must be provided. To provision a customer without any default subscription, explicitly pass no subscription parameters.
Passing billing information will cause the customer to be synced to the integrated billing solution even if they don’t have any paid subscriptions. Billing information is not persisted on Stigg’s servers.

Updating customers

Customer information can be updated at any time. Only the fields being updated need to be sent.
Since billing information is not persisted on Stigg’s servers, the entire billing information object must be passed each time it needs to be updated.

Getting customer data

Retrieve customer details by their customer ID, including metadata, promotional entitlements, and payment method status.

Archiving customers

When a customer is archived:
  1. Their PII (name and email) will be nullified.
  2. They will no longer appear in the Stigg app UI.
  3. They will no longer be returned by the Stigg API and SDKs.
New customers cannot reuse the customer ID of archived customers. When Stigg is integrated with a billing solution, archived customers will still exist in the billing solution to allow upcoming invoices to be finalized.