Yelo
  1. Loyality Points
Yelo
  • Acl
    • Create Role
      POST
    • Get Role
      POST
    • Edit Role
      POST
    • Delete Role
      POST
    • Get Role Permissions
      POST
  • Custom PG
    • paymentStatus
      POST
  • CSV Import
    • csv
      POST
  • Menu
    • Add Menu
      POST
    • Get Menu
      POST
  • Notification
    • getCreds
      POST
    • sendCustomPushNotification
      POST
  • Tax
    • delete
      POST
    • edit
      POST
    • get
      POST
    • add
      POST
  • Themes
    • configure
      POST
    • resetTemplate
      POST
    • cloneFeatures
      POST
    • editTemplate
      POST
    • getTemplate
      POST
    • getPagesAndComponents
      POST
    • updateUserTheme
      POST
    • getThemeSemantics
      POST
    • enableTheme
      POST
    • getThemeJson
      POST
    • editTheme
      POST
    • getThemes
      POST
    • forkTheme
      POST
    • getUserTheme
      POST
  • Customer
    • customer Deletion
    • Add Customer
    • customer verifyOtp
    • customerForgotPassword
    • View Customer
    • Customer Details
    • Edit Customer
    • Add Customer Subscription Plan
    • Get Customer Subscriptions List
    • Edit Customer Subscription Plan
    • googleLogin
    • Assign Customer Subscription Plan
    • Customer login
    • getFavLocation
    • Forgot Password
  • Wallet
    • addMoney
    • customer/getWalletTxnHistory
  • Loyality Points
    • Update Loyality Points
      POST
    • Reward Loyalty Points
      POST
  • City
    • Get City
  • Promo
    • Delete Promo
    • Change Promo Status
    • Edit Promo
    • Add Promo
    • Get Promo
  • Order
    • Order review
    • Get All Orders
    • Get Order Details
    • Create Order
    • Custom Order
    • orderPrepTime
  • Search
    • searchGlobalProduct
    • searchProducts
    • searchGlobalMerchants
  • Marketplace
    • Settings
    • Edit Merchant details
    • Get Banner
    • get Activity Logs
    • marketplaceVendorFacebookLogin
    • Add Debt For Job
    • addMerchant
    • getMerchantList
    • getAccountTranslations
    • getfilter
    • Cancellation reason
  • Task
    • edit task prep time
    • addRemarks
    • getTookanRequest
    • Edit Task
    • Accept Reject Order
    • updateStatus
  • Merchant
    • Add Store Availability
    • Update Store Availability for day
    • Get merchant custom field
    • Edit Store Status
    • Get Store FrontDateSchedule
    • Add Store FrontDateSchedule
    • Update Store FrontDateSchedule
    • Get merchant
    • Merchant settings
    • user_login
  • Catalogue
    • Catagory
      • Add Catalogue
      • Update Catalogue
      • Get Catalogue
      • Get All Catalogues
      • Get Catalogue Products
      • Enable Disable Category wise
      • Delete catalogue
    • Products
      • disable
      • Add product
      • Edit Product
      • delete
      • Disable Products
      • Get product
      • Get All Products
      • Get Products For Category
    • Product Customization
      • Deprecated
        • Get Customization
        • Add Customization
        • Delete Customization
        • Edit Customization
      • Customizations
    • tags
      • Get All tags
      • Get tags Products
  • Business Categories
    • Assign Business Category
    • Get Business Category
    • businessCategory
  • Send SMS
    • Send App Link SMS
  • Admin
    • Edit Order
    • Add Address
    • Get address
    • Delete Address
    • Edit address
    • Admin Detail
  • Billing
    • getPlans
    • getInvoices
    • getBillBreakDown
  • Project
    • get
  • Discount
    • merchant Discount
      • /open/merchant/discount/get
      • merchant/discount/edit
      • merchantDiscount/add
    • Product Discount
      • productDiscount/add
      • product/discount/get
      • product/discount/edit
      • product/discount/delete
  • Store Reviews
    • getStoreAllReviews
  • checkout template
    • template/getCheckoutTemplate
  • Payment
    • activePaymentMethods
    • getPaymentUrl
  1. Loyality Points

Update Loyality Points

POST
/open/loyaltyPoints/customers/bulkUpdate

Update Loyality Points#

ParameterType Description
api_keystringYour API-key
customersarrayarray of json [ vendor_id : customer unique id (number) expiry_limit: 50 in days limit (number) points: loyalty points (number) ]

Customers#

ParameterType Description
pointsnumberloyalty points
expiry_limitnumberin days limit
vendor_idnumbercustomer unique id

Request

Body Params application/json
object {0}
Example
{
    "api_key"           : {{apikey}} ,
    "customers"         :  "[{\"vendor_id\":334,\"expiry_limit\":30,\"points\":50}]"

}

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/customers/bulkUpdate' \
--header 'Content-Type: application/json' \
--data-raw '{
    "api_key"           : {{apikey}} ,
    "customers"         :  "[{\"vendor_id\":334,\"expiry_limit\":30,\"points\":50}]"

}'

Responses

🟢200Success
application/json
Body
object {0}
Example
{}
Previous
customer/getWalletTxnHistory
Next
Reward Loyalty Points
Built with