# Products

Section: Products and catalog. Part of the [API reference](https://developer.yoprint.com/reference.md). Web page: https://developer.yoprint.com/reference/products/

This page and all 13 operation pages, in 3 files: https://developer.yoprint.com/llms/products.txt (operations 1 to 6), https://developer.yoprint.com/llms/products-2.txt (operations 7 to 12), https://developer.yoprint.com/llms/products-3.txt (operation 13)

Your own products. A simple product is one item with one price; a variant product has sizes, colors or both, and each combination is a variant with its own price and stock. Supplier catalog products are not stored here: see Supplier catalog.

## Operations (13)

- [Create a product](https://developer.yoprint.com/reference/products/v1-products-store.md): `POST /v1/api/store/{team_slug}/product`. Creates one of your own products and returns it.
- [List all product brands](https://developer.yoprint.com/reference/products/v1-product-brands-index.md): `GET /v1/api/store/{team_slug}/get_all_product_brands`. Returns every brand name in use: the brands of all supplier catalogs YoPrint carries, plus the brands of your own products (deleted ones included).
- [List all size names](https://developer.yoprint.com/reference/products/v1-product-sizes-index.md): `GET /v1/api/store/{team_slug}/get_all_product_sizes`. Returns every size name in use: the size names of your variant products (deleted variants included) plus every size name in the supplier catalogs YoPrint carries.
- [List products](https://developer.yoprint.com/reference/products/v1-products-index.md): `GET /v1/api/store/{team_slug}/product`. Lists your own products (simple and variant products), paged.
- [Get a product](https://developer.yoprint.com/reference/products/v1-products-show.md): `GET /v1/api/store/{team_slug}/product/{hash_id}`. One product in the products list row shape, deleted ones included (`trashed`).
- [Check whether a product can be deleted](https://developer.yoprint.com/reference/products/v1-product-delete-check.md): `POST /v1/api/store/{team_slug}/product/{hash_id}/delete_check`. Checks whether a product can be safely deleted.
- [Load a product for a sales order line](https://developer.yoprint.com/reference/products/v1-hydrate-imported-product.md): `POST /v1/api/store/{team_slug}/hydrate_product`. Returns a product with every option you can sell, in the shape sales order line pickers use: `size_data`, `color_data` and `attr_data` (one row per size and color combination).
- [Update a product](https://developer.yoprint.com/reference/products/v1-products-update-put.md): `PUT /v1/api/store/{team_slug}/product/{hash_id}`. Updates a product.
- [Update a product (PATCH)](https://developer.yoprint.com/reference/products/v1-products-update-patch.md): `PATCH /v1/api/store/{team_slug}/product/{hash_id}`. Updates a product.
- [Phase out a simple product](https://developer.yoprint.com/reference/products/v1-product-phase-out.md): `POST /v1/api/store/{team_slug}/product/{hash_id}/phase_out`. Stops selling a simple product.
- [Put a phased-out simple product back on sale](https://developer.yoprint.com/reference/products/v1-product-resume.md): `POST /v1/api/store/{team_slug}/product/{hash_id}/resume`. New sales order and quote lines can use it again.
- [Delete a product](https://developer.yoprint.com/reference/products/v1-products-destroy.md): `DELETE /v1/api/store/{team_slug}/product/{hash_id}`. Deletes a product that is not in use.
- [Restore a deleted product](https://developer.yoprint.com/reference/products/v1-product-restore.md): `PATCH /v1/api/store/{team_slug}/product/{hash_id}/restore`. Restores a deleted product, its stock rows, and its variants that were removed when the product was deleted (variants deleted individually beforehand remain deleted).
