Tiendanube - Update Product
Description
Section titled “Description”This module allows modifying the properties of existing products in Tiendanube: name, description, categories, publication status, and optionally update the main variant’s price/stock.
Configuration
Section titled “Configuration”Required Credentials
Section titled “Required Credentials”- Store ID: Your store ID
- Access Token: OAuth2 access token
Parameters
Section titled “Parameters”| Parameter | Type | Required | Description |
|---|---|---|---|
| credentials_id | credential | Yes | Tiendanube credentials |
| product_id | string | Yes | Product ID to update |
| variant_id | string | No | Specific variant ID |
| name | string | No | New name |
| description | string | No | New description |
| price | number | No | New price |
| stock | number | No | New stock quantity |
| sku | string | No | New SKU |
| categories | string | No | New category IDs |
| brand | string | No | New brand |
| published | select | No | Change publication status |
| free_shipping | select | No | Change free shipping |
| language | select | No | Language (es/pt) |
Output
Section titled “Output”{ "success": true, "product": {...}, "product_id": 12345678, "variant": {...}, "fields_updated": ["name", "price", "variant"], "message": "Product 12345678 updated successfully"}Usage Example
Section titled “Usage Example”Update price and stock
Section titled “Update price and stock”{ "product_id": "12345678", "price": 1800, "stock": 75}Change name and description
Section titled “Change name and description”{ "product_id": "12345678", "name": "Camiseta Premium", "description": "New improved description"}Publish/hide product
Section titled “Publish/hide product”{ "product_id": "12345678", "published": "true"}Update specific variant
Section titled “Update specific variant”{ "product_id": "12345678", "variant_id": "98765432", "price": 2000, "stock": 25}API Used
Section titled “API Used”- Product Endpoint:
PUT /v1/{store_id}/products/{id} - Variant Endpoint:
PUT /v1/{store_id}/products/{id}/variants/{variant_id} - Documentation: Tiendanube Products API
- If no variant_id is specified, the first variant is updated
- Text fields are updated only in the specified language
- Changing categories replaces existing categories
- Only the provided fields are updated
Related Nodes
Section titled “Related Nodes”- TiendanubeGetProducts - Get products to then update them
- TiendanubeCreateProduct - Create a new product
- TiendanubeGetOrders - Get orders that include the product