how to create mmjmenu using php api?
786
I want to add product using MMJMenu api from my php application.
we can easily get MMJMenu products using it's api to our application but how to create product using api
Here using this code i can get product...
<?php
require 'API/Mmjmenu.php';
$client = new Mmjmenu('JHDGFDS46JSsdf654FSJHDSH');
$menuItems = $client->menuItems();
$menuItems = json_decode($menuItems, true);
foreach($menuItems['menu_items'] as $item)
{
echo $item['name'];
}
?>
Answer
Solution:
The MMJMenu API is read-only, so there is currently no option to create new menu items through the API.