Skip to content

Commit

Permalink
update doc
Browse files Browse the repository at this point in the history
  • Loading branch information
ankitdas13 committed May 27, 2024
1 parent 1fcd3fa commit c06d03c
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions documents/order.md
Original file line number Diff line number Diff line change
Expand Up @@ -280,7 +280,7 @@ Razorpay::Order.edit(orderId,para_attr)
```go
orderId = "order_XXXXXXXXXXXXX1"

Razorpay::Order.fetch(orderId).view_rto
Razorpay::Order.view_rto(orderId)
```
**Parameters**

Expand Down Expand Up @@ -311,6 +311,8 @@ Razorpay::Order.fetch(orderId).view_rto
### Update the Fulfillment Details

```rb
order_id = "order_XXXXXXXXXXXXX1"

para_attr = {
"payment_method": "upi",
"shipping": {
Expand All @@ -320,7 +322,7 @@ para_attr = {
}
}

Razorpay::Order.fetch("order_XXXXXXXXXXXXX1").edit_fulfillment(para_attr)
Razorpay::Order.edit_fulfillment(order_id, para_attr)
```
**Parameters**

Expand Down

0 comments on commit c06d03c

Please sign in to comment.