Create an order routing rule on a channel
Adds a rule to the channel’s routing list. The type is the wire shorthand from GET /order_routing_rules/types (e.g. preferred_location). Omitting position appends the rule at the end of the list. Each rule kind can appear at most once per channel — a duplicate type is rejected with a validation error.
Required scope: write_settings (for API-key authentication).
POST
Spree Admin SDK
Authorizations
Secret API key for admin access
JWT token for admin user authentication
Path Parameters
Body
application/json
Response
rule created
Spree Admin SDK

