--- title: OrderAgreement - Customer API description: An agreement associated with an order placement. api_version: 2025-10 api_name: customer type: object api_type: graphql source_url: html: https://shopify.dev/docs/api/customer/latest/objects/orderagreement md: https://shopify.dev/docs/api/customer/latest/objects/orderagreement.md --- # Order​Agreement object An agreement associated with an order placement. ## 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. * order [Order!](https://shopify.dev/docs/api/customer/latest/objects/Order) non-null The order associated with 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. *** ## 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 *** ## ||-OrderAgreement Implements ### Implements * ||-[Node](https://shopify.dev/docs/api/customer/latest/interfaces/Node) * ||-[Sales​Agreement](https://shopify.dev/docs/api/customer/latest/interfaces/SalesAgreement)