GuidesAPI Reference
Log In
API Reference

Add loyalty program for customer

Adds a loyalty program for the given customer.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
integer
required

Specify the customer id.

Body Params

Serializer for adding a loyalty program to a customer

string
length between 1 and 30

The customer's membership number within the loyalty program.

integer
required

The unique system assigned value that identifies this record.

integer

The unique identifier for the loyalty level.

integer
enum

The customer's loyalty status.

  • 1 - Pending
  • 10 - Active
  • 20 - Canceled
  • 30 - Expired
  • 40 - Need Customer Information
  • 50 - Inactive
Allowed:
string
^-?\d{0,9}(?:\.\d{0,4})?$

The point balance.

string
^-?\d{0,9}(?:\.\d{0,4})?$

The reward balance.

Headers
integer
required

The id of the active store to be used for this API invocation

string
enum
Defaults to application/json

Generated from available request content types

Allowed:
Response

Language
Credentials
Bearer
JWT
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json