Developers
English
English
  • 👋Welcome
  • 🛒E-commerce
    • Introduction
    • Shopify
      • Functionalities
      • Steps to integrate
      • User guide
      • FAQs
    • Mercado Livre
      • Functionalities
      • Steps to integrate
      • FAQs
    • Vtex
      • Funcionalities
      • Steps to integrate
      • FAQs
    • Beetrack
      • Funcionalities
      • Steps to integrate
      • FAQs
    • Prestashop
      • Functionalities
      • Steps to integrate
      • FAQs
  • 👨‍💻Integration Guide
    • Basic processes
      • Delivery creation
        • Dash
        • Import
        • Zapier
        • API
        • SFTP
        • Custom
      • Status update
        • Webhook subscriptions
        • Continuous Polling
        • Statuses
    • Advanced process
      • Interactive delivery tracking
      • Security
        • [2FA] Two Factor Authentication Method
        • Activate SAML SSO for a Company
  • 📄Shippify Api
    • First steps
    • Deliveries
      • Delivery creation
      • Delivery Quotes
      • Get delivery information
      • Update pickup point
      • Update delivery
      • Change delivery statuses
      • Assign driver
      • Print delivery labels
      • Get a tracking link
      • Attach documents to a delivery
    • Routes
      • Create route
      • Get route information
      • Add a delivery
      • Remove a delivery
      • Break a route
      • Change the status of a route
  • 📝Processes
    • Create a Shippify account
Con tecnología de GitBook
En esta página
  1. Shippify Api
  2. Deliveries

Attach documents to a delivery

AnteriorGet a tracking linkSiguienteRoutes

Última actualización hace 1 año

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.

Use cases

Attach documents to a delivery by the ID

Use deliveryId in the parameters.

Attach documents to a delivery by the referenceID

Use referenceId in the parameters.

Attach documents to a delivery by extra data

Use extraDataName and extraDataValue in the parameters.

📄
  • POSTAttach Documents
  • Use cases

Attach Documents

post

Attach documents to a delivery.

Autorizaciones
Cuerpo
filesfileRequerido

Document to attach to the delivery.

typestring · enumRequerido

Type of document to attach.

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: 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"
}