3.256.0 release notes
about 1 hour ago by ReadMe API
- ✨ New features
- Added the experimental
POST /public-api/actions/transaction/v1.0/{transaction}/set-custom-fieldsendpoint to update transaction custom field values, including on finalized transactions, without changing financial data or transaction status. Send acustomFieldsobject keyed by field identifier; omitted identifiers remain unchanged, andnullclears a value. - Added the optional
customFieldsresponse property toGETandPOST /public-api/resources/transactions/v1.0, andGETandPATCH /public-api/resources/transactions/v1.0/{transaction}. Values are keyed by field identifier; applicable fields without values returnnull, and the property is omitted when no fields apply. - Added custom field filtering through
filter[customFields]onGET /public-api/resources/transactions/v1.0. Nonempty criteria for unknown, inaccessible, disabled, deleted, or non-filterable custom fields are ignored. - Added the read-only boolean
isBaseTariffto responses fromGETandPOST /public-api/resources/tariffs/v1.0, andGET,PATCH, andPUT /public-api/resources/tariffs/v1.0/{tariff}. It indicates whether the tariff is the base tariff in at least one tariff group, including groups not visible to the API token; it is not included in tariff snapshots. - Added support for
electricityRateSource: "integration"and theintegrationIdrequest property onPOST /public-api/resources/reimbursement-policies/v1.0andPATCH /public-api/resources/reimbursement-policies/v1.0/{reimbursementPolicy}. The integration must belong to the policy's operator and is required when selecting this source;integrationIdis also returned for integration-based policies by these endpoints and byGET /public-api/resources/reimbursement-policies/v1.0andGET /public-api/resources/reimbursement-policies/v1.0/{reimbursementPolicy}.
- Added the experimental
- 🔧 Improvements
- Made the electricity rate source of integration-based reimbursement policies editable through
PATCH /public-api/resources/reimbursement-policies/v1.0/{reimbursementPolicy}. ChangingelectricityRateSourceclears the previous source's reference automatically, and sendingintegrationIdalone changes the integration without changing the source. - Expanded the supported
notificationsvalues withuser.UserGroup.changedonGETandPOST /public-api/notifications/v1.0,GETandPUT /public-api/notifications/v1.0/{notification},GETandPOST /public-api/notifications/v2.0,GETandPUT /public-api/notifications/v2.0/{notification}, andPOST /public-api/actions/notifications/v1.0/{notification}/resend. Consumers can subscribe to user group changes and select this notification type when resending failed notifications.
- Made the electricity rate source of integration-based reimbursement policies editable through
