لم يُكتب وصف هذه العملية بالعربية بعد، فأوصافها بالإنجليزية.
Run custom report
GET
/ admin/ v1/ stores/ {store_id}/ analytics/ custom-reports/ {report_id}/ reportA custom report's answer over a period of store-local days, with the report.
معاملات المسار
store_idstringمطلوبمعرّف من نوع
store، مثلstore_01k8qs5s…. يصل إلى التطبيق مع التثبيت، في رابط OAuth وفي رد رمز الوصول.report_idstringمطلوبمعرّف من نوع
crpt، مثلcrpt_01k8qs5s….
معاملات الاستعلام
fromstringمطلوبFirst store-local day,
YYYY-MM-DD.tostringمطلوبLast store-local day (included),
YYYY-MM-DD. At most 366 days fromfrom.group_byenumTime series only:
day,week(from Sunday) ormonth. Default: days up to a month, weeks up to half a year, months beyond.- day
- week
- month
languagestringExports only: the language of the column headings,
enorar(default: the store's).
الترويسات
shop-api-versionYYYY-MMالإصدار الذي تُكتب به الإجابة. بدونه يُستخدم الإصدار المثبّت لتطبيقك، وإلا الأحدث.
ما يُرجعه
200 The report and its answer.
الأخطاء
- 404
not_foundNo such report. - 422
validation_failedInvalid dates or range.