لم يُكتب وصف هذه العملية بالعربية بعد، فأوصافها بالإنجليزية.
Confirm reset
POST
/ store/ v1/ customers/ password-reset/ confirm- يدعم Idempotency-Key
Choose a new password with the emailed code. Signs out every other session and signs in. An account that waits for the store's approval keeps the new password and keeps waiting (202).
الترويسات
Idempotency-Keystringأرسل المفتاح نفسه لإعادة المحاولة بأمان: تُعاد الإجابة الأولى لمدة ٢٤ ساعة.
shop-api-versionYYYY-MMالإصدار الذي تُكتب به الإجابة. بدونه يُستخدم الإصدار المثبّت لتطبيقك، وإلا الأحدث.
الجسم
emailstringمطلوبcodestringمطلوبThe 8-character code from the email. Case, spaces and dashes are ignored.
passwordstringمطلوبThe new password, 12–128 characters.
ما يُرجعه
200 Password set; signed in.
الأخطاء
- 409
accounts_off(the store has no accounts) orsign_up_invite_only(a guest the store didn't invite can't open one). - 422
validation_failedWrong or expired code (code), or weak password (password). - 429
rate_limitedToo many attempts.