added action and affiliate related APIs