From 312e1e3aa37049505484d062415ee125cbb9035a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cau=C3=AA=20Faleiros?= Date: Tue, 27 Oct 2026 18:28:57 -0300 Subject: [PATCH] docs: Tiny's e-commerce channel is API do ERP (9594); the store's channel refuses API orders Co-Authored-By: Claude Opus 5.5 --- docs/CONTEXT.md | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/docs/CONTEXT.md b/docs/CONTEXT.md index d2c25cd..4646f97 100644 --- a/docs/CONTEXT.md +++ b/docs/CONTEXT.md @@ -445,9 +445,10 @@ still comes before Finalizado. The customer's portal shows the same steps. Still to do (2026-10-26): - The DTF number in Tiny's `numeroPedidoEcommerce`: sent since 2026-10-26, next to the purchase order `numeroOrdemCompra` (which the resend check - searches), with no channel unless `TINY_ECOMMERCE_ID` is set; Tiny's v3 API - cannot list channels or take one by name. Confirm at the supervised Tiny - test order: the probe reads the number back and fails if Tiny dropped it. + searches). Tiny keeps it only with a channel: `TINY_ECOMMERCE_ID=9594`, + Dropstar's "API do ERP" integration (installed 2026-10-27). The store's own + channel (DROPSTAR, 9336) refuses orders sent through the API. Confirmed + with test order 145329. - Before TINY_STATUS_UPDATES goes on: Finalizado now sets "Pronto para envio" on delivery orders too, so the client's n8n must not send them the pickup message it sends on that situação.