Loyalty Card Signup Update

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

Updates loyalty card sign-up information. First, it ensures the presence of a card number if the loyalty card type is secondary and that the provided card number exists in the secondary user loyalty records. The function then retrieves the user associated with the request and checks for their existence. If the loyalty card type is secondary, it queries looks for an active secondary loyalty record matching the user ID, card number, loyalty ID, loyalty card ID, and active status. If no active secondary loyalty is found, it returns an error message. Finally, it does the update operation.

Path Params
string
required
Defaults to default
string
required
Defaults to default
Body Params
string
required
json
required
string
Responses

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