add-on or addon. The import currently supports only flat-rate pricing models. All created entities are saved as drafts by default, with the option to publish them as part of the workflow.
Clone the import script repository
Clone the repository that contains the Zuora-to-Stigg catalog import script:
Set up your environment and credentials
Use the provided Update the values in
.env.example file as a template:.env with your Stigg credentials and Zuora configuration:ZUORA_PRODUCT_IDSaccepts a comma-separated list of Zuora product IDs.
Run the default import
Run the script without any flags to perform a basic import:This mode:
- Creates new entities only
- Does not update existing entities
- Creates all entities in Draft status
Update existing entities (optional)
To update existing products, plans, and prices in Stigg, run the script with the This mode:
--update flag:- Creates new entities if they don’t exist
- Updates existing entities
- Does not publish any entities
Publish imported entities (optional)
To automatically publish all unpublished entities after import, use the This mode:
--publish flag:- Creates new entities if they don’t exist
- Publishes all unpublished entities
- Does not update existing published entities
Update and publish in one run (optional)
You can combine update and publish behavior in a single run:This mode:
- Creates new entities
- Updates existing entities
- Publishes all unpublished entities
