Retrieve the number of items
Retrieve the number of items for the authenticated workspace. The provided query parameters allow filtering the returned items.
Authorizations
Bearer API key from Settings → API Keys. Use restricted keys (prefix retrac_) with the minimum scopes required.
Query Parameters
The ID of the workspace.
"ws_cluuwcv0r..."
The slug of the project. This field is deprecated – use workspaceId instead.
The SKU of the item.
The item description.
The item cost.
The default sell price of the item.
The supplier ID for the item.
The supplier IDs to filter the items by.
[DEPRECATED] (use tagIds instead): The tag ID to filter the items by.
The tag IDs to filter the items by.
The unique name of the tags assigned to the items (case insensitive).
The search term to filter the items by. The search term will be matched against the short item slug and the destination url.
The user ID to filter the items by.
The location ID to filter the items by (only items with a balance row at that location will be returned).
Whether to include tags in the response. Defaults to false if not provided.
The field to group the items by.
tagId Response
A list of items
The number of items matching the query.