Assign commission to affiliate using API

Discussion in 'Customization & add-ons' started by sebascar, Nov 18, 2014.

  1. sebascar

    sebascar CEO of ScarMarketing

    Joined:
    Apr 27, 2012
    Messages:
    5
    What's the best to assign one-time commission of 50$ to an affiliate using API REST? I know how to use the API, but I'm unsure about what to do.

    What of this should I use?
    [​IMG]
    Should I POST an "Access", an "Invoice"? An "Invoice-Payments"? Or what? I'm confused.
  2. caesar

    caesar aMember Pro Developer Staff Member

    Joined:
    Oct 16, 2009
    Messages:
    2,295
    It is not possible to do it with REST API.
  3. sebascar

    sebascar CEO of ScarMarketing

    Joined:
    Apr 27, 2012
    Messages:
    5
    Oh, too bad. And what about activate a product that 'triggers' a commission? For example, I have a product A. Costs 10$ and gives 5$ of commission to affiliates that promote that.

    Can I through API activate (generate a payment for) product A so that the affiliate gets the commission?

Share This Page