Order Event: status_change

This event notification when the status of an order is updated.

Response Parameters for status_change (order)

If the request is successful, the attributes associative array may include the
following:

Parameter name

Obligation

Definition/Value

order_reg_type

Always returned.

The updated status of the order.

Possible values include:

  • landrush new premium renewal sunrise transfer whois_privacy

order_status

Always returned.

The status or the order.

Possible values include:

  • cancelled completed declined pending pending_fax processed waiting

Example Response for status_change

<?xml version='1.0' encoding="UTF-8" standalone="no" ?>
<!DOCTYPE OPS_envelope SYSTEM "ops.dtd">
<OPS_envelope>
    <header>
        <version>0.9</version>
    </header>
    <body>
        <data_block>
            <dt_assoc>
                <item key="protocol">XCP</item>
                <item key="object">EVENT</item>
                <item key="response_code">200</item>
                <item key="is_success">1</item>
                <item key="response_text">Command successful</item>
                <item key="transaction_id">2014-06-19 11:31:49 27660 101</item>
                <item key="action">REPLY</item>
                <item key="attributes">
                    <dt_assoc>
                        <item key="events">
                            <dt_array>
                                <item key="0">
                                    <dt_assoc>
                                        <item key="object_data">
                                            <dt_assoc>
                                                <item key="domain_name">tucows-13e97b6ef1b1c.com</item>
                                                <item key="order_status">pending</item>
                                                <item key="order_reg_type">new</item>
                                                <item key="order_id">701980</item>
                                            </dt_assoc>
                                        </item>
                                        <item key="object">ORDER</item>
                                        <item key="event_id">39232348265486a2ac352d349cd88a3f</item>
                                        <item key="event">STATUS_CHANGE</item>
                                        <item key="event_date">2014-06-19T15:31:47Z</item>
                                    </dt_assoc>
                                </item>
                            </dt_array>
                        </item>
                        <item key="total">6</item>
                    </dt_assoc>
                </item>
            </dt_assoc>
        </data_block>
    </body>
</OPS_envelope>