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

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

Set order custom status

PUT/admin/v1/stores/{store_id}/orders/{order_id}/custom-status

    Move the order to one of the store's statuses, or out of every status (null).

    معاملات المسار

    • store_idstringمطلوب

      معرّف من نوع store، مثل store_01k8qs5s…. يصل إلى التطبيق مع التثبيت، في رابط OAuth وفي رد رمز الوصول.

    • order_idstringمطلوب

      معرّف من نوع ord، مثل ord_01k8qs5s….

    الترويسات

    • shop-api-versionYYYY-MM

      الإصدار الذي تُكتب به الإجابة. بدونه يُستخدم الإصدار المثبّت لتطبيقك، وإلا الأحدث.

    الجسم

    • custom_status_idstring · أو null

      TypeID with the ostat prefix.

    ما يُرجعه

    200 The order.

    الأخطاء

    • 403forbiddenMissing permission.
    • 404not_foundNo such order.
    • 422validation_failedNot one of the store's active statuses.