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
Request samples
Responses
Modified at 2024-04-17 07:11:33