لم يُكتب وصف هذه العملية بالعربية بعد، فأوصافها بالإنجليزية.
Cancel order status
POST
/ store/ v1/ order-status/ {token}/ cancel- يدعم Idempotency-Key
The customer cancels their order, while it waits for their confirmation.
معاملات المسار
tokenstringمطلوبThe order's link token
الترويسات
Idempotency-Keystringأرسل المفتاح نفسه لإعادة المحاولة بأمان: تُعاد الإجابة الأولى لمدة ٢٤ ساعة.
shop-api-versionYYYY-MMالإصدار الذي تُكتب به الإجابة. بدونه يُستخدم الإصدار المثبّت لتطبيقك، وإلا الأحدث.
ما يُرجعه
200 The order's page.
الأخطاء
- 404
not_foundNo order has this link, or it needed no confirming. - 409Already confirmed or cancelled.