Skip to main content
connection

An auto-generated type for paginating through multiple Sales.

Anchor to Fields with this connectionFields with this connection

•OBJECT

An agreement associated with an order placement.

•OBJECT

An agreement associated with an edit to the order.

•OBJECT

An agreement between the merchant and customer to refund all or a portion of the order.

•OBJECT

An agreement between the merchant and customer for a return.

•INTERFACE

A contract between a merchant and a customer to do business. Shopify creates a sales agreement whenever an order is placed, edited, or refunded. A sales agreement has one or more sales records, which provide itemized details about the initial agreement or subsequent changes made to the order. For example, when a customer places an order, Shopify creates the order, generates a sales agreement, and records a sale for each line item purchased in the order. A sale record is specific to a type of order line. Order lines can represent different things such as a purchased product, a tip added by a customer, shipping costs collected at checkout, and more.


Was this section helpful?

•[SaleEdge!]!
non-null

The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node.

•[Sale!]!
non-null

A list of nodes that are contained in SaleEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve.

•PageInfo!
non-null

An object that’s used to retrieve cursor information about the current page.


Was this section helpful?