Profile

Shows the profile of the logged user.


Renders: [application/json, text/html, application/xml]

Parses: [application/json, application/x-www-form-urlencoded, multipart/form-data]


Required fields

  • subscribed_to_newsletter
  • language
  • currency_code

Optional fields

  • subscribed_to_status_mail
  • different_billing_address
  • invoice_delivery
  • timezone
  • payment_provider
  • peppol_participant_id

Readonly fields

  • balance
  • subscription
  • unseen_messages
  • unpaid_invoice
  • education_courses
  • feature_flags
  • features
  • email_confirmation_needed
  • active_card
  • contacts_total
  • can_change_currency
  • gdpr_agreement
  • stripe_id
  • gdpr_enforced
  • sync_with_stripe
  • stripe_payment_method
  • pending_downgrade
  • trial
  • next_withdrawal_date
  • credits

GET /profile/

Responds with the profile data for the authenticated user

Example:

{
    "account_type": 1,
    "subscribed_to_newsletter": false,
    "subscribed_to_status_mail": true,
    "language": "en",
    "different_billing_address": false,
    "balance": 0,
    "subscription": {
        "number_of_emails": 10000,
        "end_time": "2015-03-05",
        "is_free": false,
        "number_of_months": 12,
        "cancelled": null,
        "period_day": 5
    },
    "invoice_delivery": 0,
    "currency_code": "SEK",
    "unseen_messages": 0,
    "unpaid_invoice": true
}