Developers

Developers

  • BASE API
  • BASE Template

›Users

BASE API

  • はじめに
  • OAuth

    • oauth/authorize
    • oauth/access_token
    • oauth/refresh_token

    Users

    • users/me

    Item

    • items
    • items/search
    • items/detail
    • items/add
    • items/edit
    • items/delete
    • items/add_image
    • items/delete_image
    • items/edit_stock
    • items/delete_variation

    Category

    • categories
    • categories/add
    • categories/edit
    • categories/delete

    Item Category

    • item_categories/detail
    • item_categories/add
    • item_categories/delete

    Orders

    • orders
    • orders/detail
    • orders/edit_status

    Savings

    • savings

    Delivery Company

    • delivery_companies

    Search

    • search
    • search/refresh

users/me

GET /1/users/me

ショップ情報を取得

scope

read_users (メールアドレスも取得したい場合はread_users_mail)

リクエストパラメーター

  • なし

レスポンスの例

{
  "user":{
    "shop_id":"shop",
    "shop_name":"BASEショップ",
    "shop_introduction":"BASEのノベルティショップです。",
    "shop_url":"http://shop.thebase.in",
    "twitter_id":"baseec",
    "facebook_id":"baseec",
    "ameba_id":"baseec",
    "instagram_id":"baseec",
    "line_id":"baseec",
    "youtube_id":"baseec",
    "note_id":"baseec",
    "tiktok_id":"baseec",
    "background":null,
    "display_background":1,
    "repeat_background":1,
    "logo":"https://baseec.s3.amazonaws.com/images/user/logo/c11fbd023b998035d0b813962ca77062.png",
    "display_logo":1,
    "mail_address":"hoge@example.com"
  }
}

解説

  • shop_id - ショップを識別するユニークなID。文字列型。
  • background - ショップの背景画像
  • display_background - ショップの背景画像の表示フラグ。1:表示、0:非表示
  • repeat_background - ショップの背景画像のリピートフラグ。1:リピートする、0:リピートしない
  • logo - ショップのロゴ画像
  • display_logo - ショップのロゴ画像の表示フラグ。1:表示、0:非表示
  • mail_address - read_users_mailのscopeがある時のみ取得できます。

エラーレスポンスの例

{
  "error":"access_denied",
  "error_description":"httpsでアクセスしてください。"
}
{
  "error":"invalid_request",
  "error_description":"アクセストークンが無効です。"
}
← oauth/refresh_tokenitems →
  • scope
  • リクエストパラメーター
  • レスポンスの例
  • 解説
  • エラーレスポンスの例
  • API利用規約
  • デザインマーケット利用規約
© 2012-2025 BASE, Inc.