Admin API / Types
ProductCustomOrder
ObjectA custom order: a listing that only one buyer can buy. The price of a custom order with one variant is Product.priceRange.max.
type ProductCustomOrderFields
| Field | Type | Description |
|---|---|---|
buyer | User | The only buyer who can buy the listing. Null when the account is not visible to the caller. Reading the buyer's fields needs the admin:account:read scope. |
order | Order | The latest order with an item of the listing, by creation time. Null before the buyer checks out, or when the caller cannot read the order by the rule of Query.order. Reading its fields needs the admin:orders:read scope. |
paymentStatus | OrderPaymentStatus! | The payment status of the latest order with an item of the listing, also when order is null for the caller. NOT_PAID before the buyer checks out. FAILED when the latest order was cancelled. |