Marketplace API / Types

Order

Object

A purchase, in progress or completed.

type Order implements Node

Fields

FieldTypeDescription
appliedCreditsMoney!
Store credits that the buyer spent on the order. Zero when the buyer spent none.
createdAtDateTime!
When this order was created.
discounts[OrderDiscount!]!
Discounts that reduced what the buyer paid, oldest first. Empty when none applied.
idID!
A globally unique ID. Treat this value as an opaque string.
itemsOrderItemConnection!
The items of the order, oldest first, as recorded at purchase. Paging is limited to the first 1,000 items.Arguments:
after: String — Returns the items after this cursor.
first: Int — The number of items to return, 1 to 100. The default is 20.
livemodeBoolean!
False when no real money moved: this storefront was in test mode when the order was placed.
offPlatformPaymentInstructionsOffPlatformPaymentDetails
How the buyer settles an unpaid off-platform order directly with the seller. Null whenever nothing is owed through this channel: orders paid on-platform, off-platform orders that have moved past confirmation (paid, shipped, cancelled, refunded), and sellers with no configured payout handle. Treat null as "show no payment instructions" rather than as an error.
paymentCardOrderPaymentCard
The card that paid for the order. Null when the buyer did not pay by card, when the order has no record of the card, and for a caller who is not the buyer.
paymentMethodOrderPaymentMethod!
How the buyer paid.
receiptIdString!
Human-readable receipt number shown to the buyer.
refunds[OrderRefund!]!
Refunds of the order, oldest first. Empty when the order has no refund. status is REFUNDED only after a full refund of a paid order: a cancelled order keeps CANCELLED.
sellerUser
The seller of the order. Null when the seller has no public profile.
shippingAddressPostalAddress
Where the order ships. Null when the order has no shipment, for example a digital order, when no complete address is stored, and for a caller who is not the buyer.
shippingFeeMoney!
Shipping fee that the buyer paid at checkout, before discounts.
statusOrderStatus
Where the order is between payment and delivery. Null for an earlier order whose status is none of the OrderStatus values.
subtotalMoney!
Price of the items at checkout, before shipping, tax and discounts.
taxMoney!
Sales tax charged at checkout.
totalChargedMoney!
The amount charged to the buyer's payment method at checkout: subtotal, shippingFee and tax, less discounts and appliedCredits. A refund does not change it.

Returned by