لم يُكتب وصف هذه العملية بالعربية بعد، فأوصافها بالإنجليزية.
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 · أو nullTypeID with the
cusprefix.emailstring · أو nullphonestring · أو nullreasonstring · أو nullWhy (the person's email, a call). At most 500 characters.
ما يُرجعه
201 Made.
الأخطاء
- 409One is already open for this person.
- 422
validation_failedNo one to make it for.