Locations API
Version 2.3.0

getPointsByLocationCode

This endpoint returns a list of all points associated with a specific Australia Post location_code. A location_code is a unique alphanumeric identification code that represents an Australia Post facility.

SecurityAUTH-KEY
Request
path Parameters
location_code
required
string

See the endpoint description above.

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.

usage_types
string

The usage_types parameter is an optional comma-separated string used to filter locations by its usage type. The filter works as an OR condition, meaning locations matching any of the specified values will be returned. If omitted, all locations will be returned.

Example: usage_types=1,2
Responses
200

OK

get/points/{location_code}
Request samples
Response samples
application/json
{
  • "points": [
    ]
}