rewards

Updates a given reward

Changed on
patch/admin/rewards/{id}

Request

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

Path parameters

ID of the reward to update

Request body

amountinteger
status'approved' | 'rejected'
metadatastring

Changes

    • info

      added the new optional request property (media type: application/x-www-form-urlencoded)

    • info

      added the new optional request property (media type: application/json)