curl --request PUT \
--url https://app.demandiq.com/api/decks/{deckId} \
--header 'Content-Type: application/json' \
--data '
{
"name": "<string>",
"description": "<string>",
"type": "structured",
"isActive": true,
"deckContext": "<string>",
"action": {},
"contact": {},
"priceVariables": [
{
"name": "roof_squares",
"label": "Roof squares",
"type": "number",
"defaultValue": 123,
"required": true,
"helpText": "<string>",
"source": "measurement",
"systemVariable": true
}
],
"priceFormatting": {
"currency": "USD",
"roundTo": 2
}
}
'