Welcome‎ > ‎Version 3‎ > ‎Publisher Api‎ > ‎Methods‎ > ‎3 - Profile Store‎ > ‎

Get Profile

Method used to get profile data.  The lookup can occur by the userkey or by the querying (using the profile data item key/value pair).  It is common to query by key/value pair when looking up third party authentication such as by a facebook id.

Method: GET /api/v3/publisher/profilestore
Authentication: oauth
Required QueryString Value
DataKeyThe publisher defined data key for the profile data item, such as a "facebook_id"
DataValue The value to look for such as 4823781813.
No UserKeyThe user key of the profile

**At least either UserKey or DataKey/DataValue should be supplied.


base response fields
consumer - The consumer record listed in the Group Commerce system.
profile  - The profile object.

Sample Request:

GET https://api.groupcommerce.com/api/v3/publisher/profilestore?DataKey=facebook_id&DataValue=28947322331&

Authorization: OAuth oauth_signature="EIUGCtspKGTx6kybekmqascbnoE%3d", oauth_nonce="1439853", oauth_timestamp="1322497484", oauth_consumer_key="eeb6b959-b854-4ad1-b563-e801c83cf81d", oauth_signature_method="HMAC-SHA1", oauth_version="1.0"

Sample JSON Response:

        /* see consumer */
        /* see profile */

Sample XML Response:

<getProfileResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
see consumer -->
see profile -->