resellers


This endpoint is for managing your own partner account via the API. We suggest you do most of this via Photon, but this endpoint may be handy to pull earnings totals or what not.

 


Available HTTP and Response Types
DELETE GET POST PUT | JSON

6 Methods


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

    NOT AVAILABLE TO PARTNERS

    Description
    No Description

    Sample Response


  • GET
    https://api.pagely.com/ v1 / resellers /all_get

    NOT AVAILABLE TO PARTNERS

    Description
    No Description

    Sample Response


  • GET
    https://api.pagely.com/ v1 / resellers /single

    Available To Partner Account

    Description

    Get details for your partner account. A client account API-KEY may also call this endpoint but will receive a limited ans sanitized set of data back.

    curl -H “X-API-KEY:<key>” https://api.pagely.com/v1/resellers/single

    Sample Response

    {"id":"104","lang":"en","active":"1","tier_id":"5","def_domain_id":"4432","def_plan_id":"0","def_pool_id":"3","status":"a","admin_account":"0","name":"Mike Foo","site_name":"foopress","site_tagline":"Foopress Web Hosting Service","panel_name":"Atomic Core","panel_link":"https://atomic.pagely.com","support_link":"http://support.page.ly","logo":"https://assets.pagely.com/rslogos/foo-200x45.png","company_name":"Graph Paper Press","username":"foo@foopress.com","password":"","email":"foo@foopress.com","phone":"","domain":"http://pro.foopress.com","authnet_cim_profile":null,"authnet_cim_payment":null,"rs_site_uri":"gpp","return_uri":"http://pro.foopress.com","tax_id":"27-555555","paypal_email":null,"failed_attempts":"0","access_pin":null,"date_last_billed":"0","date_added":"1339037827","date_updated":"1339037827"}

      Optional Params

      id int not needed with API-KEY
      inc_billing bool include earnings/billing in result
      limited bool show limited data result, forced if account api-key
  • POST
    https://api.pagely.com/ v1 / resellers /action

    Available To Partner

    Description
    No Description

    Sample Response


      Required Params

      action string enable|disable|request_payout
      id int
  • POST
    https://api.pagely.com/ v1 / resellers /single

    Available To Partner

    Description

    Update a partner account

    Sample Response


      Required Params

      id int

      Optional Params

      company_name string
      def_domain_id int not available
      def_pool_id int not available
      domain string
      email string
      lang string
      logo string should be https://img
      name string
      phone int
      return_uri string
      rs_site_uri string
      site_name string
      site_tagline string
      tax_id string
      tier_id int not available
      username string
  • PUT
    https://api.pagely.com/ v1 / resellers /single

    NOT AVAILABLE TO PARTNERS

    Description
    No Description

    Sample Response