Upload Documents

Custom documents upload

This endpoint allows to upload the custom documents, after the creation of shipment and the receiving of the label.

The use of this enpoint needs a preventive talk with a Gsped technician to have a proper activation.

Document upload for DHL shipments

POST https://api.gsped.it/[INSTANCE]/DhlPaperless

Allows the upload after the receiving of the label.

Request Body

{
    // Response
}
// Example payload

{
    "id": 50000397,
    "files":
    [
        {
            "type": "PNV",
            "format": "PDF",
            "content": "base64 string"
        },
        {
            "type": "DCL",
            "format": "PDF",
            "content": "base 64 string"
        }
    ]
}

Loadable types and codes of documents

Type of loadable files

DHL takes the following file formats:

  • PDF

  • PNG

  • TIFF

  • GIF

  • JPEG

Maximum size of 1 Mb in B64.

Last updated