FieldEx Developer
developer notes

Create User Bin

Create a user bin using the API. Specify details: description, display name, external ID, name, short code, user login, warehouse and zone external ID for efficient management.

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

Headers

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

Body Example

{ 
    "description": string,
    "displayName": null,  
    "externalId": binext12,
    "name": user bin 1,
    "shortCode": usb1,
    "user": {
        "login": athirah@lavalabs.net
    },
    "wareHouseLocation": {
       "externalId": externalId1
    },
    "zone": {
      "externalId": zoneext1
  }
}

Example Response

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