Copy PageUpdate an invoiceput https://apisandbox.sadadpay.net/api/Invoice/updateChange an unpaid invoice. Get the record first, change the fields you need, and send the whole object back. A partial body is rejected (for example CustomerNameRequired). Errors errorKeyCauseCustomerNameRequiredThe body is not the full invoiceRecent RequestsLog in to see full request historyTimeStatusUser Agent Retrieving recent requests…LoadingLoading…Body Paramsidint64vendor_Idint64codestring | nulltypestring | nullstatusstring | nullamountdoublealt_Amountdoubletotaldoublesubtotaldoublerefunded_AmountdoublesendTypestring | nulllangstring | nullcustomer_Namestring | nullcustomer_Mobilestring | nullcustomer_Emailstring | nullref_Numberstring | nullcurrency_Codestring | nulldiscount_Typestring | nulldiscount_Amountdoublediscount_Amount_Totaldoubleexpiry_Datestring | nullattachmentstring | nullremind_Afterint32commentstring | nullterms_Condition_Enabledbooleantruefalseterms_Conditionstring | nullkeystring | nullitemsarray of objects | nullitemsADD objecttransactionsarray of objects | nulltransactionsADD objecttransactionIDstring | nullpaymentGatewaystring | nullpaymentGatewayCodestring | nulldeletedbooleantruefalseurlstring | nullqrstring | nullorderStatusstring | nullsuccess_ReturnURLstring | nullfail_ReturnURLstring | nullorderSession_Idint64shortLinkstring | nullshort_urlstring | nullpayment_Methodsstring | nullcreateDatestring | nullpayment_Datestring | nullvendor_Companystring | nullvendor_Logostring | nullResponses 200OK. Check isValid: validation errors also return HTTP 200 with isValid: false. 401The token is missing, wrong or expired.Updated 9 days ago Did this page help you?YesNo