rewards

Give rewards to the affiliates

post/admin/rewards

Request

  • Base URL
    https://api.goaffpro.com/v1
  • URL
    https://api.goaffpro.com/v1/admin/rewards
  • Auth
    API key in header x-goaffpro-access-token

Request body

Example request

{
  "rewards": [
    {
      "amount": 10,
      "affiliate_id": 42,
      "type": "sale_commission",
      "status": "approved",
      "level": 1,
      "order_id": 1232122
    }
  ]
}

Response

successboolean

Changes

No recorded changes to this operation across all 7 revisions of this API.