Create product

Create a draft product from a design, blueprint, print provider and variant prices.

POST https://cotlet.dev/api/v1/printify/shops/{shop_id}/products

write

Creates a product in one shop from a blueprint and a print provider, with the variants you list and the image placed in the print area. Prices are integers in cents. The product stays a draft: it is not on your sales channel until publish_product runs, so this tool runs without asking first. Blueprint and print provider cannot change afterwards.

Parameters

Parameters: create_product
NameTypeDescription
shop_id integer required integer Shop ID from list_shops.
title string required string Product title.
description string required string Product description, HTML allowed.
blueprint_id integer required integer Blueprint ID from list_blueprints.
print_provider_id integer required integer Print provider ID from get_blueprint_variants.
variants array required array Objects with variant id and price in cents.
image_id string required string Image ID from upload_image, placed on the front print area.
tags array array Tags as strings.

Request

cURL
curl -X POST https://cotlet.dev/api/v1/printify/shops/8123456/products \
  -H "Authorization: Bearer $COTLET_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"title":"Night Owl Club Tee","description":"Soft unisex tee with the Night Owl Club print.","blueprint_id":384,"print_provider_id":29,"variants":[{"id":45740,"price":2499},{"id":45742,"price":2499}],"image_id":"5d39b159e7c48c000728c89f","tags":["owl","night"]}'
Python
result = client.call("printify", "create_product", {"shop_id":8123456,"title":"Night Owl Club Tee","description":"Soft unisex tee with the Night Owl Club print.","blueprint_id":384,"print_provider_id":29,"variants":[{"id":45740,"price":2499},{"id":45742,"price":2499}],"image_id":"5d39b159e7c48c000728c89f","tags":["owl","night"]})
Node.js
const result = await cotlet.call('printify', 'create_product', {"shop_id":8123456,"title":"Night Owl Club Tee","description":"Soft unisex tee with the Night Owl Club print.","blueprint_id":384,"print_provider_id":29,"variants":[{"id":45740,"price":2499},{"id":45742,"price":2499}],"image_id":"5d39b159e7c48c000728c89f","tags":["owl","night"]});
CLI
cotlet call printify create_product --data '{"shop_id":8123456,"title":"Night Owl Club Tee","description":"Soft unisex tee with the Night Owl Club print.","blueprint_id":384,"print_provider_id":29,"variants":[{"id":45740,"price":2499},{"id":45742,"price":2499}],"image_id":"5d39b159e7c48c000728c89f","tags":["owl","night"]}'

Example response

JSON

{
  "product_id": "6641ab12",
  "shop_id": 8123456,
  "title": "Night Owl Club Tee",
  "variants_enabled": 2,
  "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.