Update pay itemCopy Pageput https://api.wafeq.com/v1/payslips/{payslip_id}/pay-items/{id}/Endpoint for updating an existing pay item.Path Paramspayslip_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 pay item.amountdoublerequiredThe unit amount for the pay item.cost_centerstring | nullThe cost center associated with this pay item.descriptionstringrequiredThe line item description for the pay 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