Skip to content

Rate Rounding Rules Tools

Tools for managing a workspace’s named rate rounding rules. A rounding rule says which prices a derived product group may charge: a step in whole major currency units, an ending (a fixed fraction such as .99, or one unit under each multiple of the step) and a direction (down, up or nearest). A derived product group selects a rule with assign_product_group_rounding_rule and drops it with unassign_product_group_rounding_rule.

Tool Description
list_rate_rounding_rules List a workspace’s rate rounding rules, ordered by name, with cursor-based pagination
get_rate_rounding_rule Get one rate rounding rule by ID with its version, definition and usage
create_rate_rounding_rule Create a named rate rounding rule in a workspace
update_rate_rounding_rule Update the name and/or definition of a rate rounding rule using its current version
delete_rate_rounding_rule Delete a rate rounding rule using its current version