API reference › Schemas

AccountRequest

Fields

  • externalIdstringrequiredlength 1–100pattern ^[^\u0000-\u001F\u007F-\u009F\u2028\u2029]+$

    The person as the platform knows them — an opaque code, never a name, e-mail or phone.

  • emailstring (email)requiredlength ≤ 254

    The person's e-mail, verified by the platform.

  • firstNamestringrequiredlength 1–100
  • lastNamestringlength 0–100
  • phonestringpattern ^\+?[0-9][0-9 ().-]{4,30}$
  • localestring

    one of: en · ro · ru · uk · sr · hu · bg · el · zh

    The language of IDS letters and of a new account (default: IDS's).

  • roles[]array of stringrequireditems ≥ 1items ≤ 2

    buyer, seller or both — one IDS account for a person who is both.

  • sellerVerifiedboolean

    The platform verified this seller (a new account is then a shop account).

  • companyobject

    A seller that is a company — kept on a new account only.

  • namestringrequiredlength 1–200
  • vatNumberstringlength ≤ 32
  • registrationNumberstringlength ≤ 32
  • countrystringpattern ^[A-Z]{2}$