AddUserProfile

Adding a new user profile.

  • Input data type => object
  • Output data type => object

Input parameters

  1. _session_hash (string)
  2. Required. Session identifier (received during login - doLogin)

  3. sf_guard_user_id (integer)
  4. Required. User identifier.

  5. countries_id (integer)
  6. Required. Country identifier.

  7. is_billing (boolean)
  8. Information specifying whether the profile contains billing or delivery data.

  9. is_default (boolean)
  10. Information specifying whether the user profile is default.

  11. full_name (string)
  12. First and last name.

  13. address (string)
  14. Address.

  15. address_more (string)
  16. Continuation of the address.

  17. code (string)
  18. Postal code.

  19. town (string)
  20. City.

  21. phone (string)
  22. Phone number.

  23. company (string)
  24. Company name.

  25. vat_number (string)
  26. VAT number.

  27. name (string)
  28. Name. (Obsolete / backward compatibility)

  29. surname (string)
  30. Surname. (Obsolete / backward compatibility)

  31. street (string)
  32. Street. (Obsolete / backward compatibility)

  33. house (string)
  34. House number. (Obsolete / backward compatibility)

  35. flat (string)
  36. Flat number. (Legacy / backward compatibility)

Output Data

  1. id (integer)
  2. Identifier of the created user profile.