Manage reusable fields for storefront content.
Create dynamic field
Create a reusable content field. Publishing requires an active Dynamic Fields feature.
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 only supplied fields. Read the field first to preserve settings and localized content.
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