patch http://127.0.0.1:4002/v1/packages/
Use this endpoint to update a specific package. Send only the fields you want to change — any fields not included will remain unchanged. Ideal for partial updates without overwriting the entire configuration.
Partial update
You can send only the fields you want to update. All other values will remain unchanged. For example, to partially update fees
:
- To add a new fee, just include it in the payload.
- To update an existing fee, send the new value.
- To remove a specific value, set it to
null
. - To remove an entire fee object, use an empty array — e.g.,
"taxaAdm": []
.
Immutable fields
The
ledgerId
,segmentId
, andchartOfAccount
fields can’t be updated.