لم يُكتب وصف هذه العملية بالعربية بعد، فأوصافها بالإنجليزية.
Create export
/ admin/ v1/ stores/ {store_id}/ exports- يدعم Idempotency-Key
Prepare a CSV file of products, customers, stock or orders (UTF-8, readable by Excel; the product and customer files use Shopify's columns and import back here). Poll the export for its download link. Requires the resource's read permission.
معاملات المسار
store_idstringمطلوبمعرّف من نوع
store، مثلstore_01k8qs5s…. يصل إلى التطبيق مع التثبيت، في رابط OAuth وفي رد رمز الوصول.
الترويسات
Idempotency-Keystringأرسل المفتاح نفسه لإعادة المحاولة بأمان: تُعاد الإجابة الأولى لمدة ٢٤ ساعة.
shop-api-versionYYYY-MMالإصدار الذي تُكتب به الإجابة. بدونه يُستخدم الإصدار المثبّت لتطبيقك، وإلا الأحدث.
الجسم
resourceenumمطلوبWhat an export writes out.
- products
- customers
- inventory
- orders
placed_fromdate · أو nullOrders: placed on or after this day (store time zone).
placed_todate · أو nullOrders: placed on or before this day.
order_queryobjectOrders: the list's filters, exactly as
GET /orderstakes them.order_idsarray of stringsOrders: only these, as selected in the list (at most 1,000).
ما يُرجعه
202 Being prepared.
الأخطاء
- 403
forbiddenMissing permission. - 422
validation_failedThe end date is before the start date.