Openapi
Approve the levels of a purchase bill that the signed-in user is the approver of.
sb-auth-token<token>Supabase browser session cookie. Supabase may split larger session values into chunked cookies like sb-auth-token.0.
billId*stringuuidorganizationId*stringuuidAn optional comment.
application/jsoncomment?string1 <= length <= 500Returns the result.
application/jsonapproved*array<integer>pending*array<>required*array<integer>status*billApprovalStatusSchema"not_required""pending""approved"curl -X POST 'https://app.localhost/api/v1/organizations/123/bills/123e4567-e89b-12d3-a456-426614174000/approve' \ -H 'Content-Type: application/json' \ -d '{}'{ "approved": [ 0 ], "pending": [ { "approverId": "c4cb1502-f1f4-43be-8940-63247031d1fd", "level": 0 } ], "required": [ 0 ], "status": "not_required"}