Update Frontend Action
Frontend Actions
Update Frontend Action
Updates an existing frontend action by its unique ID. Use this endpoint to modify a frontend action’s parameters, description, or trigger function.
PATCH
Update Frontend Action
For the complete error reference, see Error Guide.
Authorizations
API Key (i.e. Rest API Key from the Dashboard).
Path Parameters
Body
application/json
Name of the frontend action
Example:
"Open Product Modal"
Description of what the frontend action does
Example:
"Opens a modal displaying product details"
Array of parameters for the frontend action
Icon URL for the frontend action
Example:
"https://example.com/icon.png"
Response
200 - application/json
Frontend action updated successfully
Example:
"myapp_onUserClick"
Example:
"my-app-id"
Example:
"User Click Action"
Example:
"Triggered when a user clicks a button"
Example:
"onUserClick"
Example:
"https://example.com/icon.png"
Example:
1700000000000
Example:
1700000000000