Exportpaczka - API

Exportpaczka - API

  • API

›General information

General information

  • Authorization
  • Requests & responses
  • Country routes
  • Global additions
  • Package additions
  • Order object
  • Price checking
  • Creating order
  • Checking order details
  • Downloading order label

Requests & responses

Every data in the request body should be sent in JSON format inside request body.

Default response in our API contains the following fields:

  • body - array of object or objects
  • success - boolean
  • errors - array of string, only when success is false

Example of success response:

{
    "success": true,
    "body": {
        "calculatedPrice": 44.99
    }
}

Example of error response:

{
    "success": false,
    "body": "Validation errors. Invalid data provided.",
    "errors": [
        "Collection date has to be next working day.",
        "When cod field is provided, it has to be numeric value (dot separated)."
    ]
}
← AuthorizationCountry routes →
Copyright © 2020 Exportpaczka.pl