AuthenticationCorrect values string integer ID string string Point working string Point's string string information StatusSample DispatchPoint resource in the JSON formatDługaKrakow Code Block /:idSample request/v1/dispatch_points/1 HTTP/1.1
Host:
Content-Type: application/json
lkfjasd9f70y43ohriw...[ommited for brevity]...
{
} with the stated ID , Code Block GET /v1/organizations/12345 HTTP.1
Host: api-shipx-pl.easypack24.net
Authorization: Bearer lkfjasd9f70y43ohriw...[ommited for brevity]...
Access to the resource requires provision of the correct and valid access token.
The DispatchPointhref
URI address to the resource
Point's e-mail address
Address
Collecting information about the point
List of dispatch points
The list of dispatch points within the given organization can be collected at:
codeorganizationsorganization_/dispatch_pointsRights
Aby pobrać listę punktów odbioru dla określonej organizacji użytkownik musi być jej członkiem.
Sample request
In reply to a correctly sent request, the server will return a response with HTTP 200 OK code:
code{ --organizations/1/dispatch_points", "count": 15, "per_page": 30, "page": 1, "items": [ { "href": "https://api-shipx-pl.easypack24.net/v1/dispatch_points/3", "id": 123, ... other attribute omitted for brevity .... } ... other items omitted for brevity ... ] }
Errors that may occur when collecting the collection orders list:
• resource_not_found - the organization which the user wants to collect the collection orders list for does not exist,
• forbidden - the token does not authorize to collect the collection orders list for the selected organization.