Skip to content

Commit

Permalink
Add example to update orderlines
Browse files Browse the repository at this point in the history
  • Loading branch information
justincase committed Jun 13, 2021
1 parent c70dbf6 commit 33bb6bb
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions examples/orders/update-orderline.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
orderline_id = "odl_dgtxyl"

order = Mollie::Order::Line.update(
orderline_id,
order_id: "ord_kEn1PlbGa",
sku: "new-sku-12345678"
)

0 comments on commit 33bb6bb

Please sign in to comment.