لم يُكتب وصف هذه العملية بالعربية بعد، فأوصافها بالإنجليزية.
Applies a proposal
POST
/ admin/ v1/ stores/ {store_id}/ agent/ proposals/ {proposal_id}/ approve- يدعم Idempotency-Key
Applies a proposal. Only the person who asked can, and only in their session.
معاملات المسار
store_idstringمطلوبproposal_idstringمطلوب
الترويسات
Idempotency-Keystringأرسل المفتاح نفسه لإعادة المحاولة بأمان: تُعاد الإجابة الأولى لمدة ٢٤ ساعة.
shop-api-versionYYYY-MMالإصدار الذي تُكتب به الإجابة. بدونه يُستخدم الإصدار المثبّت لتطبيقك، وإلا الأحدث.
الجسم
hashstringمطلوبThe hash on the card: what was shown is what happens.
ما يُرجعه
200 Its new status: applied, stale or failed
الأخطاء
- 403
forbidden - 404
not_found - 409