Update a floor plan
PATCH/api/v1/businesses/:id/floor_plans/:floor_plan_id
Update a floor plan
Request
Path Parameters
id stringrequired
floor_plan_id stringrequired
- application/vnd.api+json
Body
required
data
object
type stringrequired
Possible values: [floor_plans
]
attributes
object
name string
height int32
Height of the floor plan in px (1000 = 10m)
width int32
Width of the floor plan in px (1000 = 10m)
Responses
- 200
Returns updated floor plan record
- application/vnd.api+json
- Schema
- Example (from schema)
Schema
data
object
required
id stringrequired
type stringrequired
Possible values: [floor_plans
]
links
object
required
self stringrequired
attributes
object
required
name string
Default value: Main
height int32
Default value: 1000
width int32
Default value: 1000
{
"data": {
"id": "string",
"type": "floor_plans",
"links": {
"self": "string"
},
"attributes": {
"name": "Main",
"height": 1000,
"width": 1000
}
}
}
Loading...