curl --location --request POST 'https://api.treli.co/v1/products//update' \
--header 'Content-Type: application/json' \
--header 'Authorization: Basic Og==' \
--data-raw '{
"name": "Nombre del producto",
"description": "string",
"status": "active",
"product_merchant_id": null,
"product_invoicing_id": null,
"product_shopify_id": null,
"product_woocommerce_id": null,
"image": "http://example.com",
"invoice_settings": {
"invoice_tax_id": "12345"
}
}'
{
"id": "prod_GYzZ5BXNRu6DxqQcEPJNoeCk",
"name": "Nombre del producto",
"description": "string",
"status": "active",
"product_merchant_id": null,
"product_invoicing_id": null,
"product_shopify_id": null,
"product_woocommerce_id": null,
"created_date": "2024-11-15 16:44:50",
"image": "http://example.com",
"is_test": false,
"invoice_settings": {
"invoice_tax_id": "12345",
"invoice_tax_percentage": "19"
}
}