Yelo
  1. Customer
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
    • edit
    • get
    • add
  • Themes
    • configure
    • resetTemplate
    • cloneFeatures
    • editTemplate
    • getTemplate
    • getPagesAndComponents
    • updateUserTheme
    • getThemeSemantics
    • enableTheme
    • getThemeJson
    • editTheme
    • getThemes
    • forkTheme
    • getUserTheme
  • Customer
    • customer Deletion
      POST
    • Add Customer
      POST
    • customer verifyOtp
      POST
    • customerForgotPassword
      POST
    • View Customer
      GET
    • Customer Details
      POST
    • Edit Customer
      POST
    • Add Customer Subscription Plan
      POST
    • Get Customer Subscriptions List
      POST
    • Edit Customer Subscription Plan
      POST
    • googleLogin
      POST
    • Assign Customer Subscription Plan
      POST
    • Customer login
      POST
    • getFavLocation
      POST
    • Forgot Password
      POST
  • Wallet
    • addMoney
    • customer/getWalletTxnHistory
  • Loyality Points
    • Update Loyality Points
    • Reward Loyalty Points
  • 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. Customer

customer Deletion

POST
/open/customer/delete
This API endpoint is designed to allow authorized users to delete customer records from a system or database. Deleting a customer typically involves permanently removing their information from the system, including any associated data
api_key: This is the API key provided by the marketplace to authenticate and validate the request.
marketplace_user_id: This represents the ID of the user within the marketplace's SaaS account.
user_id: This appears to be the same as marketplace_user_id, both set to "1314".
vendor_id: This is the ID of the customer whose record is targeted for deletion ("1313" in this case).
new_request: This parameter is used to indicate that this is a new request (set to 1), likely triggering the initiation of a delete operation as described in your note.
password: This parameter contains the customer's password. However, it's unusual and insecure to include a password in a request payload, especially in plaintext. This should be avoided for security reasons.

Request

Body Params application/json
object {0}
Example
{
      "api_key"                 : {{api_key}},
      "marketplace_user_id" : "1314",
      "user_id" : "1314",
      "vendor_id" : "1313",
      "new_request" : 1,
      "password": "safjka"
}

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/customer/delete' \
--header 'Content-Type: application/json' \
--data-raw '{
      "api_key"                 : eagagg3467sadkjhfi,
      "marketplace_user_id" : "1314",
      "user_id" : "1314",
      "vendor_id" : "1313",
      "new_request" : 1,
      "password": "safjka"
}'

Responses

🟢200Success
application/json
Body
object {0}
Example
{}
Modified at 2024-04-18 10:27:28
Previous
getUserTheme
Next
Add Customer
Built with