No internet connection
  1. Home
  2. General

T3 API question

By Bobby Jankowski @BobbyJ
    2025-11-10 22:23:10.616Z

    Hello, recently upgraded to T3 and I'm using the API function to get live data to a spreadsheet, by using the IMPORTDATA tutorial you guys posted, something that would be helpful for the data imported would be the column for "LT Status" Lab Testing, with that column i could easily share with my sales team what is available for sale at the exact moment, and what's still awaiting testing and those sorts of things, maybe even the category column for other similar reasons

    • 3 replies
    1. M
      Matt Frisbie @mattfriz
        2025-11-10 22:28:07.283Z

        This is already possible! I assume you're referring to a Packages report endpoint. If so, you'll just need to specify the fieldnames that you want included in your report. The field name you want is labTestingStateName. So, for example, you would add this to your URL:

        &fieldnames=label,locationName,item.name,quantity,unitOfMeasureAbbreviation,labTestingStateName
        
        

        Let me know if this helps!

        1. BBobby Jankowski @BobbyJ
            2025-11-10 22:58:41.729Z

            i got it to work thank you! and what is the name for category, i tried just &category and that broke it.

          • M
            In reply toBobbyJ:
            Matt Frisbie @mattfriz
              2025-11-10 23:25:53.965Z

              You would add on

              ,item.productCategoryName
              

              Here's the docs:
              https://api.trackandtrace.tools/v2/docs/#/Reports/get_v2_packages_active_report

              Scroll down to "Responses" to see a list of what can be included in fieldnames.