Locations API
Version 2.3.0

getServicesByServiceCodes

This endpoint returns an array of services based on a comma-delimited list of service codes supplied in the request. **Note: ** A list of all current service codes is available from the getServices endpoint.

SecurityAUTH-KEY
Request
path Parameters
service_codes
required
string

A comma-delimited list of service codes by which to filter the returned list of matching locations.

query Parameters
pc
string

A partner code identifies an entity that owns location data. Currently we offer access only to Australia Post outlet and services data. In the future we may expand this to include location data from partner providers. Note: If this field is left empty, the default value is "AP". Submitting any other value will return an empty data set.

Responses
200

OK

get/services/{service_codes}
Request samples
Response samples
application/json
{
  • "services": [
    ]
}