katana_public_api_client.api.location.get_all_locations¶
katana_public_api_client.api.location.get_all_locations
¶
Classes¶
Functions¶
asyncio(*, client, ids=UNSET, name=UNSET, legal_name=UNSET, address_id=UNSET, sales_allowed=UNSET, manufacturing_allowed=UNSET, purchases_allowed=UNSET, rank=UNSET, include_deleted=UNSET, limit=50, page=1, created_at_min=UNSET, created_at_max=UNSET, updated_at_min=UNSET, updated_at_max=UNSET)
async
¶
List all locations
Returns a list of locations you've previously created. The locations are returned in sorted order, with the most recent locations appearing first.
Parameters:
-
ids(Union[Unset, list[int]], default:UNSET) – -
name(Union[Unset, str], default:UNSET) – -
legal_name(Union[Unset, str], default:UNSET) – -
address_id(Union[Unset, int], default:UNSET) – -
sales_allowed(Union[Unset, bool], default:UNSET) – -
manufacturing_allowed(Union[Unset, bool], default:UNSET) – -
purchases_allowed(Union[Unset, bool], default:UNSET) – -
rank(Union[Unset, int], default:UNSET) – -
include_deleted(Union[Unset, bool], default:UNSET) – -
limit(Union[Unset, int], default:50) –Default: 50.
-
page(Union[Unset, int], default:1) –Default: 1.
-
created_at_min(Union[Unset, datetime], default:UNSET) – -
created_at_max(Union[Unset, datetime], default:UNSET) – -
updated_at_min(Union[Unset, datetime], default:UNSET) – -
updated_at_max(Union[Unset, datetime], default:UNSET) –
Raises:
-
UnexpectedStatus–If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
-
TimeoutException–If the request takes longer than Client.timeout.
Returns:
-
ErrorResponse | GetAllLocationsResponse200 | None–Union[ErrorResponse, GetAllLocationsResponse200]
Source code in katana_public_api_client/api/location/get_all_locations.py
asyncio_detailed(*, client, ids=UNSET, name=UNSET, legal_name=UNSET, address_id=UNSET, sales_allowed=UNSET, manufacturing_allowed=UNSET, purchases_allowed=UNSET, rank=UNSET, include_deleted=UNSET, limit=50, page=1, created_at_min=UNSET, created_at_max=UNSET, updated_at_min=UNSET, updated_at_max=UNSET)
async
¶
List all locations
Returns a list of locations you've previously created. The locations are returned in sorted order, with the most recent locations appearing first.
Parameters:
-
ids(Union[Unset, list[int]], default:UNSET) – -
name(Union[Unset, str], default:UNSET) – -
legal_name(Union[Unset, str], default:UNSET) – -
address_id(Union[Unset, int], default:UNSET) – -
sales_allowed(Union[Unset, bool], default:UNSET) – -
manufacturing_allowed(Union[Unset, bool], default:UNSET) – -
purchases_allowed(Union[Unset, bool], default:UNSET) – -
rank(Union[Unset, int], default:UNSET) – -
include_deleted(Union[Unset, bool], default:UNSET) – -
limit(Union[Unset, int], default:50) –Default: 50.
-
page(Union[Unset, int], default:1) –Default: 1.
-
created_at_min(Union[Unset, datetime], default:UNSET) – -
created_at_max(Union[Unset, datetime], default:UNSET) – -
updated_at_min(Union[Unset, datetime], default:UNSET) – -
updated_at_max(Union[Unset, datetime], default:UNSET) –
Raises:
-
UnexpectedStatus–If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
-
TimeoutException–If the request takes longer than Client.timeout.
Returns:
-
Response[ErrorResponse | GetAllLocationsResponse200]–Response[Union[ErrorResponse, GetAllLocationsResponse200]]
Source code in katana_public_api_client/api/location/get_all_locations.py
sync(*, client, ids=UNSET, name=UNSET, legal_name=UNSET, address_id=UNSET, sales_allowed=UNSET, manufacturing_allowed=UNSET, purchases_allowed=UNSET, rank=UNSET, include_deleted=UNSET, limit=50, page=1, created_at_min=UNSET, created_at_max=UNSET, updated_at_min=UNSET, updated_at_max=UNSET)
¶
List all locations
Returns a list of locations you've previously created. The locations are returned in sorted order, with the most recent locations appearing first.
Parameters:
-
ids(Union[Unset, list[int]], default:UNSET) – -
name(Union[Unset, str], default:UNSET) – -
legal_name(Union[Unset, str], default:UNSET) – -
address_id(Union[Unset, int], default:UNSET) – -
sales_allowed(Union[Unset, bool], default:UNSET) – -
manufacturing_allowed(Union[Unset, bool], default:UNSET) – -
purchases_allowed(Union[Unset, bool], default:UNSET) – -
rank(Union[Unset, int], default:UNSET) – -
include_deleted(Union[Unset, bool], default:UNSET) – -
limit(Union[Unset, int], default:50) –Default: 50.
-
page(Union[Unset, int], default:1) –Default: 1.
-
created_at_min(Union[Unset, datetime], default:UNSET) – -
created_at_max(Union[Unset, datetime], default:UNSET) – -
updated_at_min(Union[Unset, datetime], default:UNSET) – -
updated_at_max(Union[Unset, datetime], default:UNSET) –
Raises:
-
UnexpectedStatus–If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
-
TimeoutException–If the request takes longer than Client.timeout.
Returns:
-
ErrorResponse | GetAllLocationsResponse200 | None–Union[ErrorResponse, GetAllLocationsResponse200]
Source code in katana_public_api_client/api/location/get_all_locations.py
sync_detailed(*, client, ids=UNSET, name=UNSET, legal_name=UNSET, address_id=UNSET, sales_allowed=UNSET, manufacturing_allowed=UNSET, purchases_allowed=UNSET, rank=UNSET, include_deleted=UNSET, limit=50, page=1, created_at_min=UNSET, created_at_max=UNSET, updated_at_min=UNSET, updated_at_max=UNSET)
¶
List all locations
Returns a list of locations you've previously created. The locations are returned in sorted order, with the most recent locations appearing first.
Parameters:
-
ids(Union[Unset, list[int]], default:UNSET) – -
name(Union[Unset, str], default:UNSET) – -
legal_name(Union[Unset, str], default:UNSET) – -
address_id(Union[Unset, int], default:UNSET) – -
sales_allowed(Union[Unset, bool], default:UNSET) – -
manufacturing_allowed(Union[Unset, bool], default:UNSET) – -
purchases_allowed(Union[Unset, bool], default:UNSET) – -
rank(Union[Unset, int], default:UNSET) – -
include_deleted(Union[Unset, bool], default:UNSET) – -
limit(Union[Unset, int], default:50) –Default: 50.
-
page(Union[Unset, int], default:1) –Default: 1.
-
created_at_min(Union[Unset, datetime], default:UNSET) – -
created_at_max(Union[Unset, datetime], default:UNSET) – -
updated_at_min(Union[Unset, datetime], default:UNSET) – -
updated_at_max(Union[Unset, datetime], default:UNSET) –
Raises:
-
UnexpectedStatus–If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
-
TimeoutException–If the request takes longer than Client.timeout.
Returns:
-
Response[ErrorResponse | GetAllLocationsResponse200]–Response[Union[ErrorResponse, GetAllLocationsResponse200]]