---
title: OrderEditAgreement - Customer API
description: An agreement related to an edit of the order.
api_version: 2026-10
source_url:
  html: https://shopify.dev/docs/api/customer/latest/objects/ordereditagreement
  md: https://shopify.dev/docs/api/customer/latest/objects/ordereditagreement.md
---

# Order​Edit​Agreement

object

Requires `customer_read_orders` access scope.

An agreement related to an edit of the order.

## Fields

* happened​At

  [Date​Time!](https://shopify.dev/docs/api/customer/latest/scalars/DateTime)

  non-null

  The date and time when the agreement occurred.

* id

  [ID!](https://shopify.dev/docs/api/customer/latest/scalars/ID)

  non-null

  The unique ID for the agreement.

* reason

  [Order​Action​Type!](https://shopify.dev/docs/api/customer/latest/enums/OrderActionType)

  non-null

  The reason the agreement was created.

* sales

  [Sale​Connection!](https://shopify.dev/docs/api/customer/latest/connections/SaleConnection)

  non-null

  The sales associated with the agreement.

  * after

    [String](https://shopify.dev/docs/api/customer/latest/scalars/String)

    ### Arguments

    The elements that come after the specified [cursor](https://shopify.dev/api/usage/pagination-graphql).

  * before

    [String](https://shopify.dev/docs/api/customer/latest/scalars/String)

    The elements that come before the specified [cursor](https://shopify.dev/api/usage/pagination-graphql).

  * first

    [Int](https://shopify.dev/docs/api/customer/latest/scalars/Int)

    The first `n` elements from the [paginated list](https://shopify.dev/api/usage/pagination-graphql).

  * last

    [Int](https://shopify.dev/docs/api/customer/latest/scalars/Int)

    The last `n` elements from the [paginated list](https://shopify.dev/api/usage/pagination-graphql).

  * reverse

    [Boolean](https://shopify.dev/docs/api/customer/latest/scalars/Boolean)

    Default:false

    Reverse the order of the underlying list.

  ***

***

## Map

No referencing types

***

## Interfaces

* * [Node](https://shopify.dev/docs/api/customer/latest/interfaces/Node)

    interface

  * [Sales​Agreement](https://shopify.dev/docs/api/customer/latest/interfaces/SalesAgreement)

    interface

***

## OrderEditAgreement Implements

### Implements

* [Node](https://shopify.dev/docs/api/customer/latest/interfaces/Node)
* [Sales​Agreement](https://shopify.dev/docs/api/customer/latest/interfaces/SalesAgreement)