- Acl
- Custom PG
- CSV Import
- Menu
- Notification
- Tax
- Themes
- Customer
- Wallet
- Loyality Points
- City
- Promo
- Order
- Search
- Marketplace
- Task
- Merchant
- Catalogue
- Business Categories
- Send SMS
- Admin
- Billing
- Project
- Discount
- Store Reviews
- checkout template
- Payment
Reward Loyalty Points
POST
/open/loyaltyPoints/rewardLoyaltyPoints
Reward Loyality Points#
Parameter | Type | Description |
---|---|---|
api_key | string | Your API-key |
points | number | loyalty points |
expiry_limit | number | in days of point |
vendor_id | number | customer unique id |
Request
Body Params application/json
object {0}
Example
{
"api_key" : {{apikey}},
"points" : 30,
"expiry_limit": 10,
"vendor_id" : 2289
}
Request samples
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://api.yelo.red/open/loyaltyPoints/rewardLoyaltyPoints' \
--header 'Content-Type: application/json' \
--data-raw '{
"api_key" : {{apikey}},
"points" : 30,
"expiry_limit": 10,
"vendor_id" : 2289
}'
Responses
🟢200Success
application/json
Body
object {0}
Example
{}
Modified at 2024-04-17 07:11:33