Pay types
Type definitions referenced by Pay queries and mutations.
BankDetailsInput
Section titled “BankDetailsInput”Input object. Full bank details for wire/EFT payouts. WRITE-ONLY: sealed with libsodium secretbox before persistence and never returned by any query. Provide account_number (with routing_number for domestic EFT/wire) or iban (with swift_bic for international wires).
| Field | Type | Description |
|---|---|---|
account_holder |
String! |
— |
bank_name |
String |
— |
account_number |
String |
— |
routing_number |
String |
— |
iban |
String |
— |
swift_bic |
String |
— |
country |
String |
2-letter ISO 3166-1 country code of the bank. |
BillPayment
Section titled “BillPayment”Object.
| Field | Type | Description |
|---|---|---|
id |
Int! |
— |
uuid |
String! |
— |
supplier |
Supplier! |
— |
supplier_uuid |
String! |
— |
purchase_order |
PurchaseOrderRef |
Purchase order this payment settles, if any. |
amount |
Int! |
Amount in integer minor units. |
currency |
String! |
ISO 4217 currency code (3 letters). |
method |
String! |
One of: wire, eft. |
status |
String! |
One of: pending, processing, sent, failed, cancelled. |
reference |
String! |
Human/bank reference, e.g. BP-9F3A6C21. |
memo |
String |
— |
initiated_by |
String! |
Auth-user uuid of the member who created the payment. |
provider_transfer_ref |
String |
Payout-gateway transfer reference once submitted. |
failure_reason |
String |
— |
submitted_at |
String |
— |
sent_at |
String |
— |
cancelled_at |
String |
— |
created_at |
String! |
— |
updated_at |
String! |
— |
BillPaymentConnection
Section titled “BillPaymentConnection”Object.
| Field | Type | Description |
|---|---|---|
edges |
[BillPaymentEdge!]! |
— |
pageInfo |
PageInfo! |
— |
totalCount |
Int! |
— |
BillPaymentEdge
Section titled “BillPaymentEdge”Object.
| Field | Type | Description |
|---|---|---|
node |
BillPayment! |
— |
cursor |
String! |
— |
BillPaymentFilter
Section titled “BillPaymentFilter”Input object.
| Field | Type | Description |
|---|---|---|
status |
String |
One of: pending, processing, sent, failed, cancelled. |
supplierId |
String |
Supplier uuid. |
Boolean
Section titled “Boolean”Scalar. The Boolean scalar type represents true or false.
ChargeSavedMethodInput
Section titled “ChargeSavedMethodInput”Input object.
| Field | Type | Description |
|---|---|---|
customer_id |
String! |
Customer uuid the vaulted method belongs to. |
payment_method_id |
String |
Vaulted method uuid; omitted = most recently added method. |
amount |
Int! |
Charge amount in integer minor units. |
currency |
String! |
ISO 4217 currency code. |
idempotency_key |
String! |
Caller-stable key; retries with the same key never double-charge. |
description |
String |
— |
CheckoutSession
Section titled “CheckoutSession”Object.
| Field | Type | Description |
|---|---|---|
id |
Int! |
— |
uuid |
String! |
— |
token |
String! |
Signed single-purpose token embedded in the public URL. |
url |
String! |
Public URL: ${CHECKOUT_BASE_URL}/checkout/<token>. |
status |
String! |
One of: open, completed, expired. |
amount |
Int! |
Amount to collect, minor units. |
currency |
String! |
ISO 4217 currency code (3 letters). |
allowed_methods |
JSON! |
Methods the payer may choose from, e.g. [“card”, “bank_transfer”]. |
invoice_uuid |
String |
— |
expires_at |
String! |
— |
completed_at |
String |
— |
created_at |
String! |
— |
CheckoutShippingInput
Section titled “CheckoutShippingInput”Input object. Makes the public checkout collect an address + shipping rate before payment.
| Field | Type | Description |
|---|---|---|
requiresShipping |
Boolean! |
— |
parcels |
[ParcelInput!] |
— |
sourceRef |
String |
Forwarded to shipping as sourceRef, e.g. shop:order:<uuid>. |
goodsSubtotal |
Int |
Goods subtotal (minor units) used to gate custom flat rates; defaults to the item-line subtotal. |
ConnectPaymentProviderInput
Section titled “ConnectPaymentProviderInput”Input object.
| Field | Type | Description |
|---|---|---|
provider |
String! |
— |
mode |
String |
— |
account_label |
String |
— |
credentials |
JSON! |
Provider-specific write-only credential object. |
is_default |
Boolean |
— |
CreateBillPaymentInput
Section titled “CreateBillPaymentInput”Input object.
| Field | Type | Description |
|---|---|---|
supplierId |
String! |
Supplier uuid (must have bank details on file). |
amount |
Int! |
Positive integer minor units. |
currency |
String! |
ISO 4217 currency code (3 letters). |
method |
String! |
One of: wire, eft. |
memo |
String |
— |
idempotencyKey |
String |
Optional client idempotency key — retries return the original payment. |
purchase_order_id |
String |
Optional purchase order uuid this payment settles. Must belong to the same organization + supplier, share the payment currency, be ordered or received, and amount must not exceed its outstanding balance. |
CreateCrmCustomerInput
Section titled “CreateCrmCustomerInput”Input object.
| Field | Type | Description |
|---|---|---|
email |
String! |
Business email of the contact (required — the invoice’s billing address). |
firstName |
String |
— |
lastName |
String |
— |
companyName |
String |
Explicit company name; otherwise a company is inferred from a business domain. |
website |
String |
— |
segmentUuid |
ID |
Optional STATIC CRM segment for a new contact; CRM uses the org default segment when omitted. |
CreateInvoiceInput
Section titled “CreateInvoiceInput”Input object.
| Field | Type | Description |
|---|---|---|
customerId |
String |
Existing billing customer uuid. Provide this OR a CRM company/contact. |
crmCompanyUuid |
ID |
CRM company uuid to bill (projected into a local billing customer). |
crmContactUuid |
ID |
CRM contact uuid to bill (projected into a local billing customer). |
currency |
String! |
ISO 4217 currency code (3 letters). |
line_items |
[LineItemInput!]! |
— |
due_date |
String |
ISO-8601 date (YYYY-MM-DD). |
notes |
String |
— |
requires_shipping |
Boolean |
Require the payer to choose a shipping rate in checkout before paying. |
parcels |
[ParcelInput!] |
Parcel spec for shipping quotes. |
shipping_source_ref |
String |
sourceRef forwarded to shipping (max 191 chars). |
CrmCompany
Section titled “CrmCompany”Object.
| Field | Type | Description |
|---|---|---|
uuid |
ID! |
— |
name |
String! |
— |
domains |
[String!]! |
— |
website |
String |
— |
industry |
String |
— |
size |
String |
— |
CrmContact
Section titled “CrmContact”Object.
| Field | Type | Description |
|---|---|---|
uuid |
ID! |
— |
displayName |
String! |
— |
primaryEmail |
String |
— |
title |
String |
— |
company |
CrmCompany |
— |
CrmCustomer
Section titled “CrmCustomer”Object.
| Field | Type | Description |
|---|---|---|
company |
CrmCompany |
— |
contact |
CrmContact! |
— |
CrmSegment
Section titled “CrmSegment”Object. A static CRM segment a new contact can be placed into.
| Field | Type | Description |
|---|---|---|
uuid |
ID! |
— |
name |
String! |
— |
isDefault |
Boolean! |
True for the organization’s default segment (used when none is chosen). |
Customer
Section titled “Customer”Object.
| Field | Type | Description |
|---|---|---|
id |
Int! |
— |
uuid |
String! |
— |
name |
String! |
— |
email |
String! |
— |
tax_ids |
JSON |
Tax identifiers, e.g. [{“type”: “VAT”, “value”: “GB123456789”}]. |
auth_user_uuid |
String |
Optional link to an auth-service identity (uuid) for portal access. |
crm_company_uuid |
String |
Linked CRM company uuid, when this billing profile projects a CRM record. |
crm_contact_uuid |
String |
Linked CRM contact uuid, when this billing profile projects a CRM record. |
source_app |
String! |
App that owns this customer record (pay, billing, …); the CRM contact is tagged source:<app>. |
psp_customer_id |
String |
PSP-side customer reference (created lazily, e.g. for bank transfers). |
payment_method_tokens |
[PaymentMethodToken!]! |
Saved PSP payment-method tokens — references only, never raw card data. |
created_at |
String! |
— |
updated_at |
String! |
— |
CustomerConnection
Section titled “CustomerConnection”Object.
| Field | Type | Description |
|---|---|---|
edges |
[CustomerEdge!]! |
— |
pageInfo |
PageInfo! |
— |
totalCount |
Int! |
— |
CustomerEdge
Section titled “CustomerEdge”Object.
| Field | Type | Description |
|---|---|---|
node |
Customer! |
— |
cursor |
String! |
— |
CustomerFilter
Section titled “CustomerFilter”Input object.
| Field | Type | Description |
|---|---|---|
search |
String |
Substring match on name or email. |
CustomerInput
Section titled “CustomerInput”Input object.
| Field | Type | Description |
|---|---|---|
name |
String |
— |
email |
String |
— |
tax_ids |
JSON |
— |
auth_user_uuid |
String |
— |
source_app |
String |
App that owns this customer (create only; default “pay”). Tags the mapped CRM contact source:\<app\> — billing sends “billing” for GistLink subscribers vaulted in the suite operator org. Ignored on update. |
Scalar. The ID scalar type represents a unique identifier, often used to refetch an object or as key for a cache. The ID type appears in a JSON response as a String; however, it is not intended to be human-readable. When expected as an input type, any string (such as "4") or integer (such as 4) input value will be accepted as an ID.
Scalar. The Int scalar type represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1.
Invoice
Section titled “Invoice”Object.
| Field | Type | Description |
|---|---|---|
id |
Int! |
— |
uuid |
String! |
— |
number |
String! |
Human-readable per-organization sequential number, e.g. INV-000042. |
status |
String! |
One of: draft, open, paid, void, uncollectible. |
currency |
String! |
ISO 4217 currency code (3 letters). |
customer |
Customer! |
— |
line_items |
[LineItem!]! |
— |
subtotal |
Int! |
Sum of line amounts, minor units. |
tax_total |
Int! |
Sum of per-line tax (half-up rounding), minor units. |
total |
Int! |
subtotal + tax_total, minor units. |
amount_paid |
Int! |
Total successfully paid so far, minor units. |
due_date |
String |
ISO-8601 date the invoice is due (nullable for drafts). |
notes |
String |
— |
public_token |
String! |
Public receipt/reference token (not the checkout-session token). |
checkout_url |
String |
Public checkout URL of the newest open checkout session, if any. |
requires_shipping |
Boolean! |
True when the payer must pick a shipping rate in checkout before paying. |
shipping_address |
ShippingAddress |
— |
parcels |
[Parcel!]! |
Parcel spec used for rate quotes. |
shipping_source_ref |
String |
sourceRef forwarded to shipping (e.g. shop:order:<uuid>); null = pay:invoice:<uuid>. |
shipping_line |
LineItem |
The invoice’s shipping line (also present in line_items), if any. |
sent_at |
String |
— |
paid_at |
String |
— |
voided_at |
String |
— |
created_at |
String! |
— |
updated_at |
String! |
— |
InvoiceConnection
Section titled “InvoiceConnection”Object.
| Field | Type | Description |
|---|---|---|
edges |
[InvoiceEdge!]! |
— |
pageInfo |
PageInfo! |
— |
totalCount |
Int! |
— |
InvoiceEdge
Section titled “InvoiceEdge”Object.
| Field | Type | Description |
|---|---|---|
node |
Invoice! |
— |
cursor |
String! |
— |
InvoiceFilter
Section titled “InvoiceFilter”Input object.
| Field | Type | Description |
|---|---|---|
status |
String |
One of: draft, open, paid, void, uncollectible. |
customerId |
String |
Customer uuid. |
crmCompanyUuid |
ID |
CRM company uuid — matches invoices for that company’s billing customer. |
currency |
String |
ISO 4217 currency code. |
search |
String |
Substring match on invoice number or customer name/email. |
InvoiceShippingQuote
Section titled “InvoiceShippingQuote”Object.
| Field | Type | Description |
|---|---|---|
shipment_uuid |
String |
— |
rates |
[ShippingRateQuote!]! |
— |
messages |
[String!]! |
Carrier skips/errors (never fatal). |
invoice |
Invoice! |
— |
Scalar. Arbitrary JSON value (objects, arrays, scalars). Serialized as-is.
LineItem
Section titled “LineItem”Object.
| Field | Type | Description |
|---|---|---|
id |
Int! |
— |
uuid |
String! |
— |
description |
String! |
— |
quantity |
Int! |
— |
unit_amount |
Int! |
Unit price in integer minor units. |
tax_rate_bps |
Int! |
Tax rate in basis points (e.g. 2000 = 20.00%). |
amount |
Int! |
quantity * unit_amount, minor units. |
tax_amount |
Int! |
Tax for this line, minor units, rounded half-up. |
total_amount |
Int! |
amount + tax_amount, minor units. |
shop_variant_uuid |
String |
Shop catalog variant this line was picked from (reference only; description/price are snapshots). |
sku |
String |
SKU snapshot taken when the line was saved. |
kind |
String! |
item | shipping |
shipping |
LineItemShipping |
Rate snapshot for kind = shipping (null for items). |
LineItemInput
Section titled “LineItemInput”Input object.
| Field | Type | Description |
|---|---|---|
description |
String! |
— |
quantity |
Int! |
— |
unit_amount |
Int! |
— |
tax_rate_bps |
Int |
Basis points. OMIT (or pass null) to apply the organization’s automatic tax (configured tax rates, or the external tax service when enabled). Pass an explicit 0 for a deliberately untaxed line. |
shop_variant_uuid |
String |
Optional shop catalog variant uuid (from shopProducts) this line was picked from. |
sku |
String |
Optional SKU snapshot (max 128 chars). |
LineItemShipping
Section titled “LineItemShipping”Object. Shipping-service rate snapshot carried by a shipping line.
| Field | Type | Description |
|---|---|---|
shipment_uuid |
String |
— |
rate_uuid |
String |
— |
carrier |
String |
— |
carrier_name |
String |
— |
service_level |
String |
— |
service_name |
String |
— |
estimated_days |
Int |
— |
PageInfo
Section titled “PageInfo”Object.
| Field | Type | Description |
|---|---|---|
hasNextPage |
Boolean! |
— |
hasPreviousPage |
Boolean! |
— |
startCursor |
String |
— |
endCursor |
String |
— |
Parcel
Section titled “Parcel”Object.
| Field | Type | Description |
|---|---|---|
lengthMm |
Int! |
— |
widthMm |
Int! |
— |
heightMm |
Int! |
— |
weightGrams |
Int! |
— |
ParcelInput
Section titled “ParcelInput”Input object.
| Field | Type | Description |
|---|---|---|
lengthMm |
Int! |
— |
widthMm |
Int! |
— |
heightMm |
Int! |
— |
weightGrams |
Int! |
— |
PayCustomerStats
Section titled “PayCustomerStats”Object. Aggregated invoice stats for one customer email.
| Field | Type | Description |
|---|---|---|
email |
String! |
Lower-cased customer email. |
invoices_count |
Int! |
Issued invoices (open, paid, uncollectible) across all currencies. |
paid_total_minor |
Int! |
SUM(amount_paid) in currency, minor units (includes partial payments). |
outstanding_minor |
Int! |
SUM(total - amount_paid) of OPEN invoices in currency, minor units. |
currency |
String |
Dominant ISO 4217 currency (most invoices); null when no issued invoices. |
last_paid_at |
String |
Latest paid_at across all currencies (ISO-8601). |
Payment
Section titled “Payment”Object.
| Field | Type | Description |
|---|---|---|
id |
Int! |
— |
uuid |
String! |
— |
amount |
Int! |
Amount in integer minor units. |
currency |
String! |
ISO 4217 currency code (3 letters). |
method |
String! |
One of: card, bank_transfer. |
status |
String! |
One of: requires_action, pending, succeeded, failed, refunded. |
psp_payment_intent_id |
String |
PSP payment-intent reference (e.g. pi_…). |
psp_charge_id |
String |
PSP charge reference once settled. |
provider |
String |
Merchant-owned processor that handled this payment. |
idempotency_key |
String |
Idempotency key used against the PSP for this payment. |
failure_reason |
String |
— |
invoice_uuid |
String |
— |
checkout_session_uuid |
String |
— |
amount_refunded |
Int! |
Sum of succeeded refunds, minor units. |
refunds |
[Refund!]! |
— |
created_at |
String! |
— |
updated_at |
String! |
— |
PaymentConnection
Section titled “PaymentConnection”Object.
| Field | Type | Description |
|---|---|---|
edges |
[PaymentEdge!]! |
— |
pageInfo |
PageInfo! |
— |
totalCount |
Int! |
— |
PaymentEdge
Section titled “PaymentEdge”Object.
| Field | Type | Description |
|---|---|---|
node |
Payment! |
— |
cursor |
String! |
— |
PaymentFilter
Section titled “PaymentFilter”Input object.
| Field | Type | Description |
|---|---|---|
status |
String |
One of: requires_action, pending, succeeded, failed, refunded. |
method |
String |
One of: card, bank_transfer. |
invoiceId |
String |
Invoice uuid. |
crmCompanyUuid |
ID |
CRM company uuid — matches payments for that company’s billing customer. |
PaymentMethodSetup
Section titled “PaymentMethodSetup”Object. Everything the caller’s frontend needs to render an embedded card form.
| Field | Type | Description |
|---|---|---|
setup_ref |
String! |
PSP setup-intent reference — pass back to completePaymentMethodSetup. |
client_secret |
String! |
PSP client secret for the embedded payment element. |
publishable_key |
String! |
Browser-safe PSP key (e.g. Stripe publishable key). |
provider |
String! |
Processor code, e.g. stripe. |
PaymentMethodToken
Section titled “PaymentMethodToken”Object.
| Field | Type | Description |
|---|---|---|
id |
Int! |
— |
uuid |
String! |
— |
type |
String! |
One of: card, bank_transfer. |
psp_token |
String! |
PSP payment-method reference (e.g. pm_…). |
brand |
String |
Card brand when type = card (visa, mastercard, …). |
last4 |
String |
Last 4 digits for display — the only card-derived data ever stored. |
exp_month |
Int |
— |
exp_year |
Int |
— |
created_at |
String! |
— |
PaymentProviderConnection
Section titled “PaymentProviderConnection”Object.
| Field | Type | Description |
|---|---|---|
id |
Int! |
— |
uuid |
String! |
— |
provider |
String! |
— |
mode |
String! |
sandbox or live |
account_label |
String |
— |
configured_fields |
JSON! |
Names only; credential values are never returned. |
has_credentials |
Boolean! |
— |
enabled |
Boolean! |
— |
is_default |
Boolean! |
— |
status |
String! |
credentials_saved means encrypted credentials are present, not that the processor verified them. |
connected_at |
String! |
— |
created_at |
String! |
— |
updated_at |
String! |
— |
PaymentProviderDefinition
Section titled “PaymentProviderDefinition”Object.
| Field | Type | Description |
|---|---|---|
code |
String! |
— |
name |
String! |
— |
description |
String! |
— |
color |
String! |
— |
capabilities |
JSON! |
— |
credential_fields |
JSON! |
— |
PurchaseOrder
Section titled “PurchaseOrder”Object.
| Field | Type | Description |
|---|---|---|
id |
Int! |
— |
uuid |
String! |
— |
number |
String! |
Per-organization sequential number, e.g. PO-000123. |
status |
String! |
One of: draft, ordered, received, cancelled. |
supplier |
Supplier! |
— |
supplier_uuid |
String! |
— |
currency |
String! |
ISO 4217 currency code (defaults to the supplier’s currency). |
shop_location_uuid |
String |
Shop location that receives the stock; null = shop’s default location. |
shop_location_name |
String |
Location name snapshot. |
expected_at |
String |
Expected delivery date (YYYY-MM-DD). |
notes |
String |
— |
lines |
[PurchaseOrderLine!]! |
— |
subtotal |
Int! |
Sum of line totals, minor units. |
total |
Int! |
subtotal (no tax on purchase orders yet), minor units. |
total_units |
Int! |
Total units across all lines. |
amount_paid |
Int! |
Sum of linked pending/processing/sent bill payments (failed/cancelled excluded), minor units. |
amount_outstanding |
Int! |
max(0, total - amount_paid), minor units. |
bill_payments |
[BillPayment!]! |
— |
inventory_status |
String! |
One of: not_requested, pending, synced, failed. |
inventory_error |
String |
Last shop inventory error when inventory_status = failed. |
shop_receipt_uuid |
String |
Shop inventory receipt uuid once synced. |
created_by |
String! |
Auth-user uuid of the member who created the purchase order. |
ordered_at |
String |
— |
received_at |
String |
— |
cancelled_at |
String |
— |
created_at |
String! |
— |
updated_at |
String! |
— |
PurchaseOrderConnection
Section titled “PurchaseOrderConnection”Object.
| Field | Type | Description |
|---|---|---|
edges |
[PurchaseOrderEdge!]! |
— |
pageInfo |
PageInfo! |
— |
totalCount |
Int! |
— |
PurchaseOrderEdge
Section titled “PurchaseOrderEdge”Object.
| Field | Type | Description |
|---|---|---|
node |
PurchaseOrder! |
— |
cursor |
String! |
— |
PurchaseOrderFilter
Section titled “PurchaseOrderFilter”Input object.
| Field | Type | Description |
|---|---|---|
status |
String |
One of: draft, ordered, received, cancelled. |
supplierId |
String |
Supplier uuid. |
search |
String |
Substring match on PO number, supplier name, or notes. |
PurchaseOrderInput
Section titled “PurchaseOrderInput”Input object.
| Field | Type | Description |
|---|---|---|
supplier_id |
String |
Supplier uuid; required on create. |
currency |
String |
ISO 4217; defaults to the supplier’s currency on create. |
shop_location_uuid |
String |
Shop location uuid (from shopLocations); empty = shop’s default location. |
expected_at |
String |
Expected delivery date (YYYY-MM-DD); empty clears it. |
notes |
String |
— |
lines |
[PurchaseOrderLineInput!] |
Required on create; when present on update, REPLACES every line. |
PurchaseOrderLine
Section titled “PurchaseOrderLine”Object.
| Field | Type | Description |
|---|---|---|
id |
Int! |
— |
uuid |
String! |
— |
shop_variant_uuid |
String! |
— |
title |
String! |
Product title snapshot from shop. |
sku |
String |
SKU snapshot from shop. |
quantity |
Int! |
— |
unit_cost |
Int! |
Unit cost in integer minor units. |
line_total |
Int! |
quantity * unit_cost, minor units. |
position |
Int! |
— |
PurchaseOrderLineInput
Section titled “PurchaseOrderLineInput”Input object.
| Field | Type | Description |
|---|---|---|
shop_variant_uuid |
String! |
Shop catalog variant uuid (from shopProducts). |
quantity |
Int! |
Whole units, > 0. |
unit_cost |
Int! |
Unit cost in integer minor units, >= 0. |
PurchaseOrderRef
Section titled “PurchaseOrderRef”Object. Compact purchase-order reference (e.g. on a bill payment).
| Field | Type | Description |
|---|---|---|
id |
Int! |
— |
uuid |
String! |
— |
number |
String! |
— |
status |
String! |
— |
QuoteInvoiceShippingInput
Section titled “QuoteInvoiceShippingInput”Input object.
| Field | Type | Description |
|---|---|---|
address |
ShippingAddressInput! |
— |
parcels |
[ParcelInput!] |
Replaces the invoice’s parcel spec; omit to reuse it (default box when none). |
Refund
Section titled “Refund”Object.
| Field | Type | Description |
|---|---|---|
id |
Int! |
— |
uuid |
String! |
— |
payment_uuid |
String! |
— |
amount |
Int! |
Refunded amount in integer minor units. |
currency |
String! |
ISO 4217 currency code (3 letters). |
reason |
String |
— |
status |
String! |
One of: pending, succeeded, failed. |
psp_refund_id |
String |
PSP refund reference (e.g. re_…). |
created_at |
String! |
— |
updated_at |
String! |
— |
RefundConnection
Section titled “RefundConnection”Object.
| Field | Type | Description |
|---|---|---|
edges |
[RefundEdge!]! |
— |
pageInfo |
PageInfo! |
— |
totalCount |
Int! |
— |
RefundEdge
Section titled “RefundEdge”Object.
| Field | Type | Description |
|---|---|---|
node |
Refund! |
— |
cursor |
String! |
— |
ShippingAddress
Section titled “ShippingAddress”Object.
| Field | Type | Description |
|---|---|---|
name |
String |
— |
company |
String |
— |
line1 |
String! |
— |
line2 |
String |
— |
city |
String! |
— |
region |
String |
— |
postalCode |
String |
— |
country |
String! |
— |
phone |
String |
— |
email |
String |
— |
residential |
Boolean |
— |
ShippingAddressInput
Section titled “ShippingAddressInput”Input object.
| Field | Type | Description |
|---|---|---|
name |
String |
— |
company |
String |
— |
line1 |
String! |
— |
line2 |
String |
— |
city |
String! |
— |
region |
String |
— |
postalCode |
String |
— |
country |
String! |
— |
phone |
String |
— |
email |
String |
— |
residential |
Boolean |
— |
ShippingRateQuote
Section titled “ShippingRateQuote”Object. A quoted rate (persisted in shipping; integer minor units).
| Field | Type | Description |
|---|---|---|
uuid |
String! |
— |
carrier |
String! |
— |
carrier_name |
String! |
— |
service_level |
String! |
— |
service_name |
String! |
— |
amount |
Int! |
— |
currency |
String! |
— |
estimated_days |
Int |
— |
attributes |
[String!]! |
cheapest | fastest | best_value |
expires_at |
String |
— |
ShopLocation
Section titled “ShopLocation”Object.
| Field | Type | Description |
|---|---|---|
uuid |
String! |
— |
name |
String! |
— |
ShopProduct
Section titled “ShopProduct”Object. A sellable shop catalog variant.
| Field | Type | Description |
|---|---|---|
variant_uuid |
String! |
— |
product_uuid |
String! |
— |
title |
String! |
Product + variant title. |
sku |
String |
— |
price |
Int! |
Selling price in integer minor units. |
currency |
String! |
ISO 4217 currency code. |
on_hand |
Int! |
Units on hand across locations (0 when untracked). |
tracked |
Boolean! |
Whether shop tracks inventory for this variant. |
SortInput
Section titled “SortInput”Input object.
| Field | Type | Description |
|---|---|---|
field |
String! |
Entity field to sort by (created_at, number, total, due_date, …). |
direction |
String |
ASC or DESC. |
String
Section titled “String”Scalar. The String scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
Supplier
Section titled “Supplier”Object.
| Field | Type | Description |
|---|---|---|
id |
Int! |
— |
uuid |
String! |
— |
name |
String! |
— |
email |
String |
— |
address |
JSON |
Structured address, e.g. {line1, city, postal_code, country}. |
currency |
String! |
Default payout currency (ISO 4217). |
has_bank_details |
Boolean! |
True once bank details are on file (stored encrypted; never readable). |
bank_name |
String |
Bank display name — non-sensitive. |
bank_country |
String |
2-letter ISO 3166-1 country of the bank — non-sensitive. |
account_last4 |
String |
Last 4 of the account number / IBAN, for display only. |
created_at |
String! |
— |
updated_at |
String! |
— |
SupplierConnection
Section titled “SupplierConnection”Object.
| Field | Type | Description |
|---|---|---|
edges |
[SupplierEdge!]! |
— |
pageInfo |
PageInfo! |
— |
totalCount |
Int! |
— |
SupplierEdge
Section titled “SupplierEdge”Object.
| Field | Type | Description |
|---|---|---|
node |
Supplier! |
— |
cursor |
String! |
— |
SupplierFilter
Section titled “SupplierFilter”Input object.
| Field | Type | Description |
|---|---|---|
search |
String |
Substring match on name or email. |
SupplierInput
Section titled “SupplierInput”Input object.
| Field | Type | Description |
|---|---|---|
name |
String |
— |
email |
String |
— |
address |
JSON |
— |
currency |
String |
ISO 4217; required on create. |
bank_details |
BankDetailsInput |
When present, REPLACES the stored (encrypted) bank details wholesale. |
TaxRate
Section titled “TaxRate”Object.
| Field | Type | Description |
|---|---|---|
id |
Int! |
— |
uuid |
String! |
— |
name |
String! |
Display name, e.g. “VAT 20%”. |
rate_bps |
Int! |
Basis points (2000 = 20.00%). |
country |
String |
ISO 3166-1 alpha-2; null matches any country. |
region |
String |
Region/state/province; null matches any region. |
is_default |
Boolean! |
Included in the additive fallback set when no location rule matches. Multiple defaults are supported. |
active |
Boolean! |
— |
created_at |
String! |
— |
updated_at |
String! |
— |
TaxRateConnection
Section titled “TaxRateConnection”Object.
| Field | Type | Description |
|---|---|---|
edges |
[TaxRateEdge!]! |
— |
pageInfo |
PageInfo! |
— |
totalCount |
Int! |
— |
TaxRateEdge
Section titled “TaxRateEdge”Object.
| Field | Type | Description |
|---|---|---|
node |
TaxRate! |
— |
cursor |
String! |
— |
TaxRateFilter
Section titled “TaxRateFilter”Input object.
| Field | Type | Description |
|---|---|---|
search |
String |
Substring match on name, country, or region. |
active |
Boolean |
Filter by active flag. |
UpdateInvoiceInput
Section titled “UpdateInvoiceInput”Input object.
| Field | Type | Description |
|---|---|---|
customerId |
String |
— |
crmCompanyUuid |
ID |
— |
crmContactUuid |
ID |
— |
currency |
String |
— |
line_items |
[LineItemInput!] |
When present, REPLACES all existing item lines (the shipping line is kept). |
due_date |
String |
— |
notes |
String |
— |
requires_shipping |
Boolean |
— |
parcels |
[ParcelInput!] |
— |
shipping_source_ref |
String |
— |
UpdatePaymentProviderConnectionInput
Section titled “UpdatePaymentProviderConnectionInput”Input object.
| Field | Type | Description |
|---|---|---|
mode |
String |
— |
account_label |
String |
— |
enabled |
Boolean |
— |
is_default |
Boolean |
— |
credentials |
JSON |
When present, replaces the entire encrypted credential object. |