Files
Cauê Faleiros 64aa0a6338
All checks were successful
Build and Deploy / build-and-push (push) Successful in 1m53s
Fill Jadlog tracking codes from the MULTI EMPRESAS account
Jadlog orders are invoiced by the MULTI EMPRESAS Olist account, so our
order reaches "Enviado" with forma_envio J and an empty tracking code.
When TINY_API_TOKEN_MULTI is set, shipped Jadlog orders without tracking
are matched in that account (search by customer CPF/name from the order
date, confirmed by numero_ordem_compra) and the code is forwarded in
codigo_rastreamento. Calls are serialized and cached; any failure keeps
today's payload.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-19 13:24:01 -03:00
..