katana_public_api_client.api.customer.delete_customer¶
katana_public_api_client.api.customer.delete_customer
¶
Classes¶
Functions¶
asyncio(id, *, client)
async
¶
Delete a customer
Deletes a customer by ID.
Parameters:
-
id(int) –
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:
-
Any | ErrorResponse | None–Union[Any, ErrorResponse]
Source code in katana_public_api_client/api/customer/delete_customer.py
asyncio_detailed(id, *, client)
async
¶
Delete a customer
Deletes a customer by ID.
Parameters:
-
id(int) –
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[Any | ErrorResponse]–Response[Union[Any, ErrorResponse]]
Source code in katana_public_api_client/api/customer/delete_customer.py
sync(id, *, client)
¶
Delete a customer
Deletes a customer by ID.
Parameters:
-
id(int) –
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:
-
Any | ErrorResponse | None–Union[Any, ErrorResponse]
Source code in katana_public_api_client/api/customer/delete_customer.py
sync_detailed(id, *, client)
¶
Delete a customer
Deletes a customer by ID.
Parameters:
-
id(int) –
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[Any | ErrorResponse]–Response[Union[Any, ErrorResponse]]