Atualizado em 17 de outubro de 2026

Considerações

  • Exige o escopo products:write.
  • Frete: freight_weight (kg), freight_height, freight_width, freight_length (cm) e os mesmos do pacote de envio (freight_shipping_*). Enviar um campo do grupo mantém os outros.
  • Preços por quantidade: quantity_prices com quantity e price (a partir de N unidades, o preço é X). A lista substitui as faixas; vazia apaga; omitida mantém.
  • Outros: manufacturer_reference, gtin, meta_title, meta_description, link_video, promotion_starts_at/promotion_ends_at (AAAA-MM-DD), quantity_step, kit_only, point_of_sale_name, point_of_sale_order, point_of_sale_color e, para embalagem, package_max_weight.
  • Valores aceitam vírgula decimal (ex.: "0,5").

Referência

PATCH /products/{product} na Referência da API

Como fazer

cURL
curl -X PATCH "$MICORE_BASE_URL/products/1203" \
  -H "Authorization: Bearer $MICORE_TOKEN" \
  -H "Accept: application/json" \
  -H "Content-Type: application/json" \
  -d '{
    "freight_weight": "1,2",
    "freight_height": "20",
    "freight_width": "15",
    "freight_length": "30",
    "quantity_prices": [
        {
            "quantity": 10,
            "price": "95,00"
        },
        {
            "quantity": 20,
            "price": "90,00"
        }
    ],
    "gtin": "7890000000017",
    "meta_title": "Tinta pigmentada 1 kg"
}'

Resposta

Resposta · 200
{
  "data": {
    "id": 1203,
    "gtin": "7890000000017",
    "seo": { "meta_title": "Tinta pigmentada 1 kg", "meta_description": null, "link_video": null },
    "quantity_prices": [
      { "quantity": 10, "price": 95 },
      { "quantity": 20, "price": 90 }
    ],
    "freight": { "weight": 1.2, "height": 20, "width": 15, "length": 30, "shipping_weight": null, "registered_letter": false, "ships_in_own_package": false }
  }
}
Precisa de ajuda?Use o request ID e abra um chamado no miCore se encontrar uma divergência.