Sales & CRM
Commerce
Explore the data types and operations available in Commerce.
222 types · Used in operation arguments and return values.
Unique identifier for an invoice line
InvoiceLineSortInputInputSort input for invoice line queries
InvoiceLineStateObjectA line item on an invoice
InvoiceOrderInputInputInput for `invoiceOrder`: raises an invoice for an order, mirroring every order line.
InvoiceOrderPayloadObjectResult of `invoiceOrder`: the newly raised invoice and its lines.
InvoiceSortInputInputSort input for invoice queries
InvoiceStateObjectAn invoice document for billing a customer
IssueCreditNoteInputInputInput for `issueCreditNote`: credits an invoice in full, or in part when explicit lines are supplied.
IssueCreditNotePayloadObjectResult of `issueCreditNote`: the new credit note, its lines, and the credited invoice.
JSONScalarArbitrary JSON value (object, array, number, boolean, string, or null). Not introspectable — when the shape is known, prefer a typed `Type` registration. Numbers stored as numbers come back as numbers, not stringified.
MagicQueryInfoObjectA discoverable Magic Query noun and its accepted options.
MagicQueryOperationObjectThe real GraphQL operation + variables a Magic Query resolves to.
MagicQuerySchemaObjectInput (JSON Schema) and output (introspection) contract for a Magic Query noun.
OrderConnectionObjectPaginated list of orders
OrderFilterInputInputFilter input for order queries
OrderFulfillmentCompletionObjectCurrent fulfillment assessment, independent of recorded order status
OrderIDScalarUnique identifier for an order
OrderLifecyclePayloadObjectEverything hanging off a single order — the order itself, its lines, the estimate it came from, and the invoices, shipments and production jobs it produced — gathered in one round trip.
OrderLineConnectionObjectPaginated list of order lines
OrderLineFilterInputInputFilter input for order line queries
OrderLineIDScalarUnique identifier for an order line
OrderLineSortInputInputSort input for order line queries
OrderLineStateObjectA line item within an order
OrderSortInputInputSort input for order queries
OrderStateObjectA customer order
OTCRecordPaymentInputInputInput for `recordPayment`: writes a payment ledger row against an invoice and rolls the payment up onto that invoice and its order.
OTCRecordPaymentPayloadObjectResult of `recordPayment`: the payment ledger row, plus the updated invoice and, where linked, its order.
PaymentConnectionObjectPaginated list of payments
PaymentFilterInputInputFilter input for payment queries
PaymentIDScalarUnique identifier for a payment
PaymentSortInputInputSort input for payment queries
PaymentStateObjectA ledger entry recording a payment received against an invoice
PriceBracketConnectionObjectPaginated list of price brackets
PriceBracketFilterInputInputFilter input for price bracket queries
PriceBracketIDScalarUnique identifier for a price bracket
PriceBracketSortInputInputSort input for price bracket queries
PriceBracketStateObjectA quantity-band pricing rule for a specific scope
ProductConnectionObjectA paginated connection of products
ProductFilterInputInputFilter input for product queries
ProductIDScalarUnique identifier for a product
ProductSortInputInputSort input for product queries
ProductStateObjectA priced catalogue entry — what a customer is sold and charged for. Referenced by estimate and order lines, which take their price, quantity and kinds from it. Distinct from `product_template`, which is the manufacturing blueprint describing how a job is built: a product says what to charge, a template says what to make.
PurchaseOrderConnectionObjectA paginated connection of purchase orders
PurchaseOrderFilterInputInputFilter input for purchase order queries
PurchaseOrderIDScalarUnique identifier for a purchase order
PurchaseOrderLineConnectionObjectA paginated connection of purchase order lines
PurchaseOrderLineFilterInputInputFilter input for purchase order line queries
PurchaseOrderLineIDScalarUnique identifier for a purchase order line
PurchaseOrderLineSortInputInputSort input for purchase order line queries
PurchaseOrderLineStateObjectA line item within a purchase order