FieldEx Developer
developer notes

Update Zone

Update zone details via the API endpoint. Include parameters: external ID, description, display name, name, remark, short code, manager login, and warehouse location for effective updates.

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

Headers

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

Body Example

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

Example Response

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