Publish product
Send a product, or selected details of it, to the connected sales channel store.
POST https://cotlet.dev/api/v1/printify/shops/{shop_id}/products/{product_id}/publish
write Confirm
Publishes one product to the shop's sales channel. Choose which details to sync: title, description, images, variants and tags. Printify caps publishing at 200 requests per 30 minutes. The product is locked while it publishes. By default you confirm each call; you can switch that off for this tool.
Parameters
| Name | Type | Description |
|---|---|---|
| shop_id integer required | integer | Shop ID from list_shops. |
| product_id string required | string | Product ID from list_products. |
| title boolean | boolean | Sync the title. Default: true. |
| description boolean | boolean | Sync the description. Default: true. |
| images boolean | boolean | Sync the mockup images. Default: true. |
| variants boolean | boolean | Sync variants and prices. Default: true. |
| tags boolean | boolean | Sync the tags. Default: true. |
Request
curl -X POST https://cotlet.dev/api/v1/printify/shops/8123456/products/6641ab12/publish \
-H "Authorization: Bearer $COTLET_API_KEY" \
-H "Content-Type: application/json" \
-d '{"title":true,"description":true,"images":true,"variants":true,"tags":true}' result = client.call("printify", "publish_product", {"shop_id":8123456,"product_id":"6641ab12","title":True,"description":True,"images":True,"variants":True,"tags":True}) const result = await cotlet.call('printify', 'publish_product', {"shop_id":8123456,"product_id":"6641ab12","title":true,"description":true,"images":true,"variants":true,"tags":true}); cotlet call printify publish_product --data '{"shop_id":8123456,"product_id":"6641ab12","title":true,"description":true,"images":true,"variants":true,"tags":true}' Example response
{
"product_id": "6641ab12",
"status": "publishing",
"is_locked": true
}