Entities that can be imported
- Customers
- Subscriptions
- Usage data
Data should be imported to Stigg according to the above order.

How imports are processed
Customer and usage imports finish before the API responds. Subscription imports run in the background and finish later.
The REST endpoint for importing customers (
POST /api/v1/customers/import) allows 400 requests per minute. Rate limits apply per API key.
Subscription import stages
EachimportSubscriptionsBulk request goes through these stages:
- Stigg validates the request. If any plan, add-on, or feature ID doesn’t exist, or an entitlement is invalid, the whole request fails and nothing is queued.
- Stigg queues an import task and returns its
taskId. Subscriptions for customers that don’t exist in Stigg, or whose billing ID already belongs to a subscription of a different customer or resource, are left out of the task without an error. - A background worker creates the subscriptions. Stigg processes a limited number of import tasks per environment at a time, so a new task can wait behind earlier ones. Subscriptions that fail validation at this stage are left out. If the import would exceed your Stigg plan’s subscription limits, the whole task fails and none of its subscriptions are created.
- Stigg recalculates each imported customer’s entitlements in a separate background step, then updates its cache and connected SDKs.
Expected duration
Small imports usually finish within minutes. Duration depends on how many tasks are already queued in the environment, so a migration that sends hundreds of import requests in a short window can take several hours to finish processing.Tracking subscription imports
The API doesn’t expose import task status, and imported subscriptions don’t triggersubscription.created webhooks. Use these signals instead:
A task can finish with some subscriptions left out, or fail as a whole, without any signal to your application. Verify the results as described in best practices, and keep every
taskId you receive so Stigg support can look up a task’s progress and the subscriptions it left out or skipped.
Best practices
- Import a customer before importing that customer’s subscriptions, and wait for the customer import request to succeed first. Stigg leaves out subscriptions for missing customers without returning an error.
- Run the full import in a development environment first and time it. Use that time to plan the production import window.
- Keep your existing system as the source of truth for access until the import is verified. Only switch a customer’s entitlement checks and subscription lookups to Stigg once that customer’s imported subscription appears in Stigg, so customers keep access while the import is processed.
- After the import finishes, compare subscription counts per plan in Stigg against your existing system, and re-import any subscriptions that are missing.
- Contact Stigg support before importing a large volume of subscriptions into production. The team can plan for the load and issue a dedicated API key, so the import doesn’t count against your production rate limits.