Function users/import
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].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
<aside>
ℹ️ Note
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
- users[i].site_link - string, a link to the user's website
- users[i].company - string, user's company name
- users[i].role - string, user's position in the company