OrderLineItemTags
List all order line item tags
Retrieves all order line item tags for the specified company, including usage counts.
path Parameters
companyIdThe unique identifier of the company
Headers
GoSmarter-Api-KeyThe GoSmarter-Api-Key header is used to authenticate with the API using your API key. Value is of the format YOUR_KEY_HERE.
List all order line item tags › Responses
List of order line item tags with usage counts
usageCountNumber of line items currently assigned this tag
createdAtupdatedAttagIdUnique identifier for the tag
companyIdIdentifier of the owning company
nameTag name (must be unique within company)
colorHex color code for the tag
descriptionOptional description
activeWhether the tag is active (false = soft-deleted)
lastModifiedByID of the user who last modified this tag
isSystemTagTrue for tags provisioned by a subscribed Rule Pack — read-only, managed via subscribe/unsubscribe
severityRule Pack severity (Block/Flag/Audit) this tag represents; null for company-authored tags
Create new order line item tag
Creates a new order line item tag for the specified company. Returns 409 Conflict if a soft-deleted tag with the same name already exists.
path Parameters
companyIdThe unique identifier of the company
Headers
GoSmarter-Api-KeyThe GoSmarter-Api-Key header is used to authenticate with the API using your API key. Value is of the format YOUR_KEY_HERE.
Create new order line item tag › Request Body
nameTag name (must be unique within company)
colorHex color code for the tag
descriptionOptional description
Create new order line item tag › Responses
Tag created successfully
tagIdUnique identifier for the tag
companyIdIdentifier of the owning company
nameTag name (must be unique within company)
colorHex color code for the tag
descriptionOptional description
activeWhether the tag is active (false = soft-deleted)
lastModifiedByID of the user who last modified this tag
isSystemTagTrue for tags provisioned by a subscribed Rule Pack — read-only, managed via subscribe/unsubscribe
severityRule Pack severity (Block/Flag/Audit) this tag represents; null for company-authored tags
Update order line item tag
Updates an existing order line item tag. Changes to name and color will be reflected everywhere the tag appears.
path Parameters
companyIdThe unique identifier of the company
tagIdThe unique identifier of the tag
Headers
GoSmarter-Api-KeyThe GoSmarter-Api-Key header is used to authenticate with the API using your API key. Value is of the format YOUR_KEY_HERE.
Update order line item tag › Request Body
nameTag name (must be unique within company)
colorHex color code for the tag
descriptionOptional description
Update order line item tag › Responses
Tag updated successfully
tagIdUnique identifier for the tag
companyIdIdentifier of the owning company
nameTag name (must be unique within company)
colorHex color code for the tag
descriptionOptional description
activeWhether the tag is active (false = soft-deleted)
lastModifiedByID of the user who last modified this tag
isSystemTagTrue for tags provisioned by a subscribed Rule Pack — read-only, managed via subscribe/unsubscribe
severityRule Pack severity (Block/Flag/Audit) this tag represents; null for company-authored tags
Soft-delete order line item tag
Soft-deletes an order line item tag. The tag is marked inactive and hidden from the tag list. Deleted tags can be restored via POST /company/{companyId}/order-line-item-tags/{tagId}/restore.
path Parameters
companyIdThe unique identifier of the company
tagIdThe unique identifier of the tag
Headers
GoSmarter-Api-KeyThe GoSmarter-Api-Key header is used to authenticate with the API using your API key. Value is of the format YOUR_KEY_HERE.
Soft-delete order line item tag › Responses
Tag soft-deleted successfully
Get order line item tag change history
Returns the full temporal audit history for an order line item tag, most recent changes first.
path Parameters
companyIdThe unique identifier of the company
tagIdThe unique identifier of the tag
Headers
GoSmarter-Api-KeyThe GoSmarter-Api-Key header is used to authenticate with the API using your API key. Value is of the format YOUR_KEY_HERE.
Get order line item tag change history › Responses
Audit history returned successfully
changedAtchangedByIdchangedByNamechangeTypeentityTypeentityLabelList deleted order line item tags
Retrieves all soft-deleted order line item tags for the specified company.
path Parameters
companyIdThe unique identifier of the company
Headers
GoSmarter-Api-KeyThe GoSmarter-Api-Key header is used to authenticate with the API using your API key. Value is of the format YOUR_KEY_HERE.
List deleted order line item tags › Responses
List of soft-deleted order line item tags
usageCountNumber of line items currently assigned this tag
createdAtupdatedAttagIdUnique identifier for the tag
companyIdIdentifier of the owning company
nameTag name (must be unique within company)
colorHex color code for the tag
descriptionOptional description
activeWhether the tag is active (false = soft-deleted)
lastModifiedByID of the user who last modified this tag
isSystemTagTrue for tags provisioned by a subscribed Rule Pack — read-only, managed via subscribe/unsubscribe
severityRule Pack severity (Block/Flag/Audit) this tag represents; null for company-authored tags
Restore soft-deleted order line item tag
Restores a soft-deleted order line item tag so it can be used again.
path Parameters
companyIdThe unique identifier of the company
tagIdThe unique identifier of the tag to restore
Headers
GoSmarter-Api-KeyThe GoSmarter-Api-Key header is used to authenticate with the API using your API key. Value is of the format YOUR_KEY_HERE.
Restore soft-deleted order line item tag › Responses
Tag restored successfully
tagIdUnique identifier for the tag
companyIdIdentifier of the owning company
nameTag name (must be unique within company)
colorHex color code for the tag
descriptionOptional description
activeWhether the tag is active (false = soft-deleted)
lastModifiedByID of the user who last modified this tag
isSystemTagTrue for tags provisioned by a subscribed Rule Pack — read-only, managed via subscribe/unsubscribe
severityRule Pack severity (Block/Flag/Audit) this tag represents; null for company-authored tags
List order line item tag assignments
Returns all tag assignments for order line items in the specified company.
path Parameters
companyIdThe unique identifier of the company
Headers
GoSmarter-Api-KeyThe GoSmarter-Api-Key header is used to authenticate with the API using your API key. Value is of the format YOUR_KEY_HERE.
List order line item tag assignments › Responses
List of tag assignments
orderLineItemIdThe order line item identifier
tagIdUnique identifier for the tag
companyIdIdentifier of the owning company
nameTag name
colorHex color code for the tag
descriptionOptional description of the tag
assignedByRuleIdRule that assigned this tag (null if manually assigned)
isSystemTagTrue for tags provisioned by a subscribed Rule Pack
severityRule Pack severity (Block/Flag/Audit) this tag represents; null for company-authored tags
List order line item tag assignments for an order
Returns tag assignments for all active line items belonging to the specified order.
path Parameters
companyIdThe unique identifier of the company
orderIdThe unique identifier of the order
Headers
GoSmarter-Api-KeyThe GoSmarter-Api-Key header is used to authenticate with the API using your API key. Value is of the format YOUR_KEY_HERE.
List order line item tag assignments for an order › Responses
Tag assignments for the order's line items
orderLineItemIdThe order line item identifier
tagIdUnique identifier for the tag
companyIdIdentifier of the owning company
nameTag name
colorHex color code for the tag
descriptionOptional description of the tag
assignedByRuleIdRule that assigned this tag (null if manually assigned)
isSystemTagTrue for tags provisioned by a subscribed Rule Pack
severityRule Pack severity (Block/Flag/Audit) this tag represents; null for company-authored tags
List tag assignments for an order line item
Returns all tag assignments for the specified order line item.
path Parameters
companyIdThe unique identifier of the company
orderLineItemIdThe unique identifier of the order line item
Headers
GoSmarter-Api-KeyThe GoSmarter-Api-Key header is used to authenticate with the API using your API key. Value is of the format YOUR_KEY_HERE.
List tag assignments for an order line item › Responses
Tag assignments for the line item
orderLineItemIdThe order line item identifier
tagIdUnique identifier for the tag
companyIdIdentifier of the owning company
nameTag name
colorHex color code for the tag
descriptionOptional description of the tag
assignedByRuleIdRule that assigned this tag (null if manually assigned)
isSystemTagTrue for tags provisioned by a subscribed Rule Pack
severityRule Pack severity (Block/Flag/Audit) this tag represents; null for company-authored tags

