Spree Admin SDK
Update a delivery method rule
Changes a rule’s settings or turns it off. Its type is fixed once created.
Required scope: write_settings (for API-key authentication).
PATCH
Spree Admin SDK
Authorizations
Secret API key for admin access
JWT token for admin user authentication
Body
application/json
Response
200 - application/json
rule updated
Rule type. Built-in: item_total_rule, weight_rule, excluded_products_rule, channel_rule, volume_rule, company_rule. Extensions may register more.
Settings of a delivery method rule, shaped by its type (see x-spree-preferences-by-type). A type an extension registers is a plain object, described by the schema its /types entry carries.
- Option 1
- Option 2
- Option 3
- Option 4
- Option 5
- Option 6
- Option 7

