cURL
curl --request POST \ --url https://unified-api.creatorcommerce.shop/channels/{myshopifyDomain}/custom-field-definitions \ --header 'Content-Type: application/json' \ --header 'x-channel-access-token: <api-key>' \ --data ' { "ownerType": "collab", "name": "Hero Header", "description": "Top hero heading for creator storefront", "handle": "hero-header", "type": "single_line_text_field", "isEditable": true, "isCreatorEditable": true } '
{ "customFieldDefinition": { "_id": "67f8c4da35d6e293b9c2a111", "ownerType": "collab", "name": "Hero Header", "description": "Top hero heading for creator storefront", "handle": "cc-hero-header", "type": "single_line_text_field", "isEditable": true, "isCreatorEditable": true, "isDeleted": false } }
Channel or partner access token (x-channel-access-token or x-partner-access-token)
creator
campaign
collab
collabTier
advert
product
drop
enhancement
Handle is auto-normalized with cc- prefix.
cc-
Custom field definition created
Show child attributes