Returns a single taxonomy with its taxon tree
JavaScript
import { createSpreeClient } from '@spree/sdk' const client = createSpreeClient({ baseUrl: 'https://your-store.com', publishableKey: '<api-key>', }) const taxonomy = await client.store.taxonomies.get('taxonomy_abc123', { expand: 'taxons', })
{ "id": "txnmy_VqXmZF31wY", "name": "taxonomy_17", "position": 4, "created_at": "2026-03-05T20:52:45.877Z", "updated_at": "2026-03-05T20:52:45.885Z", "root_id": "txn_OIJLhNcSbf" }
Publishable API key for store access
Taxonomy ID (prefixed)
Expand taxons
Comma-separated list of fields to include (e.g., name,slug,price). id is always included.
taxonomy found
Show child attributes
Was this page helpful?