maindata
Queries
Section titled “Queries”- customers
- mainDataServiceInfo
- node — Fetches an object given its ID.
- nodes — Lookup nodes by a list of IDs.
- suppliers
Mutations
Section titled “Mutations”- createCustomer
- createSupplier
- deleteCustomer
- deleteSupplier
- patchCustomerData — Apply RFC 6902 JSON Patch operations to the customer’s data field.
- patchSupplierData — Apply RFC 6902 JSON Patch operations to the supplier’s data field.
- updateCustomer
- updateSupplier
Entities
Section titled “Entities”| Type | Key |
|---|---|
| Customer | id |
| PickingOrder | customerID tenantID |
| Supplier | id |
Fields on shared types
Section titled “Fields on shared types”| Type | Fields |
|---|---|
| Customer | dataTypeID, dataTypeSlug, data, createdAt, createdBy, updatedAt, updatedBy, deletedAt, deletedBy |
| PickingOrder | customerID, customer |
| Supplier | dataTypeID, dataTypeSlug, data, createdAt, createdBy, updatedAt, updatedBy, deletedAt, deletedBy |
- Customer
- CustomerConnection — A connection to a list of items.
- CustomerDeletePayload
- CustomerEdge — An edge in a connection.
- EntityEventsOutbox
- PageInfo — Information about pagination in a connection.
- PickingOrder
- ServiceInfo
- Supplier
- SupplierConnection — A connection to a list of items.
- SupplierDeletePayload
- SupplierEdge — An edge in a connection.
Interfaces
Section titled “Interfaces”- Node — An object with an ID.
Inputs
Section titled “Inputs”- CreateCustomerInput — CreateCustomerInput is used for create Customer object.
- CreateSupplierInput — CreateSupplierInput is used for create Supplier object.
- CustomerOrder — Ordering options for Customer connections
- CustomerWhereInput — CustomerWhereInput is used for filtering Customer objects.
- EntityEventsOutboxWhereInput — EntityEventsOutboxWhereInput is used for filtering EntityEventsOutbox objects.
- JSONPatchInput — A single RFC 6902 JSON Patch operation.
- SupplierOrder — Ordering options for Supplier connections
- SupplierWhereInput — SupplierWhereInput is used for filtering Supplier objects.
- UpdateCustomerInput — UpdateCustomerInput is used for update Customer object.
- UpdateSupplierInput — UpdateSupplierInput is used for update Supplier object.
- CustomerOrderField — Properties by which Customer connections can be ordered.
- JSONPatchOp — RFC 6902 JSON Patch operation type.
- JSONType — JSON type for casting extracted JSONB values during ordering.
- OrderDirection — Possible directions in which to order a list of items when provided an
orderByargument. - SupplierOrderField — Properties by which Supplier connections can be ordered.
Scalars
Section titled “Scalars”- Cursor — Define a Relay Cursor type: https://relay.dev/graphql/connections.htm#sec-Cursor
- Map — The builtin Map type
- Time — The builtin Time type
- UUID