Skip to main content

PostOptionalUpgrades

This request returns the details of a specific optional upgrades.

Request URL

POST https://api.theownly.io/v1/models/{modelId}/optionalUpgrades/

Headers

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

Parameters

NameTypeRequired?Description
modelIdStringYesModel ID
nameStringYesOptional Upgrade Name
priceNumberNo

Example Request


curl -X 'POST' \
'https://api.theownly.io/v1/models/TbuHj789/optionalUpgrades' \
-H 'accept: application/json' \
-H 'Authorization: Bearer {APItoken}' \
-H 'Content-Type: application/json' \
-d '{
"name": "Parking",
"price": 0
}'

Example Response

 {
"id": "j156XwnJ",
"name": "Parking",
"price": 0
}