Products
AI agents: read /llms.txt; add .md to any page URL. This page as Markdown: /reference/products.md. Index of every page and the rules for every call: /llms.txt. Guides and concepts in one file: /llms-full.txt. OpenAPI: /openapi.json.
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.
Learn more: Products and pricing · Look up products and prices
13 operations
- POSTCreate a product
/Creates one of your own products and returns it.v1/ api/ store/ {team_slug}/ product - GETList 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).v1/ api/ store/ {team_slug}/ get_all_product_brands - GETList all size names
/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.v1/ api/ store/ {team_slug}/ get_all_product_sizes - GETList products
/Lists your own products (simple and variant products), paged.v1/ api/ store/ {team_slug}/ product - GETGet a product
/One product in the products list row shape, deleted ones included (v1/ api/ store/ {team_slug}/ product/ {hash_id} trashed). - POSTCheck whether a product can be deleted
/Checks whether a product can be safely deleted.v1/ api/ store/ {team_slug}/ product/ {hash_id}/ delete_check - POSTLoad a product for a sales order line
/Returns a product with every option you can sell, in the shape sales order line pickers use:v1/ api/ store/ {team_slug}/ hydrate_product size_data,color_dataandattr_data(one row per size and color combination). - PUTUpdate a product
/Updates a product.v1/ api/ store/ {team_slug}/ product/ {hash_id} - PATCHUpdate a product (PATCH)
/Updates a product.v1/ api/ store/ {team_slug}/ product/ {hash_id} - POSTPhase out a simple product
/Stops selling a simple product.v1/ api/ store/ {team_slug}/ product/ {hash_id}/ phase_out - POSTPut a phased-out simple product back on sale
/New sales order and quote lines can use it again.v1/ api/ store/ {team_slug}/ product/ {hash_id}/ resume - DELETEDelete a product
/Deletes a product that is not in use.v1/ api/ store/ {team_slug}/ product/ {hash_id} - PATCHRestore a deleted product
/Restores a deleted product, its stock rows, and its variants that were removed when the product was deleted (variants deleted individually beforehand remain deleted).v1/ api/ store/ {team_slug}/ product/ {hash_id}/ restore
