has_one
discount_engines
Retrieve the discount engine associated to the market
Changed onRetrieve the discount engine associated to the market
get/markets/{marketId}/discount_engine
Request
- Base URLhttps://{your_organization_slug}.commercelayer.io/api
- URLhttps://{your_organization_slug}.commercelayer.io/api/markets/{marketId}/discount_engine
- AuthHTTP bearer
Path parameters
marketIdstring required
The resource's id
Response
The discount_engine associated to the market
Changes
- info
endpoint added
- info