has_one
discount_engines

Retrieve the discount engine associated to the market

Changed on

Retrieve the discount engine associated to the market

get/markets/{marketId}/discount_engine

Request

  • Base URL
    https://{your_organization_slug}.commercelayer.io/api
  • URL
    https://{your_organization_slug}.commercelayer.io/api/markets/{marketId}/discount_engine
  • Auth
    HTTP bearer

Path parameters

marketIdstring required

The resource's id

Response

The discount_engine associated to the market

Changes