Stores (Channels)

class py_veeqo.endpoints.stores.Stores(api_key: str | None = None)

Bases: PyVeeqo

This class implements all the stores (channels) api calls.

create_a_store(data: Dict = None, json: Dict[str, Any] | List[Any] | str | int | float | bool | None = None) Result

Create a new store (channel). https://developers.veeqo.com/docs#/reference/stores/store-collection/create-a-store

Parameters:
  • data (Dict, optional) – _description_. Defaults to None.

  • json (Optional[JSONType], optional) – _description_. Defaults to None.

delete_store(channel_id: int) Result

Delete a specific store (channel). https://developers.veeqo.com/docs#/reference/stores/store/delete

Parameters:

channel_id (int) – The id of the store (channel).

get_all_stores(page_size: int = 12, page: int = 1) Result

Get a list of all stores (channels). https://developers.veeqo.com/docs#/reference/customers/customer/list-all-stores

Parameters:
  • page_size (int, optional) – Number of items per page. Defaults to 12.

  • page (int, optional) – Page number. Defaults to

update_store_detail(channel_id: int, data: Dict = None) Result

Update details of a specific store (channel). https://developers.veeqo.com/docs#/reference/stores/store/update-store-detail

view_store_detail(channel_id: int) Result

Get details of a specific store (channel). https://developers.veeqo.com/docs#/reference/stores/store/view-store-detail

Parameters:

channel_id (int) – The id of the store (channel).