Skip to content

Tags

Tags are created to filter orders. A order in Teapplix can have any number of tags.

https://api.teapplix.com/api2/Tag Explorer

GET Request

Query parameters

PropertyTypeDescriptionConstraints
TagId integer Filter by tag ID (exact match). Use to look up a specific tag by its numeric ID.
TagName string Case-insensitive substring search on tag name. Returns all tags whose name contains this string.

GET Response - 200

Tag Get Response

Response to GET /Tag. Contains a list of tags matching the query filters, ordered by TagId.

PropertyTypeDescriptionConstraints
Tags Tag[] List of tags matching the query filters. Empty array if none match. Required

Tag

Order tag entity. Tags are colored labels applied to orders for visual grouping and filtering. TagId 1 (Ready To Ship) and TagId 2 (Hold) are system tags and cannot be deleted. Use /OrderTags to apply or remove tags from orders.

PropertyTypeDescriptionConstraints
TagId integer Unique tag identifier. On create, omit to auto-assign. On update/delete, provide to identify the tag (alternative to TagName). Minimum: 1
TagName string Display name of the tag. Must be unique. Required on create. On update/delete, may be used instead of TagId to identify the tag (exact match).
Color string Display color of the tag as a CSS color string (e.g. '#ff0000' or 'red'). Required on create.

GET Response - 400

Message

PropertyTypeDescriptionConstraints
Success boolean Always false on this envelope. Message is the error envelope (4xx/5xx); Success is kept on the wire so legacy clients can branch on it without parsing the HTTP status. Required
Code integer Indicate error code. Codes list and description are located on help page https://www.teapplix.com/help/?page_id=7115
Message string Message typically associated with errors
Description string[] Detailed description

GET Response - 401

Message

PropertyTypeDescriptionConstraints
Success boolean Always false on this envelope. Message is the error envelope (4xx/5xx); Success is kept on the wire so legacy clients can branch on it without parsing the HTTP status. Required
Code integer Indicate error code. Codes list and description are located on help page https://www.teapplix.com/help/?page_id=7115
Message string Message typically associated with errors
Description string[] Detailed description

GET Response - 500

Message

PropertyTypeDescriptionConstraints
Success boolean Always false on this envelope. Message is the error envelope (4xx/5xx); Success is kept on the wire so legacy clients can branch on it without parsing the HTTP status. Required
Code integer Indicate error code. Codes list and description are located on help page https://www.teapplix.com/help/?page_id=7115
Message string Message typically associated with errors
Description string[] Detailed description
Test Request