Skip to main content
string
The Spring bean identifier containing the service being called.attributeServiceImpl
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: required.
  • 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

AttributeRepository

getRepository

MeasurementRepository

getMeasurementRepository

OptionRepository

getOptionsRepository

Deque<Map<String, Object>>

getPaginationFilter

SearchResponse

searchAttributesLightweight

Example JSON request object:
Request:
SearchResponse

searchAttributes

Example JSON request object:
Request:
LinkedHashSet<AttributeDTO>

searchAttributes

Page<Attribute>

searchAttributesPaged

Deque<Map<String, Object>>

getPaginationMeasurements

SearchResponse

searchMeasurements

Example JSON request object:
Request:
LinkedHashSet<MeasurementDTO>

searchMeasurements

Page<Measurement>

searchMeasurementsPaged

Deque<Map<String, Object>>

getPaginationOptions

SearchResponse

searchOptions

Example JSON request object:
Request:
LinkedHashSet<OptionDTO>

searchOptions

Page<Option>

searchOptionsPaged

List<Attribute>

searchAttributes

Example JSON request object:
Request:
List<Attribute>

findAttributes

List<Measurement>

searchMeasurements

Example JSON request object:
Request:
List<Measurement>

findMeasurements

List<Option>

searchOptions

List<Option>

findOptions

List<Option>

getOptionsFromAttribute

String

getMeasurementValueFromAttribute

String

getAttributeValue

Optional<Measurement>

createMeasurement

Example JSON request object:
Request:
Optional<Option>

createOption

Example JSON request object:
Request:
Optional<Attribute>

createAttribute

Example JSON request object:
Request:
Attribute

addAttributeToProduct

Example JSON request object:
Request:
Attribute

addAttributeToProduct

Attribute

addAttributeToSKU

Example JSON request object:
Request:
Attribute

addAttributeToSKU

Attribute

saveAttribute

Example JSON request object:
Request:
Measurement

saveMeasurement

Example JSON request object:
Request:
Option

saveOption

Example JSON request object:
Request:
void

removeAttributeFromProduct

void

removeAttributeFromProducts

void

removeAttributeFromSKU

void

removeAttributeFromSKUs

void

removeAttributeValue

void

removeAttributeFromTranslation

void

removeAttributeFromTranslations

void

removeAttributeFromOption

void

removeAttributeFromOptions

void

removeAttributeFromMeasurement

void

removeAttributeAndClean

void

removeMeasurementFromAttribute

void

removeMeasurementFromAttributes

void

removeMeasurementAndClean

void

removeOptionFromAttribute

void

removeOptionFromAttributes

void

removeOptionFromTranslation

void

removeOptionFromTranslations

void

removeOptionAndClean

void

removeAttributeValuesByAttributeId

void

removeAttributesByIds

void

removeMeasurementsByIds

void

removeOptionsByIds