Skip to main content
Version: v1.0.0(int)

E092: Create location

POST /api/locations

Adds a new fulfillment location. Triggered from Settings, Fulfillment locations, "New location". The same row is reused as PO ship-to, WO work site, SO fulfillment location, and inventory bin.

Authentication

Standard tenant route. Requires Authorization: Bearer <firebase-id-token> and X-Org-Id: <org-id>. Access: Admin.

Request

{ "code": "WH-1", "name": "...", "address": "..." }

Response — 201 Created

{ "id": "uuid", "code": "WH-1", "name": "...", "address": "...", "createdAt": "..." }

Errors

HTTPcodeCondition
422validation_failedDuplicate code, or shape invalid.

Workflow

Calls W092 Create location.