PayNow

CreateWebstoreModuleDto

enabledbooleanRequired
Indicates whether the module is rendered. A disabled module keeps its settings but is not shown to customers.
typestringRequired
The kind of module. Decides which 'settings' it accepts and how the template renders it.
ends_atstringOptional
The date and time the module stops being shown, or null to show it indefinitely.
settingsobjectOptional
The module's type-specific configuration as a JSON object, or null when it has none.
starts_atstringOptional
The date and time the module starts being shown, or null to show it as soon as it is enabled.
Example
{
  "enabled": true,
  "type": "string",
  "ends_at": "2024-01-01T00:00:00Z",
  "settings": {},
  "starts_at": "2024-01-01T00:00:00Z"
}