POST /api/v2/web-api/paywall/visit/

记录付费墙浏览

Adapty 可以帮助您衡量付费墙的转化率。但为此,您需要记录付费墙每次展示的时机—— 否则我们只能获知完成购买的用户数据,而无法统计未购买的用户。 请使用此请求来记录付费墙的浏览事件。

Request body

customer_user_idstring

用户在您系统中的标识符。customer_user_idprofile_id 二者必填其一。

profile_idstring

用户在 Adapty 中的标识符。customer_user_idprofile_id 二者必填其一。

visited_atstring

用户打开付费墙的日期时间。

storestringrequired

产品购买所在的商店。可选值:app_storeplay_storestripe,或您自定义商店的 Store ID

variation_idstringrequired

用于将购买行为追踪至特定付费墙的实验变体 ID。

Responses

付费墙浏览已成功记录。

Schema
object

空响应体

请求错误

Schema
errorsarray of object
sourcestring
errorsarray of string
error_codestring
status_codeinteger

未授权

Schema
errorsarray of object
sourcestring
errorsarray of string
error_codestring
status_codeinteger

未找到

Schema
errorsarray of object
sourcestring
errorsarray of string
error_codestring
status_codeinteger