What’s the correct way to encode multiple sort fields with their respective directions for the Airtable API? I think I’m missing something with the array indexing in the URL parameters.
Airtable wants field and direction as parameter names, not name and order
I hit this exact problem last year pulling product data from our Airtable base. Wasted way too much time debugging before realizing the parameter names were wrong.
Final URL should look like: sort[0][field]=productName&sort[0][direction]=asc&sort[1][field]=price&sort[1][direction]=desc