Attach documents to a delivery
This endpoint allows you to attach files such as PDFs or images directly to specific deliveries using multipart forms. You can upload fiscal documents or proof of delivery.
Attach documents to a delivery.
Autorizaciones
Cuerpo
filesfileRequerido
Document to attach to the delivery.
typestring · enumRequeridoExample:
Type of document to attach.
fiscal_document
Valores posibles: deliveryIdstringRequeridoExample:
Identifier of the delivery to which the file is to be attached.
t-shiinc-27946
referenceIdstringOpcionalExample:
Reference identifier of the delivery to which the file is to be attached.
t-shiinc-27946
extraDataNamestringOpcionalExample:
Name of the extra data of the delivery to which the file is to be attached.
CUSTOMER_TAX_ID
extraDataValuestringOpcionalExample:
Value of the extra data of the delivery to which the file is to be attached.
09902626382001
Respuestas
200
Successful operation
application/json
401
Unauthorized
application/json
post
POST /v2/integrations/deliveries/files HTTP/1.1
Host: api.shippify.co
Authorization: Basic username:password
Content-Type: multipart/form-data
Accept: */*
Content-Length: 168
{
"files": null,
"type": "fiscal_document",
"deliveryId": "t-shiinc-27946",
"referenceId": "t-shiinc-27946",
"extraDataName": "CUSTOMER_TAX_ID",
"extraDataValue": "09902626382001"
}
{
"code": "OK",
"message": "Files uploaded successfully"
}
Use cases
Última actualización