Files
Discount-Bandit/routes/api.php
T
YNWA Fawzy 8a3bbd7cb0 - fix plugin not working
- minimize data sent by plugin
- fix the lowest price always zero.
- add method to update the price when you visit the product page with the extension.
- fix new store not added on existing product
- format prices on chart
- fix multiple prices not showing in tooltip in price history widget when store is added later on.
2024-08-04 18:42:52 +04:00

17 lines
513 B
PHP

<?php
use Illuminate\Http\Request;
use Illuminate\Support\Facades\Route;
Route::middleware('auth:sanctum')
->prefix("products")
->name('products.')
->group(function (){
Route::post("get" , \App\Http\Controllers\Actions\GetProductController::class )->name("get");
Route::post("update" , \App\Http\Controllers\Actions\UpdateProductController::class )->name("update");
Route::post("create" , \App\Http\Controllers\Actions\CreateProductController::class)->name("create");
});