Authorizations
Query Parameters
Response
200
import SnagSolutions from '@snagsolutions/sdk';
const client = new SnagSolutions({
apiKey: 'My API Key',
});
const response = await client.loyalty.rules.getStatus();
console.log(response.data);
{
"data": [
{
"loyaltyRuleId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"userId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"status": "pending",
"message": "<string>"
}
]
}
This will return the processing status of quests for a specific user
import SnagSolutions from '@snagsolutions/sdk';
const client = new SnagSolutions({
apiKey: 'My API Key',
});
const response = await client.loyalty.rules.getStatus();
console.log(response.data);
{
"data": [
{
"loyaltyRuleId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"userId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"status": "pending",
"message": "<string>"
}
]
}
200
Show child attributes
Was this page helpful?