> For the complete documentation index, see [llms.txt](https://docs.solutioo.de/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.solutioo.de/magento-2-api-connector/magento2_en_us/master-data-management/categories-and-item-assignments.md).

# Categories and Item Assignments

Categories can be loaded from Magento, maintained in a tree view, and uploaded back. Item assignments are synchronized separately from category master data.

### What You See in the Tree

<table data-view="cards"><thead><tr><th></th><th></th></tr></thead><tbody><tr><td><strong>Hierarchy</strong></td><td>Parent, level, and indentation show the position in the category tree.</td></tr><tr><td><strong>Sort Order</strong></td><td>Position and drag-and-drop determine the order.</td></tr><tr><td><strong>Shop Status</strong></td><td>Magento ID, active status, and sync status show the latest state.</td></tr><tr><td><strong>Item Count</strong></td><td>Assignments are loaded or uploaded separately.</td></tr></tbody></table>

### Moving a Category Safely

{% stepper %}
{% step %}
**Refresh the tree**

Load the current structure from Magento before making changes.
{% endstep %}

{% step %}
**Drag the category by its handle**

Drop it onto another category to nest it; drop above or below to re-sort.
{% endstep %}

{% step %}
**Review changes**

Check highlighted rows, parent ID, and position.
{% endstep %}

{% step %}
**Confirm save**

Only the save action applies the buffered changes.
{% endstep %}

{% step %}
**Verify Magento navigation**

Check category path, visibility, and item assignments in the shop.
{% endstep %}
{% endstepper %}

### Upload Sequence

1. Provide the parent category.
2. Review and upload category master data.
3. Synchronize item assignments.
4. Verify the result in Magento.

{% hint style="warning" %}
Moving, renaming, or deleting can affect navigation, breadcrumbs, and URLs. Test structural changes in a sandbox first.
{% endhint %}

The **default category** only serves as a fallback and does not replace deliberate item assignment.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.solutioo.de/magento-2-api-connector/magento2_en_us/master-data-management/categories-and-item-assignments.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
