Schema reference
Every object, field, edge, search key, and sort key the HotWax Commerce OMS GraphQL API currently serves.
Generated from the schema definition in moqui-gql graphql/OmsSchema.gql.xml @ 0d2dd1b. This page is produced by a script from the schema itself, so it lists what the API serves today rather than what was planned. For how to read and page these objects, start with the GraphQL API overview and query examples.
Query roots
Single-record roots
Where a root accepts both an ID and an externalId, pass exactly one of them.
Collection roots
Every collection root accepts first/after for forward paging, last/before for backward paging, a query: filter string, and sortKey with reverse. A page size is required and is capped at 100.
orders
Returns a paged collection of Order.
Search keys
orderId, externalId, orderName, statusId, orderDate, productStoreId
Sort keys
ORDER_DATE, ORDER_NAME, GRAND_TOTAL, ORDER_ID
Sort enum
OrderSortKey
parties
Returns a paged collection of Party.
Search keys
partyId, externalId, firstName, lastName, roleTypeId
Sort keys
PARTY_ID, LAST_NAME
Sort enum
PartySortKey
shipments
Returns a paged collection of Shipment.
Search keys
shipmentId, statusId, originFacilityId, shipmentMethodTypeId, estimatedShipDate
Sort keys
SHIPPED_DATE, STATUS, SHIPMENT_ID
Sort enum
ShipmentSortKey
returns
Returns a paged collection of Return.
Search keys
returnId, statusId, fromPartyId, entryDate
Sort keys
RETURN_DATE, STATUS, RETURN_ID
Sort enum
ReturnSortKey
inventoryLevels
Returns a paged collection of InventoryLevel.
Search keys
productId, facilityId
Sort keys
PRODUCT_ID, FACILITY_ID
Sort enum
InventoryLevelSortKey
products
Returns a paged collection of Product.
Search keys
productId, productTypeId, primaryProductCategoryId, brandName
Sort keys
PRODUCT_NAME, PRODUCT_ID
Sort enum
ProductSortKey
facilities
Returns a paged collection of Facility.
Search keys
facilityId, facilityTypeId, externalId, parentFacilityId
Sort keys
FACILITY_NAME, FACILITY_ID
Sort enum
FacilitySortKey
Objects
Scalar fields are plain values. An object field returns one related record. A collection field is a paged connection and needs its own first:. A list field returns a bounded array with no cursors.
BillToCustomer
partyId
ID
scalar
—
firstName
String
scalar
—
lastName
String
scalar
—
Facility
facilityId
ID
scalar
—
facilityName
String
scalar
—
facilityTypeId
String
scalar
—
parentFacilityId
String
scalar
—
externalId
String
scalar
—
FacilityOriginAddress
facilityId
ID
scalar
—
address1
String
scalar
—
address2
String
scalar
—
city
String
scalar
—
postalCode
String
scalar
—
stateProvinceGeoId
String
scalar
—
countryGeoId
String
scalar
—
latitude
Decimal
scalar
—
longitude
Decimal
scalar
—
InventoryLevel
productId
ID
scalar
—
facilityId
ID
scalar
—
availableToPromise
Decimal
scalar
—
quantityOnHand
Decimal
scalar
—
Order
orderId
ID
scalar
—
orderName
String
scalar
—
externalId
String
scalar
—
statusId
String
scalar
—
orderDate
DateTime
scalar
—
grandTotal
Decimal
scalar
—
currencyUomId
String
scalar
—
productStoreId
String
scalar
—
orderItemCount
Int
scalar
—
paymentPreferences
[OrderPaymentPreference!]!
list
Bounded list of OrderPaymentPreference; optional first:.
OrderAdjustment
orderAdjustmentId
ID
scalar
—
orderAdjustmentTypeId
String
scalar
—
amount
Decimal
scalar
—
comments
String
scalar
—
OrderFacilityChange
orderFacilityChangeId
ID
scalar
—
shipGroupSeqId
String
scalar
—
fromFacilityId
String
scalar
—
facilityId
String
scalar
—
changeDatetime
DateTime
scalar
—
changeReasonEnumId
String
scalar
—
comments
String
scalar
—
OrderIdentification
orderIdentificationTypeId
ID
scalar
—
idValue
String
scalar
—
OrderItem
orderId
ID
scalar
—
orderItemSeqId
ID
scalar
—
productId
String
scalar
—
quantity
Int
scalar
—
unitPrice
Decimal
scalar
—
statusId
String
scalar
—
OrderPaymentPreference
orderPaymentPreferenceId
ID
scalar
—
paymentMethodTypeId
String
scalar
—
maxAmount
Decimal
scalar
—
statusId
String
scalar
—
OrderStatus
statusId
ID
scalar
—
statusDatetime
DateTime
scalar
—
orderItemSeqId
String
scalar
—
Party
partyId
ID
scalar
—
partyTypeId
String
scalar
—
roleTypeId
String
scalar
—
firstName
String
scalar
—
lastName
String
scalar
—
externalId
String
scalar
—
statusId
String
scalar
—
Product
productId
ID
scalar
—
productName
String
scalar
—
productTypeId
String
scalar
—
primaryProductCategoryId
String
scalar
—
brandName
String
scalar
—
Return
returnId
ID
scalar
—
statusId
String
scalar
—
returnHeaderTypeId
String
scalar
—
fromPartyId
String
scalar
—
entryDate
DateTime
scalar
—
externalId
String
scalar
—
currencyUomId
String
scalar
—
ShipGroup
shipGroupSeqId
ID
scalar
—
shipmentMethodTypeId
String
scalar
—
carrierPartyId
String
scalar
—
facilityId
String
scalar
—
contactMechId
String
scalar
—
facilityChangeHistory
OrderFacilityChange connection
collection
Paged; requires first:. Nodes are OrderFacilityChange.
Shipment
shipmentId
ID
scalar
—
shipmentTypeId
String
scalar
—
statusId
String
scalar
—
primaryOrderId
String
scalar
—
originFacilityId
String
scalar
—
destinationFacilityId
String
scalar
—
shipmentMethodTypeId
String
scalar
—
estimatedShipDate
DateTime
scalar
—
externalId
String
scalar
—
ShipmentMethodType
shipmentMethodTypeId
ID
scalar
—
description
String
scalar
—
Sort key enums
FacilitySortKey
FACILITY_NAME, FACILITY_ID
InventoryLevelSortKey
PRODUCT_ID, FACILITY_ID
OrderSortKey
ORDER_DATE, ORDER_NAME, GRAND_TOTAL, ORDER_ID
PartySortKey
PARTY_ID, LAST_NAME
ProductSortKey
PRODUCT_NAME, PRODUCT_ID
ReturnSortKey
RETURN_DATE, STATUS, RETURN_ID
ShipmentSortKey
SHIPPED_DATE, STATUS, SHIPMENT_ID
Custom scalars
DateTime
ISO-8601 timestamp, e.g. 2026-05-14T09:32:00Z
Decimal
Arbitrary-precision decimal serialized as a string, e.g. "129.00".
Pagination envelope
Every collection returns the same wrapper.
Last updated
Was this helpful?