Locations
Create location
ロケーション情報を作成します。
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"
}