curl --request POST \
--url https://unified-api.creatorcommerce.shop/channels/{myshopifyDomain}/form-definitions/{formDefinitionId} \
--header 'Content-Type: application/json' \
--header 'x-channel-access-token: <api-key>' \
--data '
{
"title": "Creator Intake Form v2",
"description": "Updated form copy",
"isActive": true,
"fields": [
{
"fieldType": "field",
"name": "headline",
"label": "Hero headline",
"dataType": "string",
"inputType": "text"
}
]
}
'