# Change policy Endpoint: POST /api/v1/ledger/sales/policies/mta Version: 1.0 Security: bearerAuth ## Header parameters: - `X-TENANT-ID` (string, required) Tenant tag Example: "{$inputs.tenant}" - `Accept-Language` (string, required) Chosen language ## Response 200 fields (application/json): - `policy` (object) - `policy.id` (integer) Example: "1234" - `policy.policyNo` (string) - `policy.dateIssue` (string) - `policy.dateInception` (string) - `policy.dateExpiry` (string) - `policy.financials` (object) - `policy.financials.installments` (number) - `policy.financials.adminFeeSum` (number) - `policy.financials.feeVatPct` (number) - `policy.params` (object) - `policy.params.attribute1` (string) - `policy.params.attribute2` (string) - `policy.params.attribute...` (string) - `policy.params.attribute45` (string) - `customer` (object) - `customer.name` (string) - `customer.code` (string) - `agent` (object) - `agent.broker` (string) - `objects` (object) - `objects.objectId` (object) - `objects.objectId.data` (array) - `objects.objectId.products` (array) ## Response 422 fields (application/json): - `message` (string) Example: "The given data was invalid." - `errors` (object) Example: {"schema.type":["The schema.type field is required."],"schema.name":["The schema.name field is required."],"policy.dateInception":["The policy.date inception is not a valid date."]} ## Response 500 fields (application/json): - `message` (string) Example: "Server Error"