Skip to main content

Order Object

Description

Represents a customer order with items, billing, shipping, and payment information.

Declaration

type Order {
_id: ID!
id: String!
incId: Int!
origin: String!
created: Date!
modified: Date!
shipping: Shipping!
billing: Billing!
orderId: String
notes: [Note!]!
instructions: String
totals: Totals!
items: [LineItem!]!
messages: [Message!]
buyer: CheckoutOrOrderBuyer
logs: [LogEntry!]!
seller: UserReference
updated: Date
status: String!
discogsStatus: String
buyerWasContacted: Boolean
unreadMessagesCount: Int
mergeableOrders: [OrderMergeable!]
path: String
}

Fields

NameTypeDescription
_idID!Internal database identifier.
idString!Order identifier string (e.g., "123456-789012").
incIdInt!Incremental numeric identifier assigned to the order.
originString!Origin of the order. Valid values include "Shop" (point-of-sale), "Online" (storefront), "Discogs" (marketplace), or "Bandcamp" (marketplace).
createdDate!Date when the order was created.
modifiedDate!Date when the order was last modified.
shippingShipping!Shipping information including address, method, status, and tracking.
billingBilling!Billing information including payment methods, status, and invoice details.
orderId ⚠️StringLegacy order identifier. Use the id field instead. ⚠️ Deprecated: No longer supported
notes[Note!]!Notes and comments added to the order.
instructionsStringSpecial instructions for processing or shipping the order.
totalsTotals!Financial totals including subtotals, taxes, shipping, discounts, and grand total.
items[LineItem!]!Line items included in the order.
messages[Message!]Messages in the order conversation thread between buyer and seller.
buyerCheckoutOrOrderBuyerBuyer information for the order.
logs[LogEntry!]!Historical log entries tracking changes and actions on the order.
sellerUserReferenceSeller or staff member who processed the order.
updatedDateDate when the order was last updated (synonym for modified).
statusString!Current status of the order. Valid values include "New Order", "Buyer Contacted", "Invoice Sent", "Payment Pending", "Payment Received", "Shipped", "Refund Sent", "Cancelled (Non-Paying Buyer)", "Cancelled (Item Unavailable)", "Cancelled (Per Buyer's Request)", "Merged", or "Quote".
discogsStatusStringStatus specific to orders from the marketplace system. Used when origin is "Discogs".
buyerWasContactedBooleanWhether the buyer has been contacted regarding this order.
unreadMessagesCountIntNumber of unread messages in the order conversation thread.
mergeableOrders[OrderMergeable!]List of orders that can be merged with this order.
pathStringURL path to the order page.