Partial Update prepayment categories by Id
PATCH
/api/v2/prepayment_categories/c75602d1-d8ef-49c6-a77b-7908f58eb912
Use this method to update Prepayment categories. See our HTTP PUT documentation for complete queries method.
The following are elements for update Prepayment categories :
Body Request
Element | Description |
---|---|
reason | The reason why changes were made. String 170 characters . |
name | The field you want to change String. |
Body Response
Element | Description |
---|---|
id | Prepayment categories id. String Automatically . |
name | Prepayment categories name. String. |
description | Prepayment categories description String. |
is_active | true if is active or false if is not active Boolean. |
in.is_applicable | true if this category is used in sale transactions and cash in transactions or false if is not applicable Boolean. |
in.account.id | Account id for prepayment categories, String. |
in.account.code | Account code for prepayment categories, String. |
in.account.name | Account name for prepayment categories, String. |
out.is_applicable | true if this category is used in purchase transactions and cash out transactions or false if is not applicable Boolean. |
out.account.id | Account id for prepayment categories, String. |
out.account.code | Account code for prepayment categories, String. |
out.account.name | Account name for prepayment categories, String. |