UPS - Access Points and Parcel Lockers as service point types
UPS Access Point products now support service point types. When listing service points, you can choose between UPS Access Points in shops and UPS Parcel Lockers, or show both, the same way as for PostNord and Bring.
The types are available on all UPS Access Point products (UPS_STANDARDAP, UPS_SAVERAP,
UPS_EXPRESSAP, UPS_EPDAP and UPS_WWECOAP):
| Code | Name |
|---|---|
SP | UPS Access Point |
BOX | UPS Parcel Locker |
List them for a product with /api/public/v3/service_point/service_point_types:
GET /api/public/v3/service_point/service_point_types?product_code=UPS_STANDARDAP&country_code=DE
[
{ "code": "SP", "name": "UPS Access Point" },
{ "code": "BOX", "name": "UPS Parcel Locker" }
]
Then pass one or both codes in service_point_types when fetching service points with
/api/public/v3/service_point/service_points, for
example to list parcel lockers only:
GET /api/public/v3/service_point/service_points?product_code=UPS_STANDARDAP&country_code=DE&zipcode=41460&service_point_types=BOX
Each service point in the response carries its type (SP or BOX). If you leave
service_point_types out, both types are returned, just as before.
See Listing service points for the full flow.