katana_public_api_client.api.supplier_address.update_supplier_address¶
katana_public_api_client.api.supplier_address.update_supplier_address
¶
Classes¶
Functions¶
asyncio(id, *, client, body)
async
¶
Update a supplier address
Updates the specified supplier address by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
Parameters:
-
id(int) – -
body(UpdateSupplierAddressRequest) –Request payload for updating an existing supplier address Example: {'line_1': '1250 Industrial Blvd', 'line_2': 'Suite 300', 'city': 'Chicago', 'state': 'IL', 'zip': '60601', 'country': 'US'}.
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 | SupplierAddress | None–Union[DetailedErrorResponse, ErrorResponse, SupplierAddress]
Source code in katana_public_api_client/api/supplier_address/update_supplier_address.py
asyncio_detailed(id, *, client, body)
async
¶
Update a supplier address
Updates the specified supplier address by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
Parameters:
-
id(int) – -
body(UpdateSupplierAddressRequest) –Request payload for updating an existing supplier address Example: {'line_1': '1250 Industrial Blvd', 'line_2': 'Suite 300', 'city': 'Chicago', 'state': 'IL', 'zip': '60601', 'country': 'US'}.
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 | SupplierAddress]–Response[Union[DetailedErrorResponse, ErrorResponse, SupplierAddress]]
Source code in katana_public_api_client/api/supplier_address/update_supplier_address.py
sync(id, *, client, body)
¶
Update a supplier address
Updates the specified supplier address by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
Parameters:
-
id(int) – -
body(UpdateSupplierAddressRequest) –Request payload for updating an existing supplier address Example: {'line_1': '1250 Industrial Blvd', 'line_2': 'Suite 300', 'city': 'Chicago', 'state': 'IL', 'zip': '60601', 'country': 'US'}.
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 | SupplierAddress | None–Union[DetailedErrorResponse, ErrorResponse, SupplierAddress]
Source code in katana_public_api_client/api/supplier_address/update_supplier_address.py
sync_detailed(id, *, client, body)
¶
Update a supplier address
Updates the specified supplier address by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
Parameters:
-
id(int) – -
body(UpdateSupplierAddressRequest) –Request payload for updating an existing supplier address Example: {'line_1': '1250 Industrial Blvd', 'line_2': 'Suite 300', 'city': 'Chicago', 'state': 'IL', 'zip': '60601', 'country': 'US'}.
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 | SupplierAddress]–Response[Union[DetailedErrorResponse, ErrorResponse, SupplierAddress]]