v1

latestOpenAPI 3.1.02026-08-061945115.8 KB
Paywalls

Update paywall

Updates the remote config of a specific paywall. This endpoint allows you to modify the remote config values that help you to customize the paywall's appearance and behavior.

Important: If you update a remote config, it will overwrite all the existing remote configs! If you need to preserve the existing remote configs, first, get the paywall. Then, copy the remote_configs from there and modify the objects you need in the update request.

put/api/v2/server-side-api/paywalls/{paywall_id}/

Path parameters

paywall_idstring uuid required

The unique identifier of the paywall to update

Request body

Response

Paywall updated successfully

titlestring required

The name of the paywall, as defined in your Adapty Dashboard

paywall_idstring uuid required

The unique identifier of the paywall

use_paywall_builderboolean required

Whether the paywall uses the paywall builder

use_paywall_builder_legacyboolean required

Whether the paywall uses the legacy paywall builder

updated_atstring date-time required

Timestamp when the paywall was last updated

created_atstring date-time required

Timestamp when the paywall was created

state'draft' | 'live' | 'inactive' | 'archived' required

The current state of the paywall

is_deletedboolean required

Whether the paywall is marked as deleted

web_purchase_urlstring uri nullable

URL for web purchases, if applicable