class ProductRelationshipJSONController extends Controller

Class ProductRelationshipJSONController defines API routes for product relationship

Methods

JsonResponse
getRelationshipsJQGridAction(ArrayCollection $productRelationshipJQGRID)

API route for loading all product relationships

JsonResponse
searchProductsAction(ArrayCollection $productRelationshipProductSearchJSON)

API route for searching products

JsonResponse
deleteProductRelationshipJSONAction(ArrayCollection $productRelationshipDeleteJSON)

API route for deleting product relationships

JsonResponse
getProductsForRelationshipPaginationJSONAction(ArrayCollection $productRelationshipProductsPaginationJQgridJSON)

API route for loading product relationships products with pagination

JsonResponse
productRelationshipAddNewProduct(ArrayCollection $productRelationshipAddNewProductJSON)

API route for adding product to product relationship

JsonResponse
productRelationshipRemoveProduct(ArrayCollection $productRelationshipRemoveProductJSON)

API route for removing product from product relationship

JsonResponse
productRelationshipChangeProductRelationshipName(ArrayCollection $productRelationshipChangeProductRelationshipName)

API route for changing product relationship name

JsonResponse
productRelationshipSaveRelationshipWithoutMainProduct(ArrayCollection $productRelationshipSaveRelationshipWithoutMainProduct)

API route for saving new product relationship without main product

JsonResponse
saveCatProductsJSONAction(ArrayCollection $productRelationshipSaveCatProductsJSON)

API route for saving category products to relationship

JsonResponse
removeCatProductsJSONAction(ArrayCollection $productRelationshipRemoveCatProductsJSON)

API route for removing category product from relationship

JsonResponse
getCatProductsJSONAction(ArrayCollection $productRelationshipCatProductsJSON)

API route for loading category products from relationship

JsonResponse
getRelationshipDataJSONAction(ArrayCollection $productRelationshipProductsPaginationJSON)

API route for loading product relationship data

JsonResponse
changeOrderForProductsInRelationshipAction(ArrayCollection $changeOrderForProductsInRelationshipJSON)

API route for changing products order in relationship

JsonResponse
getForProductAction(ArrayCollection $productRelationshipPaginationJSON)

API route for rendering product relationship section

JsonResponse
getForRightSectionProductAction(ArrayCollection $productRelationshipPaginationJSON)

API route for rendering product relationship section

JsonResponse
productRelationshipEditAction(ArrayCollection $productRelationshipEdit)

API route for editing product relationship

JsonResponse
saveSettingsAction(ArrayCollection $productRelationshipSettingsJSON)

API route for saving product relationship settings

JsonResponse
importProductRelationshipsFromCsvAction(ArrayCollection $productRelationshipImportCsvJSON)

API route for importing product relationships from CSV file

Details

at line 52
JsonResponse getRelationshipsJQGridAction(ArrayCollection $productRelationshipJQGRID)

API route for loading all product relationships

Parameters

ArrayCollection $productRelationshipJQGRID

Return Value

JsonResponse

See also

ProductRelationshipJQGRIDConverter

at line 67
JsonResponse searchProductsAction(ArrayCollection $productRelationshipProductSearchJSON)

API route for searching products

Parameters

ArrayCollection $productRelationshipProductSearchJSON

Return Value

JsonResponse

See also

ProductRelationshipProductSearchJSONConverter

at line 84
JsonResponse deleteProductRelationshipJSONAction(ArrayCollection $productRelationshipDeleteJSON)

API route for deleting product relationships

Parameters

ArrayCollection $productRelationshipDeleteJSON

Return Value

JsonResponse

See also

ProductRelationshipDeleteJSONConverter

at line 99
JsonResponse getProductsForRelationshipPaginationJSONAction(ArrayCollection $productRelationshipProductsPaginationJQgridJSON)

API route for loading product relationships products with pagination

Parameters

ArrayCollection $productRelationshipProductsPaginationJQgridJSON

Return Value

JsonResponse

See also

ProductRelationshipProductsPaginationJQgridJSONConverter

at line 114
JsonResponse productRelationshipAddNewProduct(ArrayCollection $productRelationshipAddNewProductJSON)

API route for adding product to product relationship

Parameters

ArrayCollection $productRelationshipAddNewProductJSON

Return Value

JsonResponse

See also

ProductRelationshipAddNewProductJSONConverter

at line 132
JsonResponse productRelationshipRemoveProduct(ArrayCollection $productRelationshipRemoveProductJSON)

API route for removing product from product relationship

Parameters

ArrayCollection $productRelationshipRemoveProductJSON

Return Value

JsonResponse

See also

ProductRelationshipRemoveProductJSONConverter

at line 150
JsonResponse productRelationshipChangeProductRelationshipName(ArrayCollection $productRelationshipChangeProductRelationshipName)

API route for changing product relationship name

Parameters

ArrayCollection $productRelationshipChangeProductRelationshipName

Return Value

JsonResponse

See also

ProductRelationshipChangeProductRelationshipNameConverter

at line 168
JsonResponse productRelationshipSaveRelationshipWithoutMainProduct(ArrayCollection $productRelationshipSaveRelationshipWithoutMainProduct)

API route for saving new product relationship without main product

Parameters

ArrayCollection $productRelationshipSaveRelationshipWithoutMainProduct

Return Value

JsonResponse

See also

ProductRelationshipSaveRelationshipWithoutMainProductConverter

at line 193
JsonResponse saveCatProductsJSONAction(ArrayCollection $productRelationshipSaveCatProductsJSON)

API route for saving category products to relationship

Parameters

ArrayCollection $productRelationshipSaveCatProductsJSON

Return Value

JsonResponse

See also

ProductRelationshipSaveCatProductsJSONConverter

at line 211
JsonResponse removeCatProductsJSONAction(ArrayCollection $productRelationshipRemoveCatProductsJSON)

API route for removing category product from relationship

Parameters

ArrayCollection $productRelationshipRemoveCatProductsJSON

Return Value

JsonResponse

See also

ProductRelationshipRemoveCatProductsJSONConverter

at line 229
JsonResponse getCatProductsJSONAction(ArrayCollection $productRelationshipCatProductsJSON)

API route for loading category products from relationship

Parameters

ArrayCollection $productRelationshipCatProductsJSON

Return Value

JsonResponse

See also

ProductRelationshipCatProductsJSONConverter

at line 249
JsonResponse getRelationshipDataJSONAction(ArrayCollection $productRelationshipProductsPaginationJSON)

API route for loading product relationship data

Parameters

ArrayCollection $productRelationshipProductsPaginationJSON

Return Value

JsonResponse

See also

ProductRelationshipProductsPaginationJSONConverter

at line 271
JsonResponse changeOrderForProductsInRelationshipAction(ArrayCollection $changeOrderForProductsInRelationshipJSON)

API route for changing products order in relationship

Parameters

ArrayCollection $changeOrderForProductsInRelationshipJSON

Return Value

JsonResponse

See also

ChangeOrderForProductsInRelationshipJSONConverter

at line 286
JsonResponse getForProductAction(ArrayCollection $productRelationshipPaginationJSON)

API route for rendering product relationship section

Parameters

ArrayCollection $productRelationshipPaginationJSON

Return Value

JsonResponse

See also

ProductRelationshipPaginationJSONConverter

at line 324
JsonResponse getForRightSectionProductAction(ArrayCollection $productRelationshipPaginationJSON)

API route for rendering product relationship section

Parameters

ArrayCollection $productRelationshipPaginationJSON

Return Value

JsonResponse

See also

ProductRelationshipPaginationJSONConverter

at line 359
JsonResponse productRelationshipEditAction(ArrayCollection $productRelationshipEdit)

API route for editing product relationship

Parameters

ArrayCollection $productRelationshipEdit

Return Value

JsonResponse

See also

ProductRelationshipEditConverter

at line 374
JsonResponse saveSettingsAction(ArrayCollection $productRelationshipSettingsJSON)

API route for saving product relationship settings

Parameters

ArrayCollection $productRelationshipSettingsJSON

Return Value

JsonResponse

See also

ProductRelationshipSettingsJSONConverter

at line 389
JsonResponse importProductRelationshipsFromCsvAction(ArrayCollection $productRelationshipImportCsvJSON)

API route for importing product relationships from CSV file

Parameters

ArrayCollection $productRelationshipImportCsvJSON

Return Value

JsonResponse

See also

ProductRelationshipImportCsvJSONConverter