Logidav Docs

PriceController extends Controller
in package

Price controller.

Tags
Route

("product/price")

Table of Contents

Properties

$priceService  : PriceService

Methods

__construct()  : mixed
Price controller constructor.
forceAvailabilityStoreAction()  : mixed
Update in STORE ID == 20
getProductInfosFromMerchant()  : JsonResponse
Get Product infos from Merchant center
indexAction()  : mixed
Lists all product entities.
listDropshsipPricesAction()  : mixed
Lists all drop ship products prices
paginateProductPriceAction()  : JsonResponse
productCalculatedCoeffAction()  : JsonResponse
productCalculatedShippingPriceAction()  : JsonResponse
productCreateShippingCartAction()  : JsonResponse
productPriceLogAction()  : JsonResponse
productUpdateApiAction()  : JsonResponse
Update Product transport price
simulateNewPriceFromBaseOfCalculationAction()  : Response
updateBuyingPriceAction()  : Response
updateProductLotFdpsAction()  : JsonResponse
Bulk update products fdps by command
updateProductLotPricesAction()  : JsonResponse
Bulk update products price by command
updateProductPricesAction()  : Response
updateSpecialPricesAction()  : Response

Properties

Methods

forceAvailabilityStoreAction()

Update in STORE ID == 20

public forceAvailabilityStoreAction(Request $request[, mixed $storeId = ProductInfoService::STORE_ID_FRANCE ]) : mixed
Parameters
$request : Request
$storeId : mixed = ProductInfoService::STORE_ID_FRANCE
Tags
Route

("/product-force-availability-store/{storeId}", defaults={"storeId" = null}, name="product_force_availability_store_v2", requirements={"storeId"="\d+"})

Method

("POST")

getProductInfosFromMerchant()

Get Product infos from Merchant center

public getProductInfosFromMerchant(Product $product, mixed $storeId) : JsonResponse
Parameters
$product : Product
$storeId : mixed
Tags
Route

("/product-get-infos-from-merchant/{id}/{storeId}", name="product_get_infos_from_merchant_v2", requirements={"storeId"="\d+"})

ParamConverter

("product", class="AppBundle:product")

throws
GuzzleException
throws
GoogleMerchantException
throws
Exception
Return values
JsonResponse

indexAction()

Lists all product entities.

public indexAction([mixed $storeId = ProductInfoService::STORE_ID_FRANCE ], Request $request) : mixed
Parameters
$storeId : mixed = ProductInfoService::STORE_ID_FRANCE
$request : Request
Tags
Route

("/{storeId}", defaults={"storeId" = null}, name="product_price_index", requirements={"storeId"="\d+"})

Method

({"GET", "POST"})

listDropshsipPricesAction()

Lists all drop ship products prices

public listDropshsipPricesAction() : mixed
Tags
Route

("/dropship/{storeId}", defaults={"storeId" = null}, name="product_price_dropShip", requirements={"storeId"="\d+"})

Method

({"GET", "POST"})

paginateProductPriceAction()

public paginateProductPriceAction(Request $request[, mixed $storeId = ProductInfoService::STORE_ID_FRANCE ]) : JsonResponse
Parameters
$request : Request
$storeId : mixed = ProductInfoService::STORE_ID_FRANCE
Tags
Route

("/paginate/{storeId}", defaults={"storeId" = null}, name="product_price_paginate", requirements={"storeId"="\d+"})

Method

({"GET", "POST"})

Return values
JsonResponse

productCalculatedCoeffAction()

public productCalculatedCoeffAction(Request $request) : JsonResponse
Parameters
$request : Request
Tags
Route

("/product-calculated-coeff", name="product_calculated_coeff_v2")

Return values
JsonResponse

productCalculatedShippingPriceAction()

public productCalculatedShippingPriceAction(Request $request) : JsonResponse
Parameters
$request : Request
Tags
Route

("/product-calculated-shipping-price", name="product_calculated_shipping_price_v2")

Return values
JsonResponse

productCreateShippingCartAction()

public productCreateShippingCartAction(Request $request[, mixed $storeId = ProductInfoService::STORE_ID_FRANCE ]) : JsonResponse
Parameters
$request : Request
$storeId : mixed = ProductInfoService::STORE_ID_FRANCE
Tags
Route

("/product-create-shipping-cart/{storeId}", defaults={"storeId" = null}, name="product_create_shipping_cart_v2", requirements={"storeId"="\d+"})

Return values
JsonResponse

productPriceLogAction()

public productPriceLogAction(Request $request[, mixed $storeId = ProductInfoService::STORE_ID_FRANCE ]) : JsonResponse
Parameters
$request : Request
$storeId : mixed = ProductInfoService::STORE_ID_FRANCE
Tags
Route

("/product-price-log/{storeId}", defaults={"storeId" = null}, name="product_price_log_v2", requirements={"storeId"="\d+"})

Return values
JsonResponse

productUpdateApiAction()

Update Product transport price

public productUpdateApiAction(Request $request) : JsonResponse
Parameters
$request : Request
Tags
Route

("/product-update-api", name="product_update_api_v2")

throws
Exception
Return values
JsonResponse

simulateNewPriceFromBaseOfCalculationAction()

public simulateNewPriceFromBaseOfCalculationAction(Request $request) : Response
Parameters
$request : Request
Tags
Route

("/check_price_after_update", name="check_price_after_update")

Method

("POST")

throws
Exception
Return values
Response

updateBuyingPriceAction()

public updateBuyingPriceAction(Request $request) : Response
Parameters
$request : Request
Tags
Route

("/update-buying-price", name="update_buying_price_v2")

Return values
Response

updateProductLotFdpsAction()

Bulk update products fdps by command

public updateProductLotFdpsAction(Request $request[, int $storeId = ProductInfoService::STORE_ID_FRANCE ]) : JsonResponse
Parameters
$request : Request
$storeId : int = ProductInfoService::STORE_ID_FRANCE
Tags
Route

("/update-product-lot-fdps/{storeId}", name="update_product_lot_fdps_v2", requirements={"storeId"="\d+"})

Method

("POST")

Return values
JsonResponse

updateProductLotPricesAction()

Bulk update products price by command

public updateProductLotPricesAction(Request $request[, mixed $storeId = ProductInfoService::STORE_ID_FRANCE ]) : JsonResponse
Parameters
$request : Request
$storeId : mixed = ProductInfoService::STORE_ID_FRANCE
Tags
Route

("/update-product-lot-prices/{storeId}", name="update_product_lot_prices_v2", requirements={"storeId"="\d+"})

Method

("POST")

Return values
JsonResponse

updateProductPricesAction()

public updateProductPricesAction(Request $request[, null $storeId = ProductInfoService::STORE_ID_FRANCE ], ProductPriceSheetChangesLogService $logService) : Response
Parameters
$request : Request
$storeId : null = ProductInfoService::STORE_ID_FRANCE
$logService : ProductPriceSheetChangesLogService
Tags
Route

("/update-product-prices/{storeId}", defaults={"storeId" = null}, name="update_product_prices_v2", requirements={"storeId"="\d+"})

Method

("POST")

throws
Exception
Return values
Response

updateSpecialPricesAction()

public updateSpecialPricesAction(Request $request[, null $storeId = ProductInfoService::STORE_ID_FRANCE ]) : Response
Parameters
$request : Request
$storeId : null = ProductInfoService::STORE_ID_FRANCE
Tags
Route

("/update-special-prices/{storeId}", name="update_lot_special_prices_v2", requirements={"storeId"="\d+"})

Method

("POST")

throws
Exception
Return values
Response

        
On this page

Search results