Manage reusable fields for storefront content.
Get dynamic fields list
Get dynamic fields list.
query Parameters
pageinteger · min: 1 · max: 999Page number. Start at 1.
Default: 1limitinteger · min: 1 · max: 100Results per page.
Default: 10
Responses
success
successbooleanExample: trueresponseobject[]Array of dynamic fields
resultsintegerTotal number of matching fields.
pagesintegerTotal page count.
pageintegerCurrent page.
per_pageintegerPage size.
request_idstringExample: 1ef2da0b-6f98-6fec-b13f-06c63b84be49
Create dynamic field
Create a reusable field. Publishing requires an active Dynamic Fields feature; draft saves remain inactive.
Request Body
namestring · requiredDisplay name.
Example: Care instructionstypestring · enum · requiredContent editor type.
Enum values:inputtextcodeimageExample: textcodestring · pattern:^[a-zA-Z0-9\-]+$· requiredField code containing letters, numbers and hyphens.
Example: care-instructionsrelation_typeinteger · enum · requiredUse 1 for shared localized content, or 0 for content assigned to individual resources.
Enum values:01
contentobjectShared content keyed by enabled numeric language IDs. Applicable when relation_type is 1.
draftbooleanSet true to save as a draft. Publishing also requires the Dynamic Fields feature to be active.
Responses
success
successbooleanExample: trueresponseobjectrequest_idstringExample: 1ef2da0b-6f98-6fec-b13f-06c63b84be49
Update dynamic field
Update supplied fields on a reusable field. Send relation_type: 1 when editing shared localized content. Use draft: true to keep it inactive.
path Parameters
dynamic_field_idinteger · required
Request Body
namestringDisplay name.
Example: Care instructionstypestring · enumContent editor type.
Enum values:inputtextcodeimageExample: textcodestring · pattern:^[a-zA-Z0-9\-]+$Field code containing letters, numbers and hyphens.
Example: care-instructionsrelation_typeinteger · enumUse 1 for shared localized content, or 0 for content assigned to individual resources.
Enum values:01contentobjectShared content keyed by enabled numeric language IDs. Applicable when relation_type is 1.
draftbooleanSet true to save as a draft. Publishing also requires the Dynamic Fields feature to be active.
Responses
success
successbooleanExample: trueresponseobjectrequest_idstringExample: 1ef2da0b-6f98-6fec-b13f-06c63b84be49