AddUserProfile

Adding user's new profile.

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

Input parameters

  1. _session_hash (string)
  2. Required. Session identifier (obtained 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 indicating whether a profile contains billing data or delivery data.

  9. is_default (boolean)
  10. Information indicating whether a user's profile is default.

  11. full_name (string)
  12. Name and surname.

  13. address (string)
  14. Address.

  15. address_more (string)
  16. Address more.

  17. code (string)
  18. Postal code.

  19. town (string)
  20. City / Town.

  21. phone (string)
  22. Phone number.

  23. company (string)
  24. Company name.

  25. vat_number (string)
  26. VAT ID.

  27. name (string)
  28. Name. (Deprecated / backwards compatibility)

  29. surname (string)
  30. Surname. (Deprecated / backwards compatibility)

  31. street (string)
  32. Street. (Deprecated / backwards compatibility)

  33. house (string)
  34. House number. (Deprecated / backwards compatibility)

  35. flat (string)
  36. Flat number. (Deprecated / backwards compatibility)

Output data

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