Create a rule on a promotion
Adds a new rule to a promotion. The type is the wire shorthand from GET /promotion_rules/types (e.g. currency, item_total, product).
Required scope: write_promotions (for API-key authentication).
POST
Spree Admin SDK
Authorizations
Body
application/json
Response
rule created with preferences
Spree Admin SDK

