Products Features Variants Post (Api)


feature_type": "E" and feature_type": "S" For
www.site.com/api/features/10/variants POST
{
"variant": "New Brand",
"description": "New Brand Description",
"page_title": "New Brand",
"meta_keywords": "New Brand",
"meta_description": "New Brand",
"lang_code": "tr",
"feature_id": "10",
"url": "",
"position": "0",
"seo_name": "",
"seo_path": "",
"image_pair": null
}
Response::STATUS_OK
{
variant_id = 25
}
How to Build?
/public_html/app/Tygh/Api/Entities/Features.php
I'm very happy if you help.


            

Additional custom development work is required in this case

Please find some details here

http://docs.cs-cart.com/4.6.x/developer_guide/addons/api_extending.html

Is there anyone who can do it for a fee?

Features "Only Variants" (Get, Post, Put, Delete)

POST

www.site.com/api/features/10/variants
{
"variant": "New Brand"
}
Response::STATUS_OK
{
variant_id = 25
}
GET1
www.site.com/api/features/10/variants/25
{
"variant_id": "25",
"variant": "New Brand"
}
GET2
www.site.com/api/features/10/variants/
{
"variant_id": "25",
"variant": "New Brand"
},
{
"variant_id": "30",
"variant": "New Brand2"
},
{
"variant_id": "35",
"variant": "New Brand3"
}
......

examples:

http://api.opencart-api.com/demo/admin/#/Manufacturer