createSettingsTax function
Future<ApiResponse<Object?> >
createSettingsTax(
- ExsitedClient client,
- Object payload, {
- bool? raiseOnError,
- String? responseFormat,
POST /api/{api_version}/settings/taxes
Create a country tax; answered 201, under tax. code and country are
required, and v4 has no route that deletes a tax.
No typed view: no 2xx response was recorded for it. Read response.map.
Implementation
Future<ApiResponse<Object?>> createSettingsTax(
ExsitedClient client,
Object payload, {
bool? raiseOnError,
String? responseFormat,
}) =>
client.sendPostRequest(SettingsUrls.settingsTaxes,
jsonBody: payload,
raiseOnError: raiseOnError,
responseFormat: responseFormat);