<- Loyalty API

Loyalty API

Retrieve loyalty program

GET

 /v2/loyalty/programs/{program_id}

Retrieves the loyalty program in a seller's account, specified by the program ID or the keyword main.

Loyalty programs define how buyers can earn points and redeem points for rewards. Square sellers can have only one loyalty program, which is created and managed from the Seller Dashboard. For more information, see Loyalty Program Overview.

Permissions:LOYALTY_READ
Try in API Explorer
Link to section

Path parameters

Example code

Link to section

program_id

string

Required

The ID of the loyalty program or the keyword main. Either value can be used to retrieve the single loyalty program that belongs to the seller.

Link to section

Response fields

Link to section

errors

Any errors that occurred during the request.

Link to section

program

The loyalty program that was requested.

Error descriptions