Openapi
Replace the reminder levels. Each level comes more days after the due date than the one before, and only the last is final.
sb-auth-token<token>Supabase browser session cookie. Supabase may split larger session values into chunked cookies like sb-auth-token.0.
organizationId*stringuuidThe reminder levels.
application/jsonlevels*array<>items <= 20Returns the result.
application/jsondata*array<>pagination*curl -X PUT 'https://app.localhost/api/v1/organizations/123/dunning-levels' \ -H 'Content-Type: application/json' \ -d '{ "levels": [ { "daysAfterDue": 0, "fee": 0, "final": false, "templateKey": "string" } ]}'{ "data": [ { "daysAfterDue": 0, "fee": 0, "final": true, "level": 1, "templateKey": "string", "textKey": "string" } ], "pagination": { "hasMore": true, "limit": 1, "offset": 0, "total": 0, "totalIsEstimate": true }}