List modifiers
List modifiers
Returns a paginated list of the modifiers belonging to the authenticated merchant’s store, each one including its options.
Authentication
- Merchant API key in
x-api-key(aliasx-account-api-key). - Requires
Merchant.product.read.
Query params (FilterModifierDto extends PaginationDto)
page(default 1) andper_page(default 10). Setper_page=0to return every record.name— case-insensitivecontainsfilter on the modifier name.sort— ordering over the allowed fieldscreatedAt,name(e.g.sort=name:asc).
Response
Envelope with _metadata (page, per_page, total_page, total_count) and records, where each record embeds its options array.
Notas: Handler: modifierService.findAll. Results are always scoped to the caller’s storeId. per_page=0 disables pagination (_metadata.per_page then equals total_count).
Authentication
Headers
Scope the request to a specific store / account instead of the one resolved from the API key. Aliases: the x-account-id header, or the application_account_id / account_id query parameter.
Query parameters
Sort by one or more fields, comma-separated.
Allowed fields: createdAt, name
Formats: field (ascending by default), +field, -field, field:asc, field:desc (| also works as the separator).
