Anexar documentos à entrega

Este endpoint permite anexar arquivos, como PDFs ou imagens, diretamente a entregas específicas, utilizando formulários multipart. Você pode carregar documentos fiscais ou comprovantes de entrega.

Anexar documentos

post

Anexar documentos a uma entrega.

Autorizaciones
AuthorizationstringRequerido
Cuerpo
filesfileRequerido

Documento a ser anexado à entrega.

typestring · enumRequerido

Tipo de documento a anexar.

Example: fiscal_documentValores posibles:
deliveryIdstringRequerido

Identifier of the delivery to which the file is to be attached.

Example: t-shiinc-27946
referenceIdstringOpcional

Reference identifier of the delivery to which the file is to be attached.

Example: t-shiinc-27946
extraDataNamestringOpcional

Name of the extra data of the delivery to which the file is to be attached.

Example: CUSTOMER_TAX_ID
extraDataValuestringOpcional

Value of the extra data of the delivery to which the file is to be attached.

Example: 9999999999999
Respuestas
chevron-right
200

Operação bem-sucedida

application/json
codestringOpcionalExample: OK
messagestringOpcionalExample: Arquivos enviados com sucesso
post
/v2/integrations/deliveries/files

Casos de uso

chevron-rightAnexar documentos à uma entrega por idhashtag

Usar deliveryId nos parâmetros.

chevron-rightAnexar documentos à uma entrega por id de referênciahashtag

Usar referenceId nos parâmetros.

chevron-rightAnexar documentos à uma entrega por dados extrahashtag

Usar extraDataName e extraDataValue nos parâmetros.

Última actualización