Landings (Pre-landing/Post-landing)

Update a landing

Update specific fields of an existing landing.

patch/api/v1/landing

Query parameters

landing_idstring uuid required

Request body

namestring nullable
templateIdstring uuid nullable
dataobject nullable
defaultLanguagestring nullable

Default language code

commentstring nullable

Example request

{
  "comment": "Some user comments",
  "data": {
    "clickButton": "Click here!",
    "sectors": [
      {
        "field_1": "10$",
        "field_2": "8$"
      },
      {
        "field_1": "7$",
        "field_2": "125$"
      },
      {
        "field_1": "30$",
        "field_2": "60$"
      },
      {
        "field_1": "70$",
        "field_2": "80$"
      },
      {
        "field_1": "100$",
        "field_2": "200$"
      },
      {
        "field_1": "50$",
        "field_2": "400$"
      },
      {
        "field_1": "111$",
        "field_2": "25$"
      },
      {
        "field_1": "40$",
        "field_2": "250$"
      }
    ]
  },
  "name": "string",
  "templateId": "132801e5-ba88-49f6-965a-deafcd04319f"
}

Response

Successful Response

{"stackTrail":"paths:/api/v1/landing:patch:responses:200:content:application/json:schema","oasType":"schema","type":"unknown"}

Changes

No recorded changes to this endpoint across all 1 revision of this API.