katana_public_api_client.api.product.get_product¶
katana_public_api_client.api.product.get_product
¶
Classes¶
Functions¶
asyncio(id, *, client, extend=UNSET)
async
¶
Retrieve a product
Retrieves the details of an existing product based on ID.
Parameters:
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 | Product | None–Union[ErrorResponse, Product]
Source code in katana_public_api_client/api/product/get_product.py
asyncio_detailed(id, *, client, extend=UNSET)
async
¶
Retrieve a product
Retrieves the details of an existing product based on ID.
Parameters:
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 | Product]–Response[Union[ErrorResponse, Product]]
Source code in katana_public_api_client/api/product/get_product.py
sync(id, *, client, extend=UNSET)
¶
Retrieve a product
Retrieves the details of an existing product based on ID.
Parameters:
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 | Product | None–Union[ErrorResponse, Product]
Source code in katana_public_api_client/api/product/get_product.py
sync_detailed(id, *, client, extend=UNSET)
¶
Retrieve a product
Retrieves the details of an existing product based on ID.
Parameters:
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 | Product]–Response[Union[ErrorResponse, Product]]