Array
(
    [postfields] => Array
        (
            [client_id] => frlqibjvrgmebkm3nq2nzjc4z1lx8l9
            [client_secret] => e971beffebb01ffb209e54a15649b869422c5ca367d37fc0551e6e31c6258273
            [redirect_uri] => https://bulkpromotion.appsserver.net/app/auth.php
            [grant_type] => authorization_code
            [code] => 2sro21j1v7pg67oxsj4de8eg79cpoqi
            [scope] => store_channel_listings store_channel_settings store_sites store_v2_default store_v2_information store_v2_marketing
            [context] => stores/q48g9btti2
        )

    [res_obj] => stdClass Object
        (
            [access_token] => eut5iwpc9od8g5eykn5a8d2snn2yc8
            [scope] => store_channel_listings store_channel_settings store_sites store_v2_default store_v2_information store_v2_marketing
            [user] => stdClass Object
                (
                    [id] => 2323753
                    [username] => bcadmin@mec.ca
                    [email] => bcadmin@mec.ca
                )

            [owner] => stdClass Object
                (
                    [id] => 2323753
                    [username] => bcadmin@mec.ca
                    [email] => bcadmin@mec.ca
                )

            [context] => stores/q48g9btti2
            [ajs_anonymous_id] => 
            [account_uuid] => 7e5d60f8-06f8-4488-8d05-8b0c2cfa6265
        )

    [header] => Array
        (
            [0] => accept: application/json
            [1] => content-type: application/json
            [2] => x-auth-client: frlqibjvrgmebkm3nq2nzjc4z1lx8l9
            [3] => x-auth-token: eut5iwpc9od8g5eykn5a8d2snn2yc8
        )

    [channel_data] => Array
        (
            [data] => Array
                (
                    [0] => Array
                        (
                            [id] => 1
                            [name] => MEC - Store 2
                            [platform] => bigcommerce
                            [type] => storefront
                            [date_created] => 2021-04-30T23:45:56Z
                            [date_modified] => 2021-10-15T14:53:42Z
                            [external_id] => 
                            [icon_url] => https://s3.amazonaws.com/bc-channel-platform/channel-icons/bigcommerce.svg
                            [is_listable_from_ui] => 1
                            [is_enabled] => 1
                            [is_visible] => 1
                            [status] => active
                        )

                    [1] => Array
                        (
                            [id] => 758250
                            [name] => MEC French
                            [platform] => custom
                            [type] => storefront
                            [date_created] => 2021-08-06T15:58:29Z
                            [date_modified] => 2025-01-07T17:05:50Z
                            [external_id] => MEC French
                            [icon_url] => https://s3.amazonaws.com/bc-channel-platform/channel-icons/custom.svg
                            [is_listable_from_ui] => 1
                            [is_enabled] => 1
                            [is_visible] => 1
                            [status] => active
                        )

                )

            [meta] => Array
                (
                    [pagination] => Array
                        (
                            [total] => 2
                            [count] => 2
                            [per_page] => 250
                            [current_page] => 1
                            [total_pages] => 1
                            [links] => Array
                                (
                                    [current] => ?page=1&limit=250
                                )

                        )

                )

        )

    [in_channel_data_if] => yes
    [in_channel_data_each] => Array
        (
            [0] => yes
            [1] => yes
        )

    [in_channel_data_each_if] => Array
        (
            [0] => yes
        )

    [result_site] => Array
        (
            [0] => Array
                (
                    [data] => Array
                        (
                            [0] => Array
                                (
                                    [id] => 1000
                                    [url] => https://uat-checkout.mec.ca
                                    [channel_id] => 1
                                    [created_at] => 2021-04-30T23:45:56Z
                                    [updated_at] => 2024-03-21T12:42:42Z
                                    [urls] => Array
                                        (
                                            [0] => Array
                                                (
                                                    [url] => https://store-q48g9btti2-1.mybigcommerce.com
                                                    [type] => canonical
                                                    [created_at] => 2024-02-21T05:35:27Z
                                                    [updated_at] => 2024-02-21T05:35:27Z
                                                )

                                            [1] => Array
                                                (
                                                    [url] => https://uat-checkout.mec.ca
                                                    [type] => primary
                                                    [created_at] => 2021-04-30T23:45:56Z
                                                    [updated_at] => 2021-09-22T17:13:04Z
                                                )

                                            [2] => Array
                                                (
                                                    [url] => https://uat-checkout.mec.ca
                                                    [type] => checkout
                                                    [created_at] => 2021-04-30T23:45:56Z
                                                    [updated_at] => 2021-09-22T17:13:04Z
                                                )

                                        )

                                    [is_checkout_url_customized] => 
                                )

                        )

                    [meta] => Array
                        (
                            [pagination] => Array
                                (
                                    [offset] => 0
                                    [limit] => 50
                                    [total_items] => 1
                                )

                        )

                )

        )

    [query_data] => Array
        (
            [0] => Array
                (
                    [access_token] => eut5iwpc9od8g5eykn5a8d2snn2yc8
                    [store_id] => q48g9btti2
                    [store_url] => https://uat-checkout.mec.ca
                    [store_name] => MEC - Store 2
                    [channel_id] => 1
                    [admin_first_name] => Erik
                    [admin_last_name] => Garrett
                    [country] => Canada
                    [country_code] => CA
                    [phone] => 
                    [admin_email] => webdevelopers@mec.ca
                    [currency] => CAD
                    [currency_symbol] => $
                    [stencil_enabled] => 1
                    [uninstall] => 0
                    [created_at] => 2025-01-31 17:30:07
                )

        )

    [in_channel_data_each_else] => Array
        (
            [1] => yes
        )

)
