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

Parameters: get_product
NameTypeDescription
shop_id integer required integer Shop ID from list_shops.
product_id string required string Product ID from list_products.

Request

cURL
curl https://cotlet.dev/api/v1/printify/shops/1/products/product_8c41d2 \
  -H "Authorization: Bearer $COTLET_API_KEY"
Python
result = client.call("printify", "get_product", {"shop_id":1,"product_id":"product_8c41d2"})
Node.js
const result = await cotlet.call('printify', 'get_product', {"shop_id":1,"product_id":"product_8c41d2"});
CLI
cotlet call printify get_product --data '{"shop_id":1,"product_id":"product_8c41d2"}'

Example response

JSON

{
  "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
}

Sign in once. Your agent does the rest.

Sign up and add the apps you need. Free 7-day trial with 2,000 credits, no card needed.