Skip to main content
POST
Create loyalty point activity

Authorizations

Authorization
string
header
required

Sign in to the admin dashboard and use the resulting ID token for a store and operation you can access. The authenticated dashboard cookie is accepted when the Authorization header is absent. Missing or insufficient access returns 401.

Path Parameters

id
string
required

customer id

Body

application/json
activity
enum<string>
required
Available options:
order,
credit-note,
tier-upgrade,
signup,
bonus,
other,
new-customer
action
enum<string>
required
Available options:
add,
remove
title
string
required
Maximum string length: 64
loyalty_points
integer
required
Required range: x >= 1
reference_number
string
Maximum string length: 128
internal_note
string
Maximum string length: 512
remarks
string
Maximum string length: 512

Response

OK

message
string
required
success
boolean
required
content
object
required