Account

Get account

One call answers the whole account. GET /api/v1/users/me answers a part of the same data in the older shape, and it carries a Deprecation header.

get/api/v1/me

Request

  • Base URL: https://app.sellerassistant.app (the document declares no server; this is the origin it was published from)
  • URL: https://app.sellerassistant.app/api/v1/me
  • Auth: one of:
    • API key in query parameter api_key
    • API key in header X-Api-Key
    • OAuth 2 (authorization code, authorization URL https://app.sellerassistant.app/oauth/authorize, token URL https://app.sellerassistant.app/oauth/token, scopes: read_write)

Response

The account

Example response

{
  "data": {
    "user": {
      "id": 123,
      "name": "My Name",
      "email": "test@gmail.com"
    },
    "team": {
      "id": 1,
      "name": "Acme",
      "role": "owner"
    },
    "subscription": {
      "active": true,
      "plan_id": "pro-monthly",
      "gateway": "stripe"
    },
    "marketplaces": [
      {
        "marketplace_id": "ATVPDKIKX0DER",
        "domain": "amazon.com",
        "country_code": "US",
        "region": "na",
        "seller_account_id": "A1B2C3D4E5"
      }
    ]
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.