Update an Invoice

PATCH https://api.razorpay.com/v1/invoices/{inv_id}

Update an invoice using this API.

Know more about the Update an Invoice API .

Request Params

| Key | Datatype | Required | Description | | count | number | | | | skip | number | | |

Request Body

{"partial_payment"=>true, "customer"=>{"name"=>"Saurav Kumar", "contact"=>"9123456789", "email"=>"saurav.kumar@example.com"}, "line_items"=>[{"name"=>"Crate of Red Herbs", "description"=>"Red Herbs from Resident Evil", "amount"=>50000, "currency"=>"INR", "quantity"=>5}, {"item_id"=>"{item_id}"}], "sms_notify"=>1, "email_notify"=>1, "draft"=>"1", "date"=>1588076279, "expire_by"=>1924991999, "receipt"=>"Receipt No. 1", "comment"=>"Fresh herbs mowed this morning", "terms"=>"No Returns; No Refunds", "notes"=>{"notes_key_1"=>"Beam me up Scotty.", "notes_key_2"=>"Engage"}}

HEADERS

| Key | Datatype | Required | Description | | Content-Type | string | | |

RESPONSES

status: ``