/customers
List customers
Returns a paginated list of customers for the authenticated tenant. Sorted by customer number. ?modifiedSince= (ISO 8601 UTC datetime) returns records created or changed at or after that instant, and is the intended way to run an incremental sync.
Visa hela beskrivningen
A change anywhere inside the record counts: editing a line moves the parent's modifiedDate too, so no change can hide below the resource level. Deletions are not visible here: a deleted record is really gone, so it simply stops appearing, which is indistinguishable from "unchanged". Poll GET /preview/deletions?deletedSince= alongside this endpoint to learn what was removed.
Frågeparametrar
| Fält | Typ | Beskrivning |
|---|---|---|
search
|
string | Matches customer number, name, organisation number and email, case-insensitively and on partial words. |
isActive
|
boolean | Filters on whether the customer is active. Inactive customers cannot be placed on new orders. |
modifiedSince
|
string(date-time) | Returns only records created or changed at or after this instant (ISO 8601 UTC datetime). A change anywhere inside the record counts, including on its lines. |
page
|
integer | Page to return, 1-based. Default 1. |
pageSize
|
integer | Number of records per page. Default 50, max 200. |
Svar
PagedResult_PublicCustomerResponse
Paginerat svar: raderna nedan ligger i items[], omgivna av totalCount, page, pageSize, totalPages, hasPreviousPage och hasNextPage. Paginerad
| Fält | Typ | Beskrivning |
|---|---|---|
city
|
string · nullable | City name. Null if not set. |
countryCode
|
string · nullable | ISO 3166-1 alpha-2 country code, e.g. `SE`, `DE`, `NO`. Null if not set. |
createdDate
|
string(date-time) | UTC timestamp when the customer record was created. |
customerGroupCode
|
string · nullable | Code of the customer group this customer belongs to. Null if not set. |
customerGroupName
|
string · nullable | Name of the customer group this customer belongs to. Null if not set. |
customerNumber
|
string · nullable | Unique customer number — business key used in all URL references. |
defaultCurrencyCode
|
string · nullable | ISO 4217 currency code of the customer's default currency, e.g. `SEK`, `EUR`. Null if not set. |
deliveryTermCode
|
string · nullable | Code of the customer's default delivery term — usable as `deliveryTermCode` in order creation. Null if not set. |
deliveryTermName
|
string · nullable | Name of the customer's default delivery term. Null if not set. |
id
|
string(uuid) | Internal unique identifier (UUID v7). |
invoiceEmail
|
string · nullable | Primary email address for invoices and order confirmations. Null if not set. |
isActive
|
boolean | Whether the customer is active. Inactive customers cannot be used on new orders. |
links
|
Links | Hypermedia links for a public API resource. Exposed as a computed `links` property on the public response DTOs so that create and read responses carry the same self-reference — the canonical URL is derived from the business key already present on the DTO and can never drift from the route it points at. |
modifiedDate
|
string(date-time) · nullable | UTC timestamp of the last modification. Null if never modified after creation. |
name
|
string · nullable | Full company or person name. |
notes
|
string · nullable | Free-text internal notes (not visible to the customer). Null if not set. |
organizationNumber
|
string · nullable | Company registration number / org.nr, e.g. `5560001234`. Null if not set. |
paymentTermCode
|
string · nullable | Code of the customer's default payment term — usable as `paymentTermCode` in order creation. Null if not set. |
paymentTermName
|
string · nullable | Name of the customer's default payment term. Null if not set. |
phone
|
string · nullable | Primary phone number. Null if not set. |
postalCode
|
string · nullable | Postal / ZIP code. Null if not set. |
street1
|
string · nullable | Street address line 1. Null if not set. |
street2
|
string · nullable | Street address line 2 (suite, c/o, etc.). Null if not set. |
vatNumber
|
string · nullable | VAT registration number, e.g. `SE556000123401`. Null if not set. |
Standardfel:
401
403
Felhantering
Exempel
curl "https://api.erp.fluit.cloud/preview/customers" \
-H "X-Api-Key: fluit_live_sk_..."
{
"hasNextPage": true,
"hasPreviousPage": true,
"items": [
{
"city": "Stockholm",
"countryCode": "SE",
"createdDate": "2026-06-11T09:24:13.418",
"customerGroupCode": "STD",
"customerGroupName": "Retail",
"customerNumber": "CUST-001",
"defaultCurrencyCode": "SEK",
"deliveryTermCode": "STD",
"deliveryTermName": "DAP Stockholm",
"id": "0f8b2c1e-4d3a-4b7e-9f10-2a6c5d8e1b44",
"invoiceEmail": "order@acme.se",
"isActive": true,
"links": {
"self": "string"
},
"modifiedDate": "2026-06-11T09:24:13.418",
"name": "Acme AB",
"notes": "string",
"organizationNumber": "ABC-001",
"paymentTermCode": "STD",
"paymentTermName": "30 days net",
"phone": "+46 8 123 45 67",
"postalCode": "11122",
"street1": "Storgatan 1",
"street2": "string",
"vatNumber": "ABC-001"
}
],
"page": 1,
"pageSize": 50,
"totalCount": 137,
"totalPages": 3
}
Bas-URL https://api.erp.fluit.cloud/preview. Svarsexemplet är genererat ur schemat: formen stämmer, värdena är påhittade.