[API] Fetching users by email address

dennis's Avatar

dennis

27 Apr, 2010 07:01 PM

Hey guys,

we're already using Tender in Shopify pretty happily I must say, but we want to take it a step further and start using your API.

Background:
We have an internal dashboard that shows detailed information about a shop (our customer). Now we want to add all the Tender history to that dashboard as well, to make sure all the different support people are on the same page about the customer's history. So we need to iterate through all the users a shop has (by email) and insert a link to the tender discussions for each one. (Our users sign in to Tender using the same email they use in Shopify).

Problem:
Looking at your API documentation it doesn't look like I can fetch a user by email address. I need each tender user id, which we of course don't store in our shopify database.

Question:
Is there a filter I'm missing that allows to get a user by email somehow? Or do you have any other idea how I can realize this setup? Anything that would help gather the data for a user (from his email address) would be great!

Thanks, Dennis
Shopify Support Developer

  1. 1 Posted by Justin on 27 Apr, 2010 08:33 PM

    Justin's Avatar

    Looks like we need to update our documentation. You can get a user by email by supplying an email param.

    curl -H "Accept: application/vnd.tender-v1+json" "https://api.tenderapp.com/help/users?auth=YOUR_KEY&email=[email blocked]"
    
  2. 2 Posted by dennis on 29 Apr, 2010 08:02 PM

    dennis's Avatar

    Sweet, thanks!

  3. Will closed this discussion on 29 Apr, 2010 08:22 PM.

Discussions are closed to public comments.
If you need help with Tender please start a new discussion.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac