Skip to content

Commit adfaed0

Browse files
committed
add more context
1 parent 2c58aee commit adfaed0

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

README.md

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,11 +45,20 @@ end
4545
### Orders
4646
In Patch, orders represent a purchase of carbon offsets or negative emissions by mass. Place orders directly if you know the amount of carbon dioxide you would like to sequester. If you do not know how much to purchase, use an estimate.
4747

48+
In Patch, orders represent a purchase of carbon offsets or negative emissions by mass.
49+
Place orders directly if you know the amount of carbon dioxide you would like to sequester.
50+
If you do not know how much to purchase, use an estimate.
51+
You can also create an order with a maximum desired price, and we'll allocate enough mass to
52+
fulfill the order for you.
53+
4854
[API Reference](https://docs.usepatch.com/#/?id=orders)
4955

5056
#### Examples
5157
```ruby
52-
# Create an order
58+
# Create an order - you can create an order
59+
# providing either mass_g or total_price_cents_usd, but not both
60+
61+
# Create order with mass
5362
mass = 1_000_000 # Pass in the mass in grams (i.e. 1 metric tonne)
5463
Patch::Order.create_order(mass_g: mass)
5564

0 commit comments

Comments
 (0)