Stock Entries

class py_veeqo.endpoints.stock_entries.StockEntries(api_key: str | None = None)

Bases: PyVeeqo

This class implements all the stock entries api calls.

get_stock_entry(sellable_id: int, warehouse_id: int) Result

Show a specific stock entry for a specific warehouse. https://developers.veeqo.com/docs#/reference/stock-entries/stock-entry/show-a-stock-entry

Parameters:
  • sellable_id (int) – Stock entry id.

  • warehouse_id (int) – Warehouse id.

Returns:

Stock entry data.

Return type:

Dict

update_stock_entry(sellable_id: int, warehouse_id: int, data: Dict = None) Result

Update a specific stock entry for a specific warehouse. https://developers.veeqo.com/docs#/reference/stock-entries/stock-entry/update-a-stock-entry

Parameters:
  • sellable_id (int) – Stock entry id.

  • warehouse_id (int) – Warehouse id.

Returns:

Stock entry data.

Return type:

Dict