Skip to main content

Assign a postal prefix to a delivery station (AssignServiceArea)

PUT 

/service-areas/:postalPrefix

Creates or reassigns the prefix under a strictly higher assignmentVersion (ASSIGNED to ASSIGNED). The region is taken from the station and must be a defined Region. Publishes ServiceAreaAssigned.

Request​

Responses​

Assignment stored.

Response Headers
    Idempotency-Replayed

    Present, with the value true, only when the response replays the first answer stored for the Idempotency-Key (a stored 2xx or a stored refusal that is final for the request; a 5xx and a refusal that depends on state another request can change are never stored).