Create a section with a multiple or dropdown element

curl https://mburger.cloud/api/blocks/<id>/sections
-X POST 
-H "Accept: application/json" 
-H "Content-Type: application/x-www-form-urlencoded"
-H "X-MBurger-Token: <token>" 
-H "X-MBurger-Version: 3"
-d 'elements[<locale>][dropdown]=<value>'
-d 'elements[<locale>][multiple]=<value>'

Value of

"elements[<locale>][multiple]"

must be an array of string

Last updated