31 lines
599 B
YAML
31 lines
599 B
YAML
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
|