Seller Documents Download

This endpoint accepts a set of seller document Ids and returns their id, original filename, file MIME type and base64 encoded contents

Endpoint

  • https://SELLERCENTER-API/shop-api/v1/seller-documents/download

Example

https://SELLERCENTER-API/shop-api/v1/seller-documents/download/?ServiceName=SHOP&Signature=35fbe1eb53135dae32a1316f39ddbc7bebc760a4fd6afd5aa309ff643dc58b85&Timestamp=2016-06-14T12%3A53%3A19%2B0200

Parameters

Param name

Type

Description

documentId

int

ID of a seller document

Request example

{
    "Request": {
        "SellerDocuments": [
            {
                "documentId": 12
            },
            {
                "documentId": 14
            }
        ]  
    }
}

Response example

{
  "SuccessResponse": {
    "Head": {
      "RequestId": "",
      "RequestAction": "SellerDocuments",
      "ResponseType": "",
      "Timestamp": "2016-06-13T12:30:54+0200"
    },
    "Body": {
      "SellerDocuments": {
        "SellerDocuments": [
          {
            "documentId": "12",
            "fileName": "Consultar SituaciĆ³n Tributaria de Terceros.pdf",
            "mimeType": "application/pdf",
            "fileContent": "c2Rmc2QKZnMKZGZkc2ZzZGZzZGYKCg=="
          },
          {
            "documentId": "14",
            "fileName": "guia.pdf",
            "mimeType": "application/pdf",
            "fileContent": "c2Rmc2QKCmRzZmRzZmRzZmRzCg=="
          }
        ]
      }
    }
  }
}