/// <summary> /// Update Location Specific Chart of Accounts /// </summary> /// <remarks> /// Updates the location specific chart of accounts configuration for the business. /// </remarks> public Task <SgChartOfAccountsLocationGroupModel> UpdateLocationSpecificChartOfAccountsAsync(int businessId, int locationId, SgChartOfAccountsLocationGroupModel chartOfAccounts, CancellationToken cancellationToken = default) { return(ApiRequestAsync <SgChartOfAccountsLocationGroupModel, SgChartOfAccountsLocationGroupModel>($"/business/{businessId}/chartofaccounts/location/{locationId}", chartOfAccounts, Method.POST, cancellationToken)); }
/// <summary> /// Update Location Specific Chart of Accounts /// </summary> /// <remarks> /// Updates the location specific chart of accounts configuration for the business. /// </remarks> public SgChartOfAccountsLocationGroupModel UpdateLocationSpecificChartOfAccounts(int businessId, int locationId, SgChartOfAccountsLocationGroupModel chartOfAccounts) { return(ApiRequest <SgChartOfAccountsLocationGroupModel, SgChartOfAccountsLocationGroupModel>($"/business/{businessId}/chartofaccounts/location/{locationId}", chartOfAccounts, Method.POST)); }