Skip to content

Saleor Core: the high performance, composable, headless commerce API.

Add GraphQL Enum value

Pacu24f4d33b4dffc
diff --git a/docs/architecture/events.rst b/docs/architecture/events.rst
index 601499309d..b8f8a397d8 100644
--- a/docs/architecture/events.rst
+++ b/docs/architecture/events.rst
@@ -9,36 +9,36 @@ Events
Order events
------------
-+--------------------------+----------------------------------------------------------------+
-| Code | Description |
-+--------------------------+----------------------------------------------------------------+
-| ``placed`` | An order was placed by the customer. |
-+--------------------------+----------------------------------------------------------------+
-| ``draft_placed`` | An order was created from draft by the staff user. |
-+--------------------------+----------------------------------------------------------------+
-| ``canceled`` | The order was cancelled. |
-+--------------------------+----------------------------------------------------------------+
-| ``order_paid`` | The order was fully paid by the customer. |
-+--------------------------+----------------------------------------------------------------+
-| ``marked_as_paid`` | The order was manually marked as fully paid by the staff user. |
-+--------------------------+----------------------------------------------------------------+
-| ``updated`` | The order was updated. |
-+--------------------------+----------------------------------------------------------------+
-| ``email_sent`` | An email was sent to the customer. |
-+--------------------------+----------------------------------------------------------------+
-| ``captured`` | The payment was captured. |
-+--------------------------+----------------------------------------------------------------+
-| ``refunded`` | The payment was refunded. |
-+--------------------------+----------------------------------------------------------------+
-| ``released`` | The payment was released. |
-+--------------------------+----------------------------------------------------------------+
-| ``fulfillment_canceled`` | Fulfillment for one or more of the items was canceled. |
-+--------------------------+----------------------------------------------------------------+
-| ``restocked_items`` | One or more of the order's items have been resocked |
-+--------------------------+----------------------------------------------------------------+
-| ``fulfilled_items`` | One or more of the order's items have been fulfilled. |
-+--------------------------+----------------------------------------------------------------+
-| ``note_added`` | A note was added to the order by the staff. |
-+--------------------------+----------------------------------------------------------------+
-| ``other`` | Status used during reimporting of the legacy events. |
-+--------------------------+----------------------------------------------------------------+
++--------------------------+--------------------------+----------------------------------------------------------------+
+| Code | GraphQL API value | Description |
++--------------------------+--------------------------+----------------------------------------------------------------+
+| ``placed`` | ``PLACED`` | An order was placed by the customer. |
++--------------------------+--------------------------+----------------------------------------------------------------+
+| ``draft_placed`` | ``DRAFT_PLACED`` | An order was created from draft by the staff user. |
++--------------------------+--------------------------+----------------------------------------------------------------+
+| ``canceled`` | ``CANCELED`` | The order was cancelled. |
++--------------------------+--------------------------+----------------------------------------------------------------+
+| ``order_paid`` | ``ORDER_PAID`` | The order was fully paid by the customer. |
++--------------------------+--------------------------+----------------------------------------------------------------+
+| ``marked_as_paid`` | ``MARKED_AS_PAID`` | The order was manually marked as fully paid by the staff user. |
++--------------------------+--------------------------+----------------------------------------------------------------+
+| ``updated`` | ``UPDATED`` | The order was updated. |
++--------------------------+--------------------------+----------------------------------------------------------------+
+| ``email_sent`` | ``EMAIL_SENT`` | An email was sent to the customer. |
++--------------------------+--------------------------+----------------------------------------------------------------+
+| ``captured`` | ``CAPTURED`` | The payment was captured. |
++--------------------------+--------------------------+----------------------------------------------------------------+
+| ``refunded`` | ``REFUNDED`` | The payment was refunded. |
++--------------------------+--------------------------+----------------------------------------------------------------+
+| ``released`` | ``RELEASED`` | The payment was released. |
++--------------------------+--------------------------+----------------------------------------------------------------+
+| ``fulfillment_canceled`` | ``FULFILLMENT_CANCELED`` | Fulfillment for one or more of the items was canceled. |
++--------------------------+--------------------------+----------------------------------------------------------------+
+| ``restocked_items`` | ``RESTOCKED_ITEMS`` | One or more of the order's items have been resocked |
++--------------------------+--------------------------+----------------------------------------------------------------+
+| ``fulfilled_items`` | ``FULFILLED_ITEMS`` | One or more of the order's items have been fulfilled. |
++--------------------------+--------------------------+----------------------------------------------------------------+
+| ``note_added`` | ``NOTE_ADDED`` | A note was added to the order by the staff. |
++--------------------------+--------------------------+----------------------------------------------------------------+
+| ``other`` | ``OTHER`` | Status used during reimporting of the legacy events. |
++--------------------------+--------------------------+----------------------------------------------------------------+