Copy paywall
Changed onDuplicate a paywall inside the current project: settings, screens, CSS variables, prices and plans are copied into a new paywall (published version resets to 1, the Published tag is dropped). Same as the "Copy" action in the cabinet.
post/paywalls/{paywallId}/copy
Request
- Base URLhttps://api.web2wave.com/api
- URLhttps://api.web2wave.com/api/paywalls/{paywallId}/copy
- AuthAPI key in header api_key
Path parameters
paywallIdinteger required
Headers
api_keystring required
Request body
Response
Paywall copied
Example response
{
"success": 1,
"paywall": {
"id": 210,
"project_id": 78,
"slug": "api-paywall",
"name": "API Paywall",
"payment_system": "stripe",
"after_pay_redirect": {
"id": 24757
},
"prices": [
{
"after_pay_redirect": {
"id": 24757
}
}
],
"source_data": "JSON"
}
}Changes
- info
endpoint added
- info