Actions83
- Product Actions
- Product Variant Actions
- Collection Actions
- Article Actions
- Blog Actions
- Customer Actions
- Order Actions
- Draft Order Actions
- Inventory Actions
- File Actions
- Publication Actions
- Translation Actions
- Taxonomy Actions
- Metaobject Actions
- Metaobject Definition Actions
- Metafield Value Actions
- Metafield Definition Actions
- Service Actions
Taxonomy → Get Root Categories
AI-generatedSummary
Retrieve Shopify’s top-level taxonomy categories for use in category selection workflows. Choose optional relationship fields and fetch a limited set or all pages.
Inputs
- authentication — Choose Admin API Credentials (default) or OAuth2 to authenticate with Shopify.
- returnFields — Additional fields to request: ancestorIds, childrenIds, and parentId. All three are selected by default; core identity fields are always returned.
- getAll — Whether to fetch all pages. Defaults to false.
- limit — Maximum results to return when Get All is off. Defaults to 50; accepts 1–250.
- taxonomyOptions — Optional Cursor (afterCursor) to continue from a specific pagination cursor.
- outputMode — Choose Simplified (default), Raw, or Selected Fields output.
- selectedFields — Fields to include when Output Mode is Selected Fields.
Output shape
Category results, formatted according to the selected output mode.
The supplied source contains signatures only, so exact category fields, raw response structure, and pagination metadata cannot be confirmed. The UI declares core identity fields plus the requested relationship fields.