لم يُكتب وصف هذه العملية بالعربية بعد، فأوصافها بالإنجليزية.
Request stock alert
POST
/ store/ v1/ stock-alerts- يدعم Idempotency-Key
Ask to be emailed once when a sold-out variant is back. Asking again for the same address changes nothing.
الترويسات
Idempotency-Keystringأرسل المفتاح نفسه لإعادة المحاولة بأمان: تُعاد الإجابة الأولى لمدة ٢٤ ساعة.
shop-api-versionYYYY-MMالإصدار الذي تُكتب به الإجابة. بدونه يُستخدم الإصدار المثبّت لتطبيقك، وإلا الأحدث.
الجسم
variant_idstringمطلوبTypeID with the
varprefix.emailstringمطلوبlocalestring · أو nullThe language to write in (
ar,en-US); the store's when omitted.
ما يُرجعه
204 The shopper will hear when it's back.
الأخطاء
- 409The item is in stock, or the store takes no requests.
- 422
validation_failedNot an email address, or not an item for sale.