Skip to content

methods

WarehouseMethods

Bases: MarketApiABCMethods

list_fby_warehouses async

Python
1
list_fby_warehouses() -> Warehouses

List all market FBY warehouses. :return: Warehouses object

Source code in marketplace_apis/yandex/warehouse/methods.py
Python
21
22
23
24
25
26
async def list_fby_warehouses(self) -> Warehouses:
    """List all market FBY warehouses.
    :return: Warehouses object
    """
    _, data = await self.client.get(API_PATH["list_fby_warehouses"])
    return Warehouses.from_dict(data["result"])

list_warehouses async

Python
1
list_warehouses() -> Warehouses

List all warehouses. :return: Warehouses object

Source code in marketplace_apis/yandex/warehouse/methods.py
Python
28
29
30
31
32
33
34
35
async def list_warehouses(self) -> Warehouses:
    """List all warehouses.
    :return: Warehouses object
    """
    _, data = await self.client.get(
        self.client.build_business_url(API_PATH["list_warehouses"])
    )
    return Warehouses.from_dict(data["result"])