A melhor opção é ler o feed v3 ou hook e em seguida a getorder.
Documentação:
https://help.vtex.com/pt/tutorial/configurar-hook-do-feed-v3--6JkYQpIlU8ptysUiGIp4Px?locale=pt
https://help.vtex.com/pt/tutorial/configurar-feed-v3-do-modulo-de-gerenciamento-de-pedidos--5qDml3cQypWDRTgw69s4C1?locale=pt
https://help.vtex.com/pt/tutorial/como-funciona-o-feed-v3-do-modulo-de-gerenciamento-de-pedidos--5SzSKee2f666YCoWkm0eQC?locale=pt
APIs:
passo 1:
https://developers.vtex.com/reference/order-hook#hookconfiguration
ou
https://developers.vtex.com/reference/feed-v3
Passo 2:
https://developers.vtex.com/reference/orders#getorder