# Product Categories

## Docs

- [List Categories](https://docs.zid.sa/get-all-categories.md): Fetches all the available categories for a certain store, including details such as their names, status, SEO information, and the number of products they contain. It supports returning both detailed and minimal category information depending on the request parameters.
- [View Category](https://docs.zid.sa/get-single-category-details.md): Retrieves detailed information about a specific category, including its attributes, status, and associated products or subcategories, based on the provided category ID.
- [Create Category](https://docs.zid.sa/create-store-category.md): Use this endpoint to add a new store category.
- [Create Subcategory](https://docs.zid.sa/create-subcategory-20319945e0.md): Use this endpoint to add a new store Sub-category.
- [Update Category](https://docs.zid.sa/update-a-store-category.md): Use this endpoint to update only one store category
- [Assign Product to Category](https://docs.zid.sa/add-a-product-to-a-certain-category.md): Use this endpoint to add a new product to a certain category by specifying the product id and providing the category id in the request body.
- [Bulk Assign Products to Category](https://docs.zid.sa/bulk-assign-products-to-category-24155519e0.md): Adds a product to one or more categories. Provide the product ID as a path parameter and the category ID(s) in the request body.
- [Publish Category](https://docs.zid.sa/publish/unpublish-a-category.md): Use this endpoint to either publish or unpublish a certain category.
- [Detach Category from All Products](https://docs.zid.sa/detach-category-from-all-products.md): Detach a specified category from all products in the store. This essentially 
- [Remove Product from Category](https://docs.zid.sa/remove-category-from-product.md): This endpoint removes a specified category from a particular product. This action 
- [Set Categories Nesting](https://docs.zid.sa/set-categories-nesting-42347136e0.md): Updates the parent-child hierarchy of product categories. Supports up to 3 levels of nesting.
- [Delete Category Cover Image](https://docs.zid.sa/delete-category-cover-image-42347793e0.md): Deletes the cover image of a specific product category.
- [Upload Category Cover Image](https://docs.zid.sa/upload-category-cover-image-42348493e0.md): Uploads a cover image for a specific product category.
- [Delete Category](https://docs.zid.sa/delete-category-42349108e0.md): Deletes a specific product category.
- [Delete Category Image](https://docs.zid.sa/delete-category-image-43300238e0.md): Deletes the main image of a specific product category.
- [Upload Category Image](https://docs.zid.sa/upload-category-image-43300538e0.md): Uploads the main image for a specific product category.
- [Update Category](https://docs.zid.sa/update-category-43301187e0.md): Updates a specific product category, including its localized name, description, SEO metadata, image alt text, URL slug, and parent category.
