Sales & CRM

Commerce

Explore the data types and operations available in Commerce.

222 types · Used in operation arguments and return values.

InvoiceLineIDScalar

Unique identifier for an invoice line

InvoiceLineSortInputInput

Sort input for invoice line queries

InvoiceLineStateObject

A line item on an invoice

InvoiceOrderInputInput

Input for `invoiceOrder`: raises an invoice for an order, mirroring every order line.

InvoiceOrderPayloadObject

Result of `invoiceOrder`: the newly raised invoice and its lines.

InvoiceSortInputInput

Sort input for invoice queries

InvoiceStateObject

An invoice document for billing a customer

IssueCreditNoteInputInput

Input for `issueCreditNote`: credits an invoice in full, or in part when explicit lines are supplied.

IssueCreditNotePayloadObject

Result of `issueCreditNote`: the new credit note, its lines, and the credited invoice.

JSONScalar

Arbitrary 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.

MagicQueryInfoObject

A discoverable Magic Query noun and its accepted options.

MagicQueryOperationObject

The real GraphQL operation + variables a Magic Query resolves to.

MagicQuerySchemaObject

Input (JSON Schema) and output (introspection) contract for a Magic Query noun.

OrderConnectionObject

Paginated list of orders

OrderFilterInputInput

Filter input for order queries

OrderFulfillmentCompletionObject

Current fulfillment assessment, independent of recorded order status

OrderIDScalar

Unique identifier for an order

OrderLifecyclePayloadObject

Everything 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.

OrderLineConnectionObject

Paginated list of order lines

OrderLineFilterInputInput

Filter input for order line queries

OrderLineIDScalar

Unique identifier for an order line

OrderLineSortInputInput

Sort input for order line queries

OrderLineStateObject

A line item within an order

OrderSortInputInput

Sort input for order queries

OrderStateObject

A customer order

OTCRecordPaymentInputInput

Input for `recordPayment`: writes a payment ledger row against an invoice and rolls the payment up onto that invoice and its order.

OTCRecordPaymentPayloadObject

Result of `recordPayment`: the payment ledger row, plus the updated invoice and, where linked, its order.

PaymentConnectionObject

Paginated list of payments

PaymentFilterInputInput

Filter input for payment queries

PaymentIDScalar

Unique identifier for a payment

PaymentSortInputInput

Sort input for payment queries

PaymentStateObject

A ledger entry recording a payment received against an invoice

PriceBracketConnectionObject

Paginated list of price brackets

PriceBracketFilterInputInput

Filter input for price bracket queries

PriceBracketIDScalar

Unique identifier for a price bracket

PriceBracketSortInputInput

Sort input for price bracket queries

PriceBracketStateObject

A quantity-band pricing rule for a specific scope

ProductConnectionObject

A paginated connection of products

ProductFilterInputInput

Filter input for product queries

ProductIDScalar

Unique identifier for a product

ProductSortInputInput

Sort input for product queries

ProductStateObject

A 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.

PurchaseOrderConnectionObject

A paginated connection of purchase orders

PurchaseOrderFilterInputInput

Filter input for purchase order queries

PurchaseOrderIDScalar

Unique identifier for a purchase order

PurchaseOrderLineConnectionObject

A paginated connection of purchase order lines

PurchaseOrderLineFilterInputInput

Filter input for purchase order line queries

PurchaseOrderLineIDScalar

Unique identifier for a purchase order line

PurchaseOrderLineSortInputInput

Sort input for purchase order line queries

PurchaseOrderLineStateObject

A line item within a purchase order