Landing Pages API Overview

Landing Pages API

Info
We have created a public API collection for Landing Pages module with all available queries and sample data that you can both test via our demo endpoints and copy to run local tests in your Magento environment. More details about using public collections can be found in the following FAQ post.

1. Amasty\Xlanding\Api\PageRepositoryInterface - class for managing Landing Pages:
  1. POST /V1/amasty_xlanding/page, method="save" - create a landing page;
  2. PUT /V1/amasty_xlanding/page/:id, method="save" - edit a landing page;
  3. DELETE /V1/amasty_xlanding/page/:id, method="deleteById" - delete a landing page;
  4. GET /V1/amasty_xlanding/page, method="getById" - get information about a landing page;
  5. GET /V1/amasty_xlanding/page/all, method="getList" - get a list with all landing pages.

      • Related Articles

      • What Amasty extensions support API?

        Each Amasty extension that has API support, includes the etc/webapi.xml file. The webapi.xml file contains API configurations with the list of available API requests. For example, a request from the Custom Form module interface: 1 - endpoint URL; 2 - ...
      • Can I test how your modules work with API?

        Our team have created a public Postman workspace where we provide access to API collections from our modules. You can copy these API collections to test them in your own Magento installation together with our modules, and some collections can be ...
      • Landing Pages | GraphQL methods

        Query amlanding (id: Int! @doc(description: "Landing Id")) description: get information about a landing page
      • How to show the matching child option of a configurable product on the landing page?

        By default, the Landing Pages extension allows showing child options of configurable products matching the specified conditions. It means that if a landing page is configured to display green items, and the configurable product has a child item with ...
      • Reward Points API

        We have created a public API collection for Reward Points module with all available queries and sample data that you can both test via our demo endpoints and copy to run local tests in your Magento environment. More details about using public ...