Skip to main content

Register a behavioral zone inside a site's area

POST 

/sites/:siteCode/zones

Adds a Zone scoped to the given Site. The zone's identity is SITE-AREA-ZONE (e.g. WH1-STOR-AMB), which is exactly the first three segments of every LocationCode inside it. A Zone cannot be registered against an unknown or non-Active Site. The TemperatureClass and Hazmat flag set here are what PlacementRules match on later, so they are behavioral, not descriptive. Publishes ZoneRegistered.

gln (ADR-0045) is an optional GS1 Global Location Number: 13 digits with a valid mod-10 check digit (422 invalid-gln), unique across every site, zone and slot (409 gln-already-assigned).

Request​

Responses​

Zone registered.

Response Headers
    Idempotency-Replayed

    true when this response is the stored answer of an earlier request with the same Idempotency-Key (a 2xx or a refusal that cannot change on a retry); never present on the first execution, and never on a refusal that releases the key.

    Location

    Path of the newly created Zone.