curl --request POST \
--url https://unified-api.creatorcommerce.shop/channels/{myshopifyDomain}/form-definitions \
--header 'Content-Type: application/json' \
--header 'x-channel-access-token: <api-key>' \
--data '
{
"type": "custom",
"title": "Creator Intake Form",
"description": "Collect creator profile and storefront metadata",
"isActive": true,
"fields": [
{
"fieldType": "field",
"name": "headline",
"label": "Headline",
"dataType": "string",
"inputType": "text"
},
{
"fieldType": "field",
"name": "about",
"label": "About",
"dataType": "string",
"inputType": "textarea"
}
]
}
'