Update Payment Mode

Changed on

The CREDIT payment mode cannot be edited. If restrict_to_access_role is set on the existing mode, the caller's role must be in enabled_to_access_role or the request is rejected (403).

put/invoices/payment_modes/{payment_mode_uid}

Request

  • Base URL
    https://dc-region.zuperpro.com/api
  • URL
    https://dc-region.zuperpro.com/api/invoices/payment_modes/{payment_mode_uid}
  • Auth
    API key in header x-api-key

Path parameters

payment_mode_uidstring required

uid of payment mode

Request body

Response

200

typestring
titlestring
messagestring

Example response

{
  "type": "success",
  "title": "Payment Mode Updated",
  "message": "The Payment Mode has been updated successfully",
  "data": {
    "payment_mode_uid": "a3cde638-ec48-432d-9b7f-aefe94f4501d"
  }
}

Changes