Update SmartBlock

Updates an individual SmartBlock

Path Params
string
required

Website ID for the account you are posting data to.

string
required
length ≥ 1

The Smartblocks slug/unique id

Query Params
string
enum
required

Get data in JSON format.

Allowed:
Body Params
string
required
length ≥ 1

The unique id for the Smartblock

date-time
required

Last modified date time in ISO-8601 format

string
required

Who last edited the Smartblock

url
required

A link to preview the Smartblock as an image

url
required

A link to the Smartblock's thumbnail image

boolean
required

Whether the Smartblock is locked to read-only

boolean
Defaults to true

Indicates whether the Smartblock is active or not

url

Image to display in the Smartblocks background

string
required

The layout for this SmartBlock

string
length ≤ 256
string
required
length between 1 and 256

Unique name for the Smartblock

boolean
required
Defaults to true

Enable personalised Dynamic SmartBlock. Dynamic SmartBlocks can use all available data about an individual, and are cached separately for each person; non-Dynamic SmartBlocks are the same for everyone.

string
enum
required
  • product - product
  • countdown - countdown
  • instagram - instagram
  • twitter - twitter
  • banner - banner
  • coupon - coupon
  • pinterest - pinterest
  • webcrop - webcrop
  • reviews - reviews
  • popover - popover
string | null
required

The folder id this Smartblock belongs to, if any

string
required

Comma seperated SmartBlock tags, so you can find your smartblocks later

integer
1 to 720
Responses

Language
Credentials
Header
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json