customer by country

how can I display my customer list by country ?

  1. Hi Tom,

    You can display your customer search in XML or JSON (see the buttons at the bottom of the customer search page) to get full customer details, including the country code of the billing address, for each customer record returned by the search. To find the country for each customer record in the JSON or XML files, just search for the ccCountry param.

    The JSON and XML files only display the current page of your search results. If your customer search is multiple pages, make sure to get the XML or JSON for each page of your search. Let me know if I can answer any other questions, Tom.

    Meghan

  2. Hello Meghan,

    Thanks. I've tried your solution but I've been unable to find any client based in the UK (even though we have a few client operating there). I've tried by searching "UK" as ccCountry but couldn't find one...
    I've done it differently and have been able to find the data I needed.

    Thanks for your help !

  3. Hi Tom,

    Try using the get all customers API call instead and then searching the results for the country code "GB" rather than "UK" (GB is the ISO Alpha-2 country code for the United Kingdom). Let me know if that works!

    Meghan

  4. Hi Meghan,

    It is working with "GB" ! Thanks for the tips.

    Thanks a lot for your help and your reactivity :) !

  5. Happy to help, Tom! I'll go ahead and close this discussion, but if you have any other questions, feel free to re-open it by commenting.

    Meghan

  6. Meghan Turner closed this discussion on 04 Oct, 2017 08:29 PM.

Discussions are closed to public comments.
If you need help with Cheddar 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

Recent Discussions