Update OrganizationConfig
Update the Organization-wide configuration details.
Path parameters
UUID of the organization. The Organization represents your company as a direct customer of the m3ter service.
Request body
Example request
{
"timezone": "UTC",
"yearEpoch": "2022-01-01",
"monthEpoch": "2022-01-01",
"weekEpoch": "2022-01-04",
"dayEpoch": "2022-01-01",
"currency": "USD",
"currencyConversions": [
{
"from": "EUR",
"to": "USD",
"multiplier": 1.12
}
],
"autoApproveBillsGracePeriod": 2,
"autoApproveBillsGracePeriodUnit": "DAYS",
"externalInvoiceDate": "LAST_DAY_OF_ARREARS",
"suppressedEmptyBills": true,
"consolidateBills": true,
"billPrefix": "Bill-",
"sequenceStartNumber": 1000
}Response
Return the updated Organization configuration
Example response
{
"timezone": "UTC",
"yearEpoch": "2022-01-01",
"monthEpoch": "2022-01-01",
"weekEpoch": "2022-01-04",
"dayEpoch": "2022-01-01",
"currencyConversions": [
{
"from": "EUR",
"to": "USD",
"multiplier": 1.12
}
]
}Changes
Changed in 2 of the 10 revisions of this API.58
- ○
added the new optional request property
allOf[subschema #2]/allowNegativeBalancesnew-optional-request-property
- ○
added the new optional request property
allOf[subschema #2]/allowOverlappingPlansnew-optional-request-property
- ○
added the optional property
allOf[subschema #2]/allowNegativeBalancesto the response with the200statusresponse-optional-property-added
- ○
added the optional property
allOf[subschema #2]/allowOverlappingPlansto the response with the200statusresponse-optional-property-added
This revision also has 3 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ○
- ▲
the response property
allOf[AbstractResponse]/versionbecame optional for the status200response-property-became-optional
- ▲
the
allOf[subschema #2]/dayEpochresponse's property type/format changed fromstring/datetostring/for status200response-property-type-changed
- ▲
the
allOf[subschema #2]/monthEpochresponse's property type/format changed fromstring/datetostring/for status200response-property-type-changed
- ▲
the
allOf[subschema #2]/weekEpochresponse's property type/format changed fromstring/datetostring/for status200response-property-type-changed
- ▲
the
allOf[subschema #2]/yearEpochresponse's property type/format changed fromstring/datetostring/for status200response-property-type-changed
- ○
the
dayEpochresponse's property default value2022-01-01was added for the status200response-property-default-value-added
- ○
the
monthEpochresponse's property default value2022-01-01was added for the status200response-property-default-value-added
- ○
the
weekEpochresponse's property default value2022-01-04was added for the status200response-property-default-value-added
- ○
the
yearEpochresponse's property default value2022-01-01was added for the status200response-property-default-value-added
This revision also has 53 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ▲