sale
The Sale the payment is attached to.
Populated whenever the payment has reached PosPaymentStatus.SUCCEEDED — at
that point the reservation has been committed, and the client uses this field
to surface the final populated sale through the same code path the legacy
capture mutation used to drive.
Arguments
sale doesn't take any arguments.
Type
This field resolves to Sale, which has the following fields:
| Field | Description | Type |
|---|---|---|
availablePaymentTypes | Available payment types for this sale. | [ SalePaymentType! ]! |
canceledAt | When the sale was canceled (null if not canceled). | Date |
committedAt | When the sale was completed/committed (null if not yet committed). | Date |
committer | The staff member who completed/committed this sale. | User |
createdAt | When the sale was created. | Date |
creator | The staff member who created this sale. | User |
customerData | Customer data (name, address, email, etc.) associated with the sale, if provided. Null if no customer data has been applied yet. | CustomerData |
events | Events associated with items in this sale. | [ Event! ]! |
expiration | When the sale expires (for uncommitted sales). | Date |
feeBaseTotal | Subtotal before fees. | Money |
grandTotal | The grand total of the sale. | Money |
hasDiscounts | Whether any discounts have been applied. | Boolean |
id | The unique ID of the sale. | ID! |
invoiceDownloadUrl | Download URL for the invoice. | Url |
isEmpty | Whether the sale has no items. | Boolean |
isExpired | Whether the sale is expired. | Boolean |
itemGroups | Items grouped by event for display purposes. | [ SaleItemGroup! ]! |
items | Explicitly added tickets, products, and discounts. | [ SaleItem! ]! |
lineItems | All line items including fees and other auto-generated entries. | [ SaleItem! ]! |
number | Human-readable sale number for receipts and reference. Globally unique across all sales. | String |
numberOfItems | Number of items in the sale. | Int |
paymentType | The payment type for this sale. | SalePaymentType |
state | The current status of the sale. | SaleState |
ticketsDownloadUrl | Download URL for the tickets. | Url |
updatedAt | When the sale was last updated. | Date |