FieldEx Developer
developer notes

Create Zone

Create a zone using the API. Provide key details: external ID, description, display name, name, remark, short code, manager login, and warehouse location external ID for efficient management.

Method Endpoint
POST {{endpoint}}/api/ext/zones

Headers

Key Value
Content-Type application/json
Authorization Bearer{{token}}

Body Example

{
    "externalId": zoneext1,
    "description": string,
    "displayName": "",
    "name": zone2 1,
    "remark": zone1,
    "shortCode": Z1,
    "storeManager": {
        "login": arfan2@custella.com
    },
    "wareHouseLocation": {
        "externalId": 7878343
    }
}

Example Response

// 400 Response Code
  
{
    "type": http://www.jhipster.tech/problem/problem-with-message,
    "title": Location not found with external id,
    "status": 400
}