> ## Documentation Index
> Fetch the complete documentation index at: https://developers.everflow.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Update Custom Landing Page Setting

Update an existing custom landing page setting. All fields must be included in the request body. Retrieve the current setting first, modify the needed fields, and send the full object back.


## OpenAPI

````yaml openapi/custom-landing-pages.yaml put /networks/custom/landingpages/{settingId}
openapi: 3.0.3
info:
  title: Everflow Network API - Custom Landing Pages
  description: >
    Endpoints for managing custom landing page settings in the Everflow network.
    Custom landing pages let you create unique default landing page URLs for
    specific partners or tracking conditions, overriding the offer's base
    destination. For landing page concepts, see the [Pre-Landers
    guide](https://helpdesk.everflow.io/customer/how-to-leverage-pre-landers-offer-walls-listicles).
  version: 1.0.0
servers:
  - description: Production Server
    url: https://api.eflow.team/v1
security: []
tags:
  - name: Custom Landing Pages
    description: Endpoints for managing custom landing page settings.
paths:
  /networks/custom/landingpages/{settingId}:
    put:
      tags:
        - Custom Landing Pages
      summary: Update Custom Landing Page Setting
      parameters:
        - in: path
          name: settingId
          required: true
          schema:
            type: integer
          description: The custom landing page setting ID.
      requestBody:
        required: true
        content:
          application/json:
            example:
              network_offer_id: 1
              name: Updated Custom LP
              network_offer_landing_page_id: 1
              destination_url: https://example.com/updated-landing
              custom_setting_status: active
              is_apply_all_affiliates: false
              network_affiliate_ids:
                - 7
              network_offer_creative_ids: []
              description: ''
              date_valid_from: ''
              date_valid_to: ''
            schema:
              type: object
              properties:
                is_apply_all_affiliates:
                  type: boolean
                  description: Whether this setting applies to all affiliates.
                network_affiliate_ids:
                  type: array
                  items:
                    type: integer
                  description: >-
                    Array of affiliate IDs this setting applies to. Required
                    when `is_apply_all_affiliates` is `false`.
                network_offer_id:
                  type: integer
                  description: The offer ID for this landing page setting.
                name:
                  type: string
                  description: Display name for this custom landing page setting.
                network_offer_landing_page_id:
                  type: integer
                  description: The offer landing page ID to override.
                description:
                  type: string
                  description: Optional description for this setting.
                destination_url:
                  type: string
                  description: The custom destination URL.
                custom_setting_status:
                  type: string
                  enum:
                    - active
                    - inactive
                  description: Status of the landing page setting.
                date_valid_from:
                  type: string
                  description: Start date for when this setting is active (YYYY-MM-DD).
                date_valid_to:
                  type: string
                  description: End date for when this setting expires (YYYY-MM-DD).
                network_offer_creative_ids:
                  type: array
                  items:
                    type: integer
                  description: Array of offer creative IDs associated with this setting.
                ruleset:
                  type: object
                  description: >
                    Targeting ruleset for this custom landing page setting.
                    Allows you to restrict when this custom landing page is used
                    based on geographic, device, browser, and connection
                    criteria. See the [Ruleset guide](/user-guide/rulesets) for
                    details.
                variables:
                  type: array
                  description: >
                    Goal condition variables that must match for this custom
                    landing page to take effect. Each variable defines a
                    condition based on tracking parameters.
                  items:
                    type: object
                    required:
                      - variable
                      - variable_value
                      - comparison_method
                    properties:
                      variable:
                        type: string
                        description: >-
                          The variable to match (e.g. `sub1`, `sub2`, `sub3`,
                          `sub4`, `sub5`, `sub6`, `sub7`, `sub8`, `sub9`,
                          `sub10`, `source_id`).
                      variable_value:
                        type: string
                        description: The value to compare against.
                      variable_secondary_value:
                        type: string
                        description: >-
                          A secondary value used with range-based comparison
                          methods.
                      comparison_method:
                        type: string
                        enum:
                          - exact_match
                          - contains
                          - begins_with
                          - ends_with
                        description: How to compare the variable against the value.
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CustomLandingPage'
      security:
        - API Key: []
components:
  schemas:
    CustomLandingPage:
      type: object
      properties:
        network_custom_landing_page_setting_id:
          type: integer
          description: Unique custom landing page setting ID.
          readOnly: true
        network_id:
          type: integer
          description: Network ID.
          readOnly: true
        is_apply_all_affiliates:
          type: boolean
          description: Whether this setting applies to all affiliates.
        network_affiliate_ids:
          type: array
          items:
            type: integer
          description: Array of affiliate IDs this setting applies to.
        network_offer_id:
          type: integer
          description: The associated offer ID.
        name:
          type: string
          description: Display name for this custom landing page setting.
        network_offer_landing_page_id:
          type: integer
          description: The offer landing page ID to override.
        description:
          type: string
          description: Description for this setting.
        destination_url:
          type: string
          description: The custom destination URL.
        custom_setting_status:
          type: string
          enum:
            - active
            - inactive
          description: Status of the landing page setting.
        date_valid_from:
          type: string
          description: Start date for when this setting is active (YYYY-MM-DD).
        date_valid_to:
          type: string
          description: End date for when this setting expires (YYYY-MM-DD).
        network_offer_creative_ids:
          type: array
          nullable: true
          items:
            type: integer
          description: Array of offer creative IDs associated with this setting.
        time_created:
          type: integer
          example: 1734455015
          description: Unix timestamp of creation.
          readOnly: true
        time_saved:
          type: integer
          example: 1734455015
          description: Unix timestamp of last update.
          readOnly: true
        relationship:
          type: object
          properties:
            affiliates:
              type: array
              description: Associated affiliate details (included with `relationship=all`).
              items:
                type: object
                properties:
                  network_affiliate_id:
                    type: integer
                    description: Unique affiliate ID.
                  network_id:
                    type: integer
                    description: Network ID.
                  name:
                    type: string
                    description: Affiliate name.
                  account_status:
                    type: string
                    description: Account status of the affiliate.
            offer:
              type: object
              description: Associated offer details.
              properties:
                network_offer_id:
                  type: integer
                  description: Unique offer ID.
                network_id:
                  type: integer
                  description: Network ID.
                network_advertiser_id:
                  type: integer
                  description: Advertiser ID that owns this offer.
                network_offer_group_id:
                  type: integer
                  description: Offer group ID (0 if not grouped).
                name:
                  type: string
                  description: Offer name.
                offer_status:
                  type: string
                  description: Status of the offer.
                network_tracking_domain_id:
                  type: integer
                  description: Tracking domain ID for this offer.
                visibility:
                  type: string
                  description: Visibility setting for this offer.
                currency_id:
                  type: string
                  description: Currency code for this offer.
            variables:
              type: object
              description: Goal condition variables for this setting.
              properties:
                total:
                  type: integer
                  description: Total number of variables.
                entries:
                  type: array
                  description: List of variable conditions.
                  items:
                    type: object
                    properties:
                      network___custom___landing___page___setting___variable___id:
                        type: integer
                        description: Unique variable ID.
                      network___custom___landing___page___setting___id:
                        type: integer
                        description: The parent custom landing page setting ID.
                      comparison_method:
                        type: string
                        description: How to compare the variable against the value.
                      variable:
                        type: string
                        description: The variable name (e.g. `sub1`, `sub2`).
                      variable_value:
                        type: string
                        description: The value to compare against.
                      variable_secondary_value:
                        type: string
                        description: A secondary value used with range-based comparisons.
  securitySchemes:
    API Key:
      description: The Everflow API key generated from the Control Center > Security.
      in: header
      name: X-Eflow-Api-Key
      type: apiKey

````