Skip to navigation

List modifier products

View as Markdown

Get products for a modifier

Returns the products currently linked to the modifier :modifierId. It is the read counterpart of POST /product-modifiers/products/link.

Authentication

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

Path params

  • modifierId — the modifier UUID. Must belong to your store, otherwise 400 Bad Request (Modifier not found in yours).

Response

A bare array of full product objects (no pagination envelope). There is no request body.


Notas: Handler: productModifiersService.getProductsForModifier. Returns a bare array read through the productModifiers join table. Inverse view of GET /v1/products/:productId/modifiers.

Authentication

x-api-keystring
API Key authentication via header

Path parameters

modifierIdstringRequired
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.