Logoelepay
Locations

Create location

ロケーション情報を作成します。

POST
/locations
名前内容オブジェクト
電話番号
length ≤ 20
郵便番号
length ≤ 8
住所内容オブジェクト
緯度
format: double
経度
format: double
備考
ロケーションステータス - active 有効 - submitted 提出済み

Response Body

application/json

Created

TypeScript Definitions

Use the response body type in TypeScript.

curl -X POST "https://api.elepay.io/locations" \  -H "Content-Type: application/json" \  -d '{    "name": {},    "tel": "string",    "zip": "string",    "address": {}  }'
{
  "id": "string",
  "name": {
    "kanji": "string",
    "kana": "string",
    "romaji": "string"
  },
  "tel": "string",
  "zip": "string",
  "address": {
    "kanji": {
      "pref": "string",
      "city": "string",
      "town": "string",
      "address1": "string",
      "address2": "string"
    },
    "kana": {
      "pref": "string",
      "city": "string",
      "town": "string",
      "address1": "string",
      "address2": "string"
    },
    "romaji": {
      "pref": "string",
      "city": "string",
      "town": "string",
      "address1": "string",
      "address2": "string"
    }
  },
  "latitude": 0.1,
  "longitude": 0.1,
  "note": "string",
  "status": "active"
}