لم يُكتب وصف هذه العملية بالعربية بعد، فأوصافها بالإنجليزية.
Complete order receipt
POST
/ store/ v1/ order-status/ {token}/ receipts/ {receipt_id}/ complete- يدعم Idempotency-Key
Confirms the receipt's file arrived, with the files edge's receipt. The page then shows the receipt submitted (the store reviews it), or scanning while its malware scan finishes: ask again until it isn't. A file the scan blocked is refused (422, with why).
معاملات المسار
tokenstringمطلوبThe order's link token
receipt_idstringمطلوبThe receipt being sent
الترويسات
Idempotency-Keystringأرسل المفتاح نفسه لإعادة المحاولة بأمان: تُعاد الإجابة الأولى لمدة ٢٤ ساعة.
shop-api-versionYYYY-MMالإصدار الذي تُكتب به الإجابة. بدونه يُستخدم الإصدار المثبّت لتطبيقك، وإلا الأحدث.
الجسم
receiptstringمطلوبExactly as the edge returned it.
ما يُرجعه
200 The order's page.
الأخطاء
- 404
not_foundNo order has this link, or no such receipt. - 422
validation_failedThe edge's receipt isn't for this file, or the malware scan blocked it.