Skip to main content

PostPalettes

This request allows you to create new palettes.

Request URL

POST https://api-dev.theownly.io/v1/palettes

Headers

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

Parameters

NameTypeRequired?Description
nameStringYesPalette Name
descriptionStringNo
basePricenumberNo
isMultiFamilybooleanNo

Example Request


curl -X 'POST' \
'https://api.theownly.io/v1/palettes' \
-H 'accept: application/json' \
-H 'Authorization: Bearer {APItoken}' \
-H 'Content-Type: application/json' \
-d '{
"name": "Nordic Clean",
"description": "string",
"basePrice": 0,
"isMultifamily": false
}'

Example Response

 {
"id": "ouMsl6uF",
"name": "Nordic Clean",
"description": "string",
"basePrice": 0,
"isMultifamily": true
}