Adding products to user via REST API - but don't know user_id?

Discussion in 'Customization & add-ons' started by frybread, Mar 30, 2015.

  1. frybread

    frybread aMember Pro Customer

    Jul 14, 2008
    I'm not a coder and need some help.

    I'm trying to add subscriptions to certain users via REST API using a PHP script. My issue is that I don't know the user's "user_id" - but I do know the login name.[login]=test

    I can see the user_id here, but how do I pass this on as a variable in my PHP script?

Share This Page