update_product
Modifies product details on Printify by updating the title, description, variants, and print areas using the provided product ID. Enables precise product management and customization within the Print-on-Demand platform.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
description | No | Product description | |
printAreas | No | Print areas for the product | |
productId | Yes | Product ID | |
title | No | Product title | |
variants | No | Product variants |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"description": {
"description": "Product description",
"type": "string"
},
"printAreas": {
"additionalProperties": {
"additionalProperties": false,
"properties": {
"imageId": {
"description": "Image ID from Printify uploads",
"type": "string"
},
"position": {
"description": "Print position (e.g., 'front', 'back')",
"type": "string"
}
},
"required": [
"position",
"imageId"
],
"type": "object"
},
"description": "Print areas for the product",
"type": "object"
},
"productId": {
"description": "Product ID",
"type": "string"
},
"title": {
"description": "Product title",
"type": "string"
},
"variants": {
"description": "Product variants",
"items": {
"additionalProperties": false,
"properties": {
"isEnabled": {
"description": "Whether the variant is enabled",
"type": "boolean"
},
"price": {
"description": "Price in cents (e.g., 1999 for $19.99)",
"type": "number"
},
"variantId": {
"description": "Variant ID",
"type": "number"
}
},
"required": [
"variantId",
"price"
],
"type": "object"
},
"type": "array"
}
},
"required": [
"productId"
],
"type": "object"
}