Function users/import
<aside>
🆕
users[i].note — note form manager about the customer, for inner use only
</aside>
Query parameters:
- token - authorization key obtained through the auth function
- users - users list for import
- users[i].title - user full name (mandatory field)
- users[i].email - user email (mandatory, unique field)
- users[i].phone - phone number (with country code)
- users[i].country - user's default delivery country (not used if country selection at checkout is disabled)
- users[i].city - user's default delivery city
- users[i].address - user's default delivery address
- users[i].newsletter_subscription - consent to receive newsletters (0 - no, 1 - yes)
- users[i].discount_card - user's personalized discount
- users[i].discount_card.discount - discount amount (%)
- users[i].discount_card.active - enable/disable personal discount
- users[i].discount_card.date_limit - discount validity period (Format YYYYY-MM-DD)
- users[i].discount_card.status - discount status
- 1 - confirmed
- 2 - pending confirmation
- 3 - rejected
- users[i].note — note about the customer
<aside>
ℹ️ Parameters for Cartum b2b
</aside>
- users[i].customer_group_id - ID of the customer group to which the user belongs
- users[i].balance - the amount of the user's balance, may be negative
- users[i].balance_currency - user balance currency
- users[i].manager_id- ID of the store manager assigned to the user