Pricing
List Pricing Tiers (DataTable)
List product pricing tiers using the DataTable system. Eager-loads the base pricing tier and counts dependent tiers.
Create Pricing Tier
Create a new product pricing tier. Supports both absolute and relative pricing.
Bulk Delete Pricing Tiers
Bulk delete multiple pricing tiers by ID.
Show Pricing Tier
Show a single product pricing tier.
Update Pricing Tier
Update an existing product pricing tier. currency_code cannot be changed on update.
Delete Pricing Tier
Delete a product pricing tier. Fails if the tier is the default, is used by products, referenced in import mappings, or has active dependent tiers.
Get Create Form Data
Returns form metadata needed to create a new nominal code (e.g. available types, validation rules).
Get Edit Form Data
Returns form data for editing a specific nominal code.
Set as Default Tier
Set a pricing tier as the system default. Only absolute (non-relative) tiers that are not archived can be set as default. Unsetting the previous default is done automatically.
Archive Pricing Tier
Archive a product pricing tier. Fails if the tier is the default tier or has active dependent tiers.
Unarchive Pricing Tier
Unarchive a product pricing tier.
Bulk Archive Pricing Tiers
Bulk archive multiple pricing tiers. Default tiers and tiers with active dependents are skipped with warnings.
Bulk Unarchive Pricing Tiers
Bulk unarchive multiple pricing tiers.
Check Deletable
Check which nominal codes can be deleted. A code cannot be deleted if it is linked to sales order lines or used in nominal code mapping settings.
Check Archivable
Check which nominal codes can be archived. A code cannot be archived if it is currently used in the nominal code mapping settings.
Preview Import
Previews an import file for financial alerts before committing. Returns a summary of what will be imported and any errors.
Import Pricing Tiers
Import product pricing tiers from a CSV or Excel file.