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 a uma entrega.
Autorizaciones
AuthorizationstringRequerido
Cuerpo
filesfileRequerido
Documento a ser anexado à entrega.
typestring · enumRequeridoExample:
Tipo de documento a anexar.
fiscal_documentValores posibles: deliveryIdstringRequeridoExample:
Identifier of the delivery to which the file is to be attached.
t-shiinc-27946referenceIdstringOpcionalExample:
Reference identifier of the delivery to which the file is to be attached.
t-shiinc-27946extraDataNamestringOpcionalExample:
Name of the extra data of the delivery to which the file is to be attached.
CUSTOMER_TAX_IDextraDataValuestringOpcionalExample:
Value of the extra data of the delivery to which the file is to be attached.
9999999999999Respuestas
200
Operação bem-sucedida
application/json
401
Não autorizado
application/json
post
/v2/integrations/deliveries/filesPOST /v2/integrations/deliveries/files HTTP/1.1
Host: api.shippify.co
Authorization: Basic username:password
Content-Type: multipart/form-data
Accept: */*
Content-Length: 167
{
"files": null,
"type": "fiscal_document",
"deliveryId": "t-shiinc-27946",
"referenceId": "t-shiinc-27946",
"extraDataName": "CUSTOMER_TAX_ID",
"extraDataValue": "9999999999999"
}{
"code": "OK",
"message": "Arquivos enviados com sucesso"
}Casos de uso
Última actualización