location

Location - Add Item

Changed on

Assign an item to a warehouse location.

post/location/add_item

Request

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

Request body

idstring required

Location ID

item_idstring required

SKULabs item ID to add

on_handnumber required

Initial on-hand quantity

alertnumber

Low-stock alert level

Example request

{
  "id": "507f1f77bcf86cd799439011",
  "item_id": "507f1f77bcf86cd799439011",
  "on_hand": 10,
  "alert": 5
}

Response

Item added to location successfully

successboolean required

Whether the operation succeeded

Changes

    • breaking

      the request property became required

    • breaking

      the request property became required

    • breaking

      the request property became required

    • info

      api operation id post_location_add_item was added

    • info

      the request property format was generalized from integer to no format

    • info

      the request property format was generalized from integer to no format

    • 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 alert

    • warning

      deleted the query request parameter id

    • warning

      deleted the query request parameter item_id

    • warning

      deleted the query request parameter on_hand

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status