# Change the status of an existing line item **PUT /accounts/{account_id}/line_items/{line_item_id}** ## Servers - Public Sandbox: https://sandbox-api.canopyservicing.com (Public Sandbox) - Protected UAT Sandbox: https://uat-api.canopyservicing.com (Protected UAT Sandbox) - Production: https://api.canopyservicing.com (Production) ## Authentication methods - O auth2 ## Parameters ### Body: application/json (object) Edit a specific line item. - **line_item_status** (string) The new status which you would like to set for the line item ## Responses ### 200 Line Item Edited #### Body: application/json (object) - **account_id** (string) The account associated with the line item - **line_item_id** (string) The ID associated with the line item - **effective_at** (string(date-time)) The `Date-Time` that this line item became/becomes active - **created_at** (string(date-time)) The `Date-Time` which the line item was created. - **product_id** (string) the Product ID of the account - **line_item_overview** (object) - **line_item_summary** (object) - **merchant_data** (object | null) Merchant information if applicable. - **issuer_processor_details** (object | null) - **external_fields** (array[object] | null) An array of static references to fields in a third party system. ### 401 Unauthorized. ### 403 Forbidden. ### 422 Invalid input ### 429 Too many requests. ### default Unexpected Error. [Powered by Bump.sh](https://bump.sh)