انتقل إلى المحتوى

لم يُكتب وصف هذه العملية بالعربية بعد، فأوصافها بالإنجليزية.

Create data request

POST/admin/v1/stores/{store_id}/data-requests
  • customers:write
  • يدعم Idempotency-Key

Makes a request on a person's behalf: a copy is made at once and is downloadable here; an erasure runs after ten days, and waits while they have an open order, return or subscription.

معاملات المسار

  • store_idstringمطلوب

    معرّف من نوع store، مثل store_01k8qs5s…. يصل إلى التطبيق مع التثبيت، في رابط OAuth وفي رد رمز الوصول.

الترويسات

  • Idempotency-Keystring

    أرسل المفتاح نفسه لإعادة المحاولة بأمان: تُعاد الإجابة الأولى لمدة ٢٤ ساعة.

  • shop-api-versionYYYY-MM

    الإصدار الذي تُكتب به الإجابة. بدونه يُستخدم الإصدار المثبّت لتطبيقك، وإلا الأحدث.

الجسم

  • kindenumمطلوب

    What the person asked for.

    • access
    • erasure
  • customer_idstring · أو null

    TypeID with the cus prefix.

  • emailstring · أو null
  • phonestring · أو null
  • reasonstring · أو null

    Why (the person's email, a call). At most 500 characters.

ما يُرجعه

201 Made.

الأخطاء

  • 409One is already open for this person.
  • 422validation_failedNo one to make it for.