List all inventory tag rules
Retrieves all inventory tag rules for the specified company, including linked tag information.
path Parameters
companyIdThe unique identifier of the company
Headers
AuthorizationThe Authorization header is used to authenticate with the API using your API key. Value is of the format Bearer YOUR_KEY_HERE.
List all inventory tag rules › Responses
List of inventory tag rules
createdAtTimestamp when the rule was created (UTC)
updatedAtTimestamp when the rule was last updated (UTC)
tagNameName of the linked tag
tagColorColor of the linked tag
ruleIdUnique identifier for the rule
companyIdIdentifier of the owning company
tagIdTag to assign when rule matches
nameRule name (must be unique within company)
descriptionOptional description of the rule's purpose
ruleJsonJSON representation of the rule logic
isActiveWhether the rule is active and should be evaluated
Create new inventory tag rule
Creates a new inventory tag rule for the specified company. The rule will be automatically evaluated against existing inventory.
path Parameters
companyIdThe unique identifier of the company
Headers
AuthorizationThe Authorization header is used to authenticate with the API using your API key. Value is of the format Bearer YOUR_KEY_HERE.
Create new inventory tag rule › Request Body
tagIdTag to assign when rule matches
nameRule name (must be unique within company)
descriptionOptional description of the rule's purpose
ruleJsonJSON representation of the rule logic
isActiveWhether the rule is active and should be evaluated
Create new inventory tag rule › Responses
Rule created successfully
ruleIdUnique identifier for the rule
companyIdIdentifier of the owning company
tagIdTag to assign when rule matches
nameRule name (must be unique within company)
descriptionOptional description of the rule's purpose
ruleJsonJSON representation of the rule logic
isActiveWhether the rule is active and should be evaluated
Get inventory tag rule
Retrieves a specific inventory tag rule by ID with linked tag information.
path Parameters
companyIdThe unique identifier of the company
ruleIdThe unique identifier of the rule
Headers
AuthorizationThe Authorization header is used to authenticate with the API using your API key. Value is of the format Bearer YOUR_KEY_HERE.
Get inventory tag rule › Responses
The inventory tag rule
createdAtTimestamp when the rule was created (UTC)
updatedAtTimestamp when the rule was last updated (UTC)
tagNameName of the linked tag
tagColorColor of the linked tag
ruleIdUnique identifier for the rule
companyIdIdentifier of the owning company
tagIdTag to assign when rule matches
nameRule name (must be unique within company)
descriptionOptional description of the rule's purpose
ruleJsonJSON representation of the rule logic
isActiveWhether the rule is active and should be evaluated
Update inventory tag rule
Updates an existing inventory tag rule. The rule will be re-evaluated against all inventory items.
path Parameters
companyIdThe unique identifier of the company
ruleIdThe unique identifier of the rule
Headers
AuthorizationThe Authorization header is used to authenticate with the API using your API key. Value is of the format Bearer YOUR_KEY_HERE.
Update inventory tag rule › Request Body
tagIdTag to assign when rule matches
nameRule name (must be unique within company)
descriptionOptional description of the rule's purpose
ruleJsonJSON representation of the rule logic
isActiveWhether the rule is active and should be evaluated
Update inventory tag rule › Responses
Rule updated successfully
ruleIdUnique identifier for the rule
companyIdIdentifier of the owning company
tagIdTag to assign when rule matches
nameRule name (must be unique within company)
descriptionOptional description of the rule's purpose
ruleJsonJSON representation of the rule logic
isActiveWhether the rule is active and should be evaluated
Soft-delete inventory tag rule
Soft-deletes an inventory tag rule and all its active rule-created assignments. The rule can be restored via the restore endpoint.
path Parameters
companyIdThe unique identifier of the company
ruleIdThe unique identifier of the rule
Headers
AuthorizationThe Authorization header is used to authenticate with the API using your API key. Value is of the format Bearer YOUR_KEY_HERE.
Soft-delete inventory tag rule › Responses
Rule soft-deleted successfully
Get inventory tag rule change history
Returns the full temporal audit history for an inventory tag rule, most recent changes first.
path Parameters
companyIdThe unique identifier of the company
ruleIdThe unique identifier of the rule
Headers
AuthorizationThe Authorization header is used to authenticate with the API using your API key. Value is of the format Bearer YOUR_KEY_HERE.
Get inventory tag rule change history › Responses
Audit history returned successfully
changedAtchangedByIdchangedByNamechangeTypeentityTypeentityLabelRestore soft-deleted inventory tag rule
Restores a soft-deleted rule and re-activates its rule-created assignments for inventory items that are still active. Triggers re-evaluation of inventory tagging.
path Parameters
companyIdThe unique identifier of the company
ruleIdThe unique identifier of the rule to restore
Headers
AuthorizationThe Authorization header is used to authenticate with the API using your API key. Value is of the format Bearer YOUR_KEY_HERE.
Restore soft-deleted inventory tag rule › Responses
Rule restored successfully
ruleIdUnique identifier for the rule
companyIdIdentifier of the owning company
tagIdTag to assign when rule matches
nameRule name (must be unique within company)
descriptionOptional description of the rule's purpose
ruleJsonJSON representation of the rule logic
isActiveWhether the rule is active and should be evaluated

