انتقل إلى المحتوى

لم يُكتب وصف هذه العملية بالعربية بعد، فأوصافها بالإنجليزية.

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.

الأخطاء

  • 404not_foundNo order has this link, or it needed no confirming.
  • 409Already confirmed or cancelled.