Medusa MCP Server

by SGFGOV
Verified

AdminGetPromotionsIdRule_type

Retrieve promotion rules by specifying the rule_type parameter—options include rules, target-rules, or buy-rules—to manage and analyze promotion configurations effectively.

Instructions

This tool helps store administors. Retrieve a list of rules in a promotion. The type of rules retrieved depend on the value of the rule_type path parameter:

  • If rule_type is rules, the promotion's rules are retrivied. - If rule_type is target-rules, the target rules of the promotion's application method are retrieved.
  • If rule_type is buy-rules, the buy rules of the promotion's application method are retrieved.

Input Schema

NameRequiredDescriptionDefault
fieldsNo
idNo
rule_typeNo

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "fields": { "type": "string" }, "id": { "type": "string" }, "rule_type": { "type": "string" } }, "type": "object" }

You must be authenticated.

Other Tools from Medusa MCP Server

Related Tools

ID: mm0iug6eap