location

Location - Create

Changed on

Create a new location within a warehouse (e.g. bin, shelf, or zone).

post/location/create

Request

  • Base URL
    https://api.skulabs.com
  • URL
    https://api.skulabs.com/location/create
  • Auth
    HTTP bearer

Request body

warehouse_idstring required

Warehouse ID to create the location in

namestring required

Location name

Example request

{
  "warehouse_id": "507f1f77bcf86cd799439011",
  "name": "Shelf A-1"
}

Response

Location created successfully

_idstring required

Location ID

successboolean required

Whether the operation succeeded

warehouse_idstring required

Parent warehouse ID

namestring required

Location name

notestring

Additional note, e.g. if location already existed

Example response

{
  "_id": "507f1f77bcf86cd799439011",
  "warehouse_id": "507f1f77bcf86cd799439011"
}

Changes

    • breaking

      the request property became required

    • breaking

      the request property became required

    • info

      api operation id post_location_create was added

    • info

      added the media type application/json for the response with the status

    • info

      added the media type application/json for the response with the status

    • info

      added the media type application/json for the response with the status

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • breaking

      added required request body

    • warning

      deleted the query request parameter name

    • warning

      deleted the query request parameter warehouse_id

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status