Yelo
  1. Products
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
    • resetTemplate
    • cloneFeatures
    • editTemplate
    • getTemplate
    • getPagesAndComponents
    • updateUserTheme
    • getThemeSemantics
    • enableTheme
    • getThemeJson
    • editTheme
    • getThemes
    • forkTheme
    • getUserTheme
  • 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
    • 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
        POST
      • Add product
        POST
      • Edit Product
        POST
      • delete
        POST
      • Disable Products
        POST
      • Get product
        POST
      • Get All Products
        POST
      • Get Products For Category
        POST
    • 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. Products

Add product

POST
/open/product/add

Add Product

Languages

Different languages supported. If you are not passing any languages then it is mandatory to pass "en"

Parameter Type Description
api_key string Your API-key
marketplace_user_id number Your marketplace_user_id
merchant_id number This is merchant id on which the product is created.
name string(optional) Enter name of product
name_json object(optional) "en" is mandatory and refer to below language table.
description string(optional) Enter description of product
description_json object(optional) "en" is mandatory and refer to below language table.
long_description_json object(optional) "en" is mandatory and refer to below language table.
parent_category_id number(optional) Enter parent catalog id
long_description string(optional) "en" is mandatory and refer to below language table.
cost_price number Cost Price
service_time number(optional) Enter service time in minutes and append in case it is service order.
multi_image_url array(optional) Enter image url
inventory_enabled number(optional) If inventory is need to be marked as enabled enter 1 else 0.
available_quantity number(optional) Enter available quantity
is_veg number 1 for veg, 0 for non-veg, 2 for none
minimum_quatity number(optional) Enter minimum quantity of products that is required to be in the cart.
price number(optional) Enter price of Product
unit number(optional) Enter unit of Product
is_side_order number(optional) If the product is to be marked as side order enter 1 else 0.

Unit Types

Unit Types:

Name Type
ENGLISH en
ARABIAN ar
FRENCH fr
SPANISH es
MALAY ms
SIMPLIFIED_CHINESE zh-Hans
PORTUGUESE pt
TRADITIONAL_CHINESE zh-Hant
BENGALI bn
MEXICAN_SPANISH es-mx
KHMER km
TAMIL ta
SINHALA si
SWEDISH sv
Name Type
FIXED 1
MINUTE 2
HOUR 3
DAY 4
WEEK 5
MONTH 6
YEAR 7
KILOGRAM 8
POUND 9
PERSON 10
KILOMETER 11

Request

Body Params application/json

Example
{
    "api_key"            : {{apikey}},
    "user_id"            : 510001,
    "marketplace_user_id": 510001,
    "parent_category_id" : 3462866,
    "name"               : "pasta",
    "minimum_quantity"   : 1,
    "description"        : "",
    "long_description"   : "",
    "cost_price"         : 180,
    "multi_image_url"    : [],
    "price"              : "200",
    "unit_type"          : 1,
    "unit"               : 1,
    "service_time"       : 0,
    "return_enabled"     : 0,
    "inventory_enabled"  : 0,
    "available_quantity" : 0,
    "is_veg"             : 1,
    "taxes"              : [],
    "name_json"          : {
                     "en": "pasta"
                           },
    "description_json"   : {
                     "en": ""
                           },
    "long_description_json": {
                       "en": ""
                             }
}

Request Code 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/product/add' \
--header 'Content-Type: application/json' \
--data-raw '{
    "api_key"            : {{apikey}},
    "user_id"            : 510001,
    "marketplace_user_id": 510001,
    "parent_category_id" : 3462866,
    "name"               : "pasta",
    "minimum_quantity"   : 1,
    "description"        : "",
    "long_description"   : "",
    "cost_price"         : 180,
    "multi_image_url"    : [],
    "price"              : "200",
    "unit_type"          : 1,
    "unit"               : 1,
    "service_time"       : 0,
    "return_enabled"     : 0,
    "inventory_enabled"  : 0,
    "available_quantity" : 0,
    "is_veg"             : 1,
    "taxes"              : [],
    "name_json"          : {
                     "en": "pasta"
                           },
    "description_json"   : {
                     "en": ""
                           },
    "long_description_json": {
                       "en": ""
                             }
}'

Responses

🟢200Success
application/json
Body

Example
{}
Modified at 2024-04-17 07:11:33
Previous
disable
Next
Edit Product
Built with