Approve or reject an application
op_decide_applicationOnly for the Awning team. approve publishes the business; reject needs a note the owner will see. To approve an application of any route but rename, pass expected_name: the business's name exactly as op_applications showed it to you (business.name). The owner can change the name while the application waits, so approving is refused when the business is called something else now: list the applications again, check the name, then decide. For route rename, approve gives the business the new name from the request and changes nothing else (no expected_name needed), and reject keeps the current name. recall applies to an approved application with route auto_branch — a new location that went live without review: it leaves the catalogue and returns to the queue as a new application.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | No | ||
| decision | Yes | ||
| expected_name | No | To approve: the business name you were shown in op_applications. Required unless the route is rename. | |
| application_id | Yes |