Skip to navigation

Get modifier

View as Markdown

Get modifier by ID

Fetches a single modifier by its id, including its options, scoped to the authenticated merchant’s store.

Authentication

  • Merchant API key in x-api-key (alias x-account-api-key).
  • Requires Merchant.product.read.

Path params

  • id — the modifier UUID.

Behavior

If the modifier does not exist for the caller’s store the API responds 400 Bad Request (Modifier with id <id> not found).


Notas: Handler: modifierService.findOne -> findAndValidateOne. A modifier from another store returns 400 (BadRequestException), not 404/403.

Authentication

x-api-keystring
API Key authentication via header

Path parameters

idstringRequired
The modifier UUID. Must belong to the authenticated store.

Headers

x-application-account-idstringOptional

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.