...
Code Block |
---|
curl --location --request GET 'https://ws.di.no/ws/json/parcel/servicePoint/v-1/5' \ --header 'Content-Type: application/json' \ --header 'Authorization: Bearer Token |
Response
List of currently active servicePoint
objects. Permanently closed (not closed based on opening hours) or not optional service points are not included in the results.
ServicePoint
Name | Type | Example | Description |
---|---|---|---|
servicePointExternalId | whole number | 3452 | ID for the location |
servicePointName | String | My local store | Name of location |
openingHours | List of opening hours | There may be more than 1 time intervall for each day, this will be shown as two separate objects E.g. Monday 08:00-10:00 and Monday 14:00-18:00 | |
visitingAddress | Address object | ||
deliveryAddress | Address object | ||
routingCode | String | WJE | Used on labels and sorting systems |
eligibleParcelOutlet | boolean | true | May be used by some carriers to indicate whether a service point handles parcels. |
servicePointCoordinates | List of |
...