Skip to main content
string
The Spring bean identifier containing the service being called.productServiceImpl
string
default:"PROTOTYPE"
Bean scope. Use PROTOTYPE for service calls.
string
The public service method name shown in the signature below.
object[]
The method argument array. Each argument is passed as an object with index 0, 1, and so on; the value must match the Java parameter type.

Headers

Send Lang-Context and Site-Context with every request. For protected methods, send the JWT in the Authorization header as Bearer <token>. Access: ADMIN. Bearer Token: conditional for USER/ADMIN.
  • GUEST — unauthenticated users; only whitelist services are available.
  • USER — authentication is required; methods with USER checks are available.
  • ADMIN — full access to public methods of all services.
  • If a method checks a role internally, GUEST may receive null.

Methods

ProductRepository

getRepository

Deque<Map<String, Object>>

getPaginationFilter

SearchResponse

searchProducts

Example JSON request object:
Request:
SearchResponse

searchProductsLightweight

Example JSON request object:
Request:
LinkedHashSet<ProductDTO>

searchProducts

Example JSON request object:
Request:
Page<Product>

searchProductsPaged

List<Product>

searchProducts

Optional<Product>

createProduct

Example JSON request object:
Request:
Product

addProductToCategory

Example JSON request object:
Request:
Product

addProductToCategory

Product

saveProduct

Example JSON request object:
Request:
List<Map<String, String>>

getSortedProductsByCategory

List<Map<String, Object>>

getProductsByCategoryAndFirstLetter

void

removeProductFromCategory

void

removeProductFromSKU

void

removeProductFromAttribute

void

removeProductFromTranslation

void

removeProductFromCategories

void

removeProductFromSKUs

void

removeProductFromAttributes

void

removeProductFromTranslations

void

removeProductAndClean

void

removeProductsByIds