Forked from krzysztofbialek/backup_rate_example.yml
Created
October 25, 2022 17:14
-
-
Save shopifypartners/da7ccba749c575cc7037ed91ab127daf to your computer and use it in GitHub Desktop.
Backup rates example for Shipping Applications development good practices
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
rate_definitions: | |
- | |
name: Standard | |
price: 0 | |
currency: CAD | |
rate_class_id: 10 | |
conditions: | |
- | |
field: total_price | |
criteria: 100 | |
criteria_unit: CAD | |
operator: greater_than_or_equal_to | |
- | |
name: Standard | |
price: 14.90 | |
currency: CAD | |
conditions: | |
- | |
field: total_weight | |
criteria: 2.0 | |
criteria_unit: kg | |
operator: less_than_or_equal_to | |
- | |
name: Standard | |
price: 21.90 | |
currency: CAD | |
conditions: | |
- | |
field: total_weight | |
criteria: 2.0 | |
criteria_unit: kg | |
operator: greater_than_or_equal_to | |
- | |
field: total_weight | |
criteria: 30.0 | |
criteria_unit: kg | |
operator: less_than_or_equal_to | |
- | |
name: Express | |
price: 21.90 | |
currency: CAD | |
conditions: | |
- | |
field: total_weight | |
criteria: 2.0 | |
criteria_unit: kg | |
operator: less_than_or_equal_to |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment