You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To update an existing Promotion Rule, you are required to pass the ID of the rule you are updating.
[optional]
type
String
Set the Promotion Rule type.
[optional]
preferred_country_id
Integer
Each rule type has its own preferred attributes. In this example we are changing the ID of the Country this rule applies to. To learn more about Spree preferences visit TODO: [LINK].