API transaction_list - How to get both hidden & visible transactions

xcorlettxcorlett Member
in Help edited June 2013
Howdy,

Any tips on how to ask the API for a transaction listing that includes both hidden and unhidden transcations? I have developed a few simple order history / tracking scripts which work with the data that Order Desk syncs back to Foxycart. However, it only seems possible to get either hidden or visible transactions, not both at the same time. To get details on a specific order, I have to make two API requests, one that searches hidden transactions, and then one that searches visible ones if the hidden request comes back with no results.

Robert
Comments
  • fc_adamfc_adam FoxyCart Team
    @xcorlett,

    If you don't pass a filter for "hide_transaction_filter" it should return both visible and hidden transactions. Is that not what you're seeing?

    Otherwise, try passing in an empty string for that filter value.
  • Fantastic, thank you! I had convinced myself that I needed a value of 0 or 1 for that filter. Not sure why. My script works perfectly now.
Sign In or Register to comment.