Requires read_order_edits access scope.

An edit session for an order.


The unique ID of the order edit session.


Was this section helpful?
Map
  • No referencing fields
  • OrderEditSession


    Returns an Order editing session by order ID.


    Was this section helpful?
    <?>
    OrderEditSession Queries
    OrderEditSession


    Adds a custom line item to an existing order. For example, you could add a gift wrapping service as a custom line item. To learn how to edit existing orders, refer to Edit an existing order with Admin API.

    Adds a discount to a line item on the current order edit. For more information on how to use the GraphQL Admin API to edit an existing order, refer to Edit existing orders.

    Adds a shipping line to an existing order. For more information on how to use the GraphQL Admin API to edit an existing order, refer to Edit existing orders.

    Adds a line item from an existing product variant.

    Anchor to orderEditBegin
    mutation
    Access requirements

    Starts editing an order. Mutations are operating on OrderEdit. All order edits start with orderEditBegin, have any number of orderEdit* mutations made, and end with orderEditCommit.

    Removes a discount on the current order edit. For more information on how to use the GraphQL Admin API to edit an existing order, refer to Edit existing orders.

    Removes a shipping line from an existing order. For more information on how to use the GraphQL Admin API to edit an existing order, refer to Edit existing orders.

    Sets the quantity of a line item on an order that is being edited. For more information on how to use the GraphQL Admin API to edit an existing order, refer to Edit existing orders.

    Updates a manual line level discount on the current order edit. For more information on how to use the GraphQL Admin API to edit an existing order, refer to Edit existing orders.

    Updates a shipping line on the current order edit. For more information on how to use the GraphQL Admin API to edit an existing order, refer to Edit existing orders.


    Was this section helpful?



    Was this section helpful?
    ||-
    OrderEditSession Implements
    OrderEditSession

    Implements