FieldEx Developer
developer notes

Update Location

Update warehouse via API. Include parameters: address, city, country, description, latitude, longitude, name, short code, state, manager login, street, zip code, and external ID for seamless updates.

Method Endpoint
PUT {{endpoint}}/api/ext/ware-house-locations

Headers

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

Example Request

{
    "address": plaza glomac,
    "city": petaling jaya,
    "country": malaysia,
    "description": some desc,
    "latitude": 0,
    "longitude": 0,
    "name": warehouse location 00,
    "shortCode": WHL1,
    "state": selangor,
    "storeManager": {
        "login": arfan2@custella.com
    },
    "street": stree 1,
    "zipCode": 3433,
    "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
}