katana_public_api_client.api.price_list.create_price_list¶
katana_public_api_client.api.price_list.create_price_list
¶
Classes¶
Functions¶
asyncio(*, client, body)
async
¶
Create a price list
Creates a new price list.
Parameters:
-
body(CreatePriceListRequest) –Request payload for creating a new price list with market- specific pricing configurations Example: {'name': 'Premium Customer Pricing'}.
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:
-
DetailedErrorResponse | ErrorResponse | PriceList | None–DetailedErrorResponse | ErrorResponse | PriceList
Source code in katana_public_api_client/api/price_list/create_price_list.py
asyncio_detailed(*, client, body)
async
¶
Create a price list
Creates a new price list.
Parameters:
-
body(CreatePriceListRequest) –Request payload for creating a new price list with market- specific pricing configurations Example: {'name': 'Premium Customer Pricing'}.
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[DetailedErrorResponse | ErrorResponse | PriceList]–Response[DetailedErrorResponse | ErrorResponse | PriceList]
Source code in katana_public_api_client/api/price_list/create_price_list.py
sync(*, client, body)
¶
Create a price list
Creates a new price list.
Parameters:
-
body(CreatePriceListRequest) –Request payload for creating a new price list with market- specific pricing configurations Example: {'name': 'Premium Customer Pricing'}.
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:
-
DetailedErrorResponse | ErrorResponse | PriceList | None–DetailedErrorResponse | ErrorResponse | PriceList
Source code in katana_public_api_client/api/price_list/create_price_list.py
sync_detailed(*, client, body)
¶
Create a price list
Creates a new price list.
Parameters:
-
body(CreatePriceListRequest) –Request payload for creating a new price list with market- specific pricing configurations Example: {'name': 'Premium Customer Pricing'}.
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[DetailedErrorResponse | ErrorResponse | PriceList]–Response[DetailedErrorResponse | ErrorResponse | PriceList]