GET /admin-api/hooks/{id}

Details

Steps

Step Description Expected result
In BO, Go to Design > Positions Positions Page is displayed correctly.
Get the ID of the first hook of the page !https://forge.prestashop.com/plugins/servlet/raven/attachment/1571/ID+hook.png
Request with method GET the endpoint “https://[url of your shop]/admin-dev/index.php/api/hooks/{id}” where {id} is the previous ID get The return value is in JSON.

The return data has multiples keys : “id”, “active”, “name”, “title”, “description”

The return data keys are consistent relative to BackOffice data.