# Set Stock Levels **POST /v2/api/warehouses/{externalWarehouseID}/stock** Set stock levels to a specific warehouse using externalWarehouseID. ## Servers - https://api.maddenanalytics.com: https://api.maddenanalytics.com () ## Authentication methods - Bearer ## Parameters ### Path parameters - **externalWarehouseID** (string) External Warehouse ID ### Body: application/json (array[object]) - **availableQuantity** (integer) Available Quantity in stock - **date** (string) Date is the event time for the given entry. If unset, the event time will be assumed to be now - **ean** (string) EAN of variant - **externalWarehouseID** (string) The externalID of the warehouse - **key** (string) Key is reference between Products, Transactions & Stock levels - **physicalQuantity** (integer) Physical Quantity in stock - **sku** (string) SKU of variant. Should be unique per size/variant - **supplier** (string) Name of the supplier ## Responses ### 201 Created #### Body: application/json (array[object]) - **error** (string) - **message** (string) - **statusCode** (integer) ### default All errors will return the same object with a describing code & message #### Body: application/json (object) - **error** (string) - **message** (string) - **statusCode** (integer) [Powered by Bump.sh](https://bump.sh)