# API: Set invoice status

# setInvoiceStatus

Change invoice status.

# Required parameters

Parameter Description
id Invoice ID
status New invoice status, possible values: Paid, Unpaid, Cancelled

# Request

GET /admin/api.php?api_id=API_ID&api_key=API_KEY&call=setInvoiceStatus&id=ID&status=STATUS

# PHP Samples

# Response

{
    "success": true,
    "call": "setInvoiceStatus",
    "server_time": 1323785748,
    "info": [
        "Invoice #65 marked Paid"
    ]
}
Last Updated: 10/7/2024, 2:36:43 PM