Skip to main content

PutPalettes

This request returns the details of a specific palettes.

Request URL

PUT https://api.theownly.io/v1/models/palettes/{Id}

Headers

NameValueRequired?
Acceptapplication/jsonYes
AuthorizationBearer{APItoken}Yes
Content-Typeapplication/jsonYes

Parameters

NameTypeRequired?Description
nameStringNoPalette Name
descriptionStringNo
basePricenumberNo

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
}