reseller_modules


Reseller modules are what we refer to 3rd party addons provided by Partners such as themes or plugins. Modules can be the payload of a bill_product object.

  1. Create the bill_product object.
  2. Map the reseller module to it.
  3. When the product is purchased the module is installed on the domain.

The reseller_modules endpoint is for the partner to manage their modules. Once the module is mapped to domain after purchase it is accessed via the domain_modules endpoint.


Available HTTP and Response Types
DELETE GET POST PUT | JSON

6 Methods


  • DELETE
    https://api.pagely.com/ v1 / reseller_modules /single

    Available To Partner

    Description

    Removes a module

    Sample Response


      Required Params

      id int
  • GET
    https://api.pagely.com/ v1 / reseller_modules /all

    Available To Partner

    Description

    Retrieve all modules registered by partner

    Sample Response


      Optional Params

      active int return only active modules
      inc_base_module int include the base_module object
      limit int 25
      offset int 0
      order_by string id
      order_dir string DESC
      reseller_id int not req with API KEY
      visible int return only active visible
  • GET
    https://api.pagely.com/ v1 / reseller_modules /single

    Available To Partner

    Description
    No Description

    Sample Response


      Required Params

      id int
  • POST
    https://api.pagely.com/ v1 / reseller_modules /action

    Available To Partner

    Description
    No Description

    Sample Response


  • POST
    https://api.pagely.com/ v1 / reseller_modules /single

    Available To Partner

    Description
    No Description

    Sample Response


      Required Params

      id int

      Optional Params

      active bool
      desc string
      name string
      platform string
      slug string
      type string
  • PUT
    https://api.pagely.com/ v1 / reseller_modules /single

    Available To Partner

    Description

    Registers a new module.

    Sample Response


      Required Params

      desc string
      name string
      platform string wordpress
      reseller_id int
      slug string name of folder to install into, case sensetive
      type string plugin|theme