Update credit note line itemCopy Pageput https://api.wafeq.com/v1/credit-notes/{credit_note_id}/line-items/{id}/Endpoint for updating an existing credit note line item.Path Paramscredit_note_idstringrequiredidstringrequiredBody Paramsapplication/jsonapplication/x-www-form-urlencodedmultipart/form-dataA ModelSerializer that takes additional arguments for "fields", "omit" and "expand" in order to control which fields are displayed, and whether to replace simple values with complex, nested serializationsaccountstringrequiredThe account associated with this line item.cost_centerstringThe cost center associated with this line item.custom_fieldsobjectA mapping of custom field IDs to their values.custom_fields objectdescriptionstringrequiredThe line item description.discountdouble | null≥ 0The discount as the percentage.itemstringThe item associated with this line item.item_unit_of_measurestring | nullThe item unit of measure for this line item.quantitydoublerequiredThe quantity of the item.tax_ratestringThe tax rate applied to this line item.unit_amountdoublerequiredThe unit amount of the item.HeadersX-Wafeq-Idempotency-KeystringClient-provided UUID to uniquely identify a requestcontent-typestringenumDefaults to application/jsonGenerated from available request content typesapplication/jsonapplication/x-www-form-urlencodedmultipart/form-dataAllowed:application/jsonapplication/x-www-form-urlencodedmultipart/form-dataResponse 200Updated 22 days ago