Product Option Templates API

Product Option Templates API

1. Amasty\Prot\Api\CustomTemplateRepositoryInterface - class for for managing Product Option Templates.
  1. GET /V1/amasty_prot/template, method="get" - get a product option template by ID;
  2. GET /V1/amasty_prot/templates, method="getList" - retrieve a list of product option templates;
  3. POST /V1/amasty_prot/template, method="save" - create a new product option template;
  4. PUT /V1/amasty_prot/template/:template_id, method="save" - update an existing product option template by ID;
  5. PUT /V1/amasty_prot/template/assignToProducts, method="assignToProducts" - assign a product option template to products;
  6. PUT /V1/amasty_prot/template/removeProducts, method="removeProducts" - remove products from a product option template;
  7. PUT /V1/amasty_prot/template/removeOptions, method="removeOptions" - remove options from a product option template;
  8. PUT /V1/amasty_prot/template/modifyOption/:option_id, method="modifyOption" - modify a specific option within a product option template.
      • Related Articles

      • Product Option Templates | GraphQL methods

        Queries amProductOptionsProvider (productId: Int) description: get information about product options by product ID
      • Product Parts Finder API

        We have created a public API collection for Product Parts Finder 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 ...
      • Product Attachments API

        We have created a public API collection for Product Attachments 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 ...
      • Product Labels API

        We have created a public API collection for Product Labels 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 ...
      • Product Tabs API

        We have created a public API collection for Product Tabs 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 ...