CUSTOMER_USER
This page introduces the CSV-based import system for Customer Users in DJUST.
⚙️ Introduction
This job is designed to create and update Customer Users by connecting your system to DJUST via SFTP.
You can:
- Create and update Customer Users
- Assign users to one or more Accounts and Organisations
- Manage user groups, permissions, and active status
- Delete users from the platform
📂 Import model
CSV Structure
The CSV file must contain one row per Customer User.
TemplateYou can use the following spreadsheet as a template to structure your import:
📋 Fields
Field | Definition | Values available | Required for creation | Required for update | Editable | Default Value |
|---|---|---|---|---|---|---|
| Unique external identifier for the Customer User. | ✅ | ✅ | |||
| Civility / title of the user. |
| ✅ | ✅ | ✅ | |
| First name of the user. | ✅ | ✅ | ✅ | ||
| Last name of the user. | ✅ | ✅ | ✅ | ||
| Email address of the user. Used as login identifier. | Valid email format | ✅ | ✅ | ✅ | |
| Phone number of the user. | ✅ | ✅ | ✅ | ||
| Permission group(s) assigned to the user. Use |
| ✅ | ✅ | ✅ | |
| External Id(s) of the Account(s) the user belongs to. Use | Format: | ✅ | ✅ | ✅ | |
| External Id(s) of the Organisation(s) the user has access to. Use | Format: | ✅ | |||
| External Id of the user's main organisation. Must be one of the values listed in | ☑️ (Required if | ☑️ (Required if | ✅ | ||
| User's password. If empty on creation, a password is auto-generated and sent to the user. If empty on update, the existing password is preserved. | 8–255 characters, at least one lowercase letter, one uppercase letter, one digit, and one non-whitespace character. | ✅ | Auto-generated | ||
| Marks the user as inactive (cannot log in) without deleting the account. |
| ✅ | FALSE | ||
| Permanently deletes the user from DJUST and the identity provider. |
| ✅ | FALSE | ||
| External Id(s) of the Store(s) the user is attached to. Use Ignored if at least one store is selected in the job configuration. | Format: | ☑️ (Required in multi-store context and if no store is selected in the job configuration) | ☑️ (Required in multi-store context and if no store is selected in the job configuration) | ✅ | |
| Custom field value. Column name must follow the | Depending on the custom field type | ✅ |
Conditionally required
Required Custom FieldsAny custom fields configured as required in DJUST must also be included.
🧠 Key Business Rules
Identification & uniqueness
Customer User External Idmust be unique across all Customer Users in DJUST.Customer User Emailis used as the login identifier and must be unique.
Accounts & Organisations
- A user can belong to multiple Accounts (use
||as separator). Customer User Main Organisation Id, when provided, must be one of the values inCustomer User Organisation Ids.
Password handling
- On creation: if
Customer User Passwordis left empty, DJUST auto-generates a password. - On update: if
Customer User Passwordis left empty, the existing password is preserved (not modified). - Policy: 8–255 characters, at least one lowercase letter, one uppercase letter, one digit, and one non-whitespace character.
Activation & deletion
Customer User Inactive = TRUEdisables login but preserves the user record and its associations. Set toFALSEto reactivate.Customer User Delete = TRUEpermanently deletes the user.
Multi-store
- In a multi-store context, the Stores associated with each Customer User can be defined in two ways — the job configuration takes precedence over the CSV column:
- No store selected in the job configuration (default): the
Customer User Store Idscolumn from the CSV is used. Use||to assign multiple stores (e.g.store1||store2). - At least one store selected in the job configuration: every Customer User imported is associated with the stores defined in the job configuration. The
Customer User Store Idscolumn from the CSV is ignored (no error is raised on its values). Mono-store tenants are not affected by this behavior.
- No store selected in the job configuration (default): the
Best Practices✔️ Validate that all referenced Account, Organisation, and Store External Ids exist in DJUST before running the import.
✔️ Use a consistent and stable
Customer User External Idstrategy — it is the key used to match existing users for updates.✔️ Map required Custom Fields before running the import.
Updated about 2 hours ago
