ავტორიზაცია

API გასაღები გაგზავნეთ როგორც მატარებელი ტოკენი (bearer token). გასაღებს უნდა ჰქონდეს billing.view ნებართვა; ამის გარეშე გასაღები უარყოფილი იქნება 403 და არა 404 სტატუსით.

ეს ბოლო წერტილი არ იღებს ორგანიზაციის იდენტიფიკატორს. თქვენი გასაღები უკვე აიდენტიფიცირებს იმ ორგანიზაციას, რომელსაც ის ეკუთვნის, და პასუხი შემოფარგლულია მისით.

სცადეთ

შეSubstituted any value inside angle brackets with your own and the key placeholder with a key from your dashboard.

curl -X GET https://api.zinndigital.com/v1/accounting/xero/invoices \
  -H "Authorization: Bearer zdk_live_…"

შესული ხართ? თქვენი სამართავ პანელში არსებული API კონსოლი ავტომატურად ამატებს თქვენი რეალური ორგანიზაციის ID-სა და საკუთარ გასაღებს და ატარებს მოთხოვნას ცოცხალ API-ს წინააღმდეგ, რათა იხილოთ რეალური პასუხი. გაAღით ეს ენდპოინტი API კონსოლში

დეტალები

Every invoice the connection knows about, newest first, with its state and — where it failed or was not sent — the reason. ⭐ States other than synced are listed deliberately. An invoice that is simply absent from a list is indistinguishable from one the sync never saw, so a customer could not tell a deliberate skip from a bug. total is the true count, which may exceed the number of items returned. Requires billing.view.

პასუხი

სახელიტიპისავალდებულორა არის ეს
itemsXeroInvoiceLink[]დიახ
totalintegerდიახThe TRUE count, which may exceed items. ⛔ Never len(items) — a response where those are equal is exactly what a complete answer looks like, so returning the page size would…

შეცდომები, რომლებიც ამ ენდპოინტს შეუძლია დააბრუნოს

401 · 403 · 429