Authenticationstring integer IDstringstring Point working Point's string string Point's e-mail string informationAddressStatusSample DispatchPoint resource in the JSON formatDługaKrakow Code Block /:idSample requestv1dispatch_points/1 HTTP/1.1
Host:
Content-Type: application/json
lkfjasd9f70y43ohriw...[ommited for brevity]...
{
" } with the stated ID , Code Block organizationsorganization_/dispatch_points Code Block GET /v1/organizations/12345 HTTP.1
Host: api-shipx-pl.easypack24.net
Authorization: Bearer lkfjasd9f70y43ohriw...[ommited for brevity]...
• forbidden - the token does not authorize to collect the collection orders list for the selected organization
Access to the resource requires provision of the correct and valid access token.
The DispatchPoint Correcthref
URI address to the resource
Collecting information about the point
List of dispatch points
The list of dispatch points within the given organization can be collected at:
Rights
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