Medusa MCP Server

by SGFGOV
Verified

AdminGetPromotionsRuleAttributeOptionsRule_type

Retrieve rule attributes for promotions based on specified rule type, application method, and promotion type to streamline admin tasks. Supports rules, target-rules, and buy-rules.

Instructions

This tool helps store administors. Retrieve a list of potential rule attributes for the promotion and application method types specified in the query parameters. Only the attributes of the rule type specified in the path parameter are retrieved:

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

Input Schema

NameRequiredDescriptionDefault
application_method_typeNo
promotion_typeNo
rule_typeNo

Input Schema (JSON Schema)

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

You must be authenticated.

Other Tools from Medusa MCP Server

Related Tools

ID: mm0iug6eap