PutPalettes
This request returns the details of a specific palettes.
Request URL
PUT https://api.theownly.io/v1/models/palettes/{Id}
Headers
Name | Value | Required? |
---|---|---|
Accept | application/json | Yes |
Authorization | Bearer{APItoken} | Yes |
Content-Type | application/json | Yes |
Parameters
Name | Type | Required? | Description |
---|---|---|---|
name | String | No | Palette Name |
description | String | No | |
basePrice | number | No |
Example Request
curl -X 'PUT' \
'https://api.theownly.io/v1/palettes/ouMsl6uF' \
-H 'accept: application/json' \
-H 'Authorization: Bearer {APItoken}' \
-H 'Content-Type: application/json' \
-d '{
"name": "Nordic Clean",
"description": "string",
"basePrice": 0
}'
Example Response
Palette updated.
{
"id": "ouMsl6uF",
"name": "Nordic Clean",
"description": "string",
"basePrice": 0,
"isMultifamily": true
}