# Update a specific batch **PATCH /batch/{id}** Change the properties of a batch ## Servers - API Auto Mocking: https://YOURSITE.infoodle.com/apiv2 (API Auto Mocking) ## Authentication methods - O auth2 ## Parameters ### Path parameters - **id** (integer) Which item to be processed ### Body: application/json (object) Specify one or more fields and their new values to change it - **batch_code** (string) Use this to store the short version of a batch, generally around 20 chars max - **description** (string) Longer description of the batch - **bank_account_id** (integer) Optional but recommended. If supplied, must link to the BankAccount this batch is imported from. - **for_group_id** (integer) If the user is a clustered login, then this must be supplied. Otherwise its optional but must link to a group the login has access to. - **bank_account_code** (string) Optional parts of a bank account code. Use as required by your bank account coding configurations. Free text - **currency_code** (string) Which 3 character code for this currency - **account_type** (string) Optional. Describes the type of bank account - **name** (string) Name of the bank account - **xero_account_id** (string) If this is a xero account code, its the ID in xero. Read only - **xero_status** (string) shows if the code is still available in xero. Blank if its not a xero account code. Read only ## Responses ### 200 Item has been saved successfully #### Body: application/json (object) - **id** (integer) ### 401 Authentication unauthorised #### Body: application/json (object) - **error** (string) ### 403 Invalid permission #### Body: application/json (object) - **error** (string) ### 404 Not Found #### Body: application/json (object) - **error** (string) [Powered by Bump.sh](https://bump.sh)