Get product
One product with description, variants, prices in cents, print areas and mockup images.
GET https://cotlet.dev/api/v1/printify/shops/{shop_id}/products/{product_id}
read
Returns one product in full: title, description, tags, every variant with its price in cents and whether it is enabled, the print areas and the mockup images. Use it before editing or publishing.
Parameters
| Name | Type | Description |
|---|---|---|
| shop_id integer required | integer | Shop ID from list_shops. |
| product_id string required | string | Product ID from list_products. |
Request
curl https://cotlet.dev/api/v1/printify/shops/1/products/product_8c41d2 \
-H "Authorization: Bearer $COTLET_API_KEY" result = client.call("printify", "get_product", {"shop_id":1,"product_id":"product_8c41d2"}) const result = await cotlet.call('printify', 'get_product', {"shop_id":1,"product_id":"product_8c41d2"}); cotlet call printify get_product --data '{"shop_id":1,"product_id":"product_8c41d2"}' Example response
{
"product_id": "6641ab12",
"title": "Night Owl Club Tee",
"description": "Soft unisex tee with the Night Owl Club print.",
"tags": [
"owl",
"ready"
],
"variants": [
{
"variant_id": 45740,
"title": "Black / S",
"price": 2499,
"is_enabled": true
},
{
"variant_id": 45742,
"title": "Black / L",
"price": 2499,
"is_enabled": true
}
],
"images": 6,
"visible": false
}