ReCORE.co-api

基本設定

基本設定取得

概要

基本情報

GET /configs
{
  "locations": [
    {
      "id": 1,
      "name": "デフォルト",
      "type": "DEFAULT"
    }
  ],
  "stores": [
    {
      "id": 1,
      "name": "本部"
    },
    {
      "id": 2,
      "name": "新宿店"
    }
  ],
  "grades": [
    {
      "id": 1,
      "name": "新品"
    },
    {
      "id": 2,
      "name": "中古"
    }
  ],
  "condition_tags": [
    {
      "id": 1,
      "name": "傷あり"
    }
  ],
  "payments": [
    {
      "id": 1,
      "name": "現金",
      "type": "CASH"
    },
    {
      "id": 2,
      "name": "ポイント",
      "type": "POINT"
    }
  ],
  "cashiers": [
    {
      "id": 1,
      "name": "レジA-1",
      "store": {
        "id": 1,
        "name": "本部"
      }
    },
    {
      "id": 2,
      "name": "レジB-1",
      "store": {
        "id": 2,
        "name": "新宿店"
      }
    }
  ]
}
key type 説明
locations array<object> ロケーション
locations.*.id int ロケーションID
locations.*.name string ロケーション名
locations.*.type string ロケーションタイプ
stores array<object> 店舗
stores.*.id int 店舗ID
stores.*.name string 店舗名
grades array<object> グレード
grades.*.id int グレードID
grades.*.name string グレード名
condition_tags array<object> コンディションタグ
condition_tags.*.id int コンディションタグID
condition_tags.*.name string コンディションタグ名
payments array<object> 支払い方法
payments.*.id int 支払い方法ID
payments.*.name string 支払い方法名
payments.*.type string 支払い方法タイプ
cashiers array<object> レジ
cashiers.*.id int レジID
cashiers.*.name string レジ名
cashiers.*.store object レジ設置店舗
cashiers.*.store.id int レジ設置店舗ID
cashiers.*.store.name string レジ設置店舗名