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

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

Request reset

POST/store/v1/customers/password-reset
  • يدعم Idempotency-Key

Email an 8-character code to choose a new password (valid 15 minutes). Always 202, whether or not the email has an account. Also how invited and guest customers set a first password.

الترويسات

  • Idempotency-Keystring

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

  • shop-api-versionYYYY-MM

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

الجسم

  • emailstringمطلوب
  • localestring · أو null

    Language of the email when the customer has none on file (BCP 47).

ما يُرجعه

202 If the email belongs to a customer, a code is on its way.

الأخطاء

  • 422validation_failedMalformed email.
  • 429rate_limitedToo many requests.