inventory

Inventory - Upsert

Changed on

Create or update an inventory record for an item at a specific warehouse.

put/inventory/upsert

Request

  • Base URL
    https://api.skulabs.com
  • URL
    https://api.skulabs.com/inventory/upsert
  • Auth
    HTTP bearer

Request body

location_namestring required

Location name to upsert inventory at

item_idstring required

Item ID

on_handnumber required

On-hand quantity to set

alertnumber

Low-stock alert threshold

notesstring

Notes for the inventory change

Response

Inventory upserted

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 put_inventory_upsert 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 item_id

    • warning

      deleted the query request parameter location_name

    • warning

      deleted the query request parameter notes

    • 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