This commit is contained in:
2026-06-06 21:21:52 +03:30
parent eaec696a1b
commit ac3444a431
7 changed files with 61 additions and 6 deletions
+30
View File
@@ -0,0 +1,30 @@
info:
name: Fulfill Referral Reward
type: http
seq: 12
http:
method: POST
url: "{{baseUrl}}/admin/referral-rewards/:user/fulfill"
params:
- name: user
value: "1"
type: path
body:
type: json
data: |-
{
"product_id": 1
}
auth: inherit
docs: |-
Admin only. Grants the free month to the user (path param = user id) and
marks it granted so it only happens once. product_id is optional: omit it to
auto-grant the meditation package's monthly product.
settings:
encodeUrl: true
timeout: 0
followRedirects: true
maxRedirects: 5