When performing a request the following headers can be stated
In the event that a ID this stated in in the response.Total elementsCurrent Number in Collection elements the format documentation applicable to the resource on subsequent pages providing in the request . Sample request
Code Block A list can occur is provided below. being sought has not been particular forbidden incorrect value has been provided for the particular description key request body with method are The error details included See the validation error example below as term Sample validation_failed errorIn this case, Obit the body is a table the that have the particular are particular Too low details in the the particular resourceToo high details in the the particular resource incorrect details in the the particular resource
Request headers
Authentication in which data related to the authentication are to The details are described in chapter Authentication information be determined determine the version of making determine ID in errors can occur when integrating with the API provision affect The error message formatSome error message headers the headers Useful when debugging problems with the API.In the event that a ID this stated in in the response.Total elementsCurrent Number in Collection elements the format documentation applicable to the resource on subsequent pages providing in the request . Sample request
Test environment
Test environment address: https://sandbox-api-shipx-pl.easypack24.net
To receive an authorization token for api ShipX, use the form at the link: https://inpost.pl/formularz-wsparcie
Authorization
All requests sent to the server require provision of the right and valid access token which is property of the particular owner in the organization.
The access token should be provided in the Authorization header.
Sample request:Code Block |
---|
GET /v1/users HTTP/1.1
Host: api-shipx-pl.easypack24.net
Content-Type: application/json
Authorization: Bearer W-TYM-MIEJSCU-NALEZY-UMIESCIC-TOKEN |
Errors
Sample error