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

    [res_obj] => stdClass Object
        (
            [access_token] => bm07ymbaritwr4gjhrr06g98a8h000o
            [scope] => store_channel_listings store_channel_settings store_sites store_v2_default store_v2_information store_v2_marketing
            [user] => stdClass Object
                (
                    [id] => 2130617
                    [username] => oscar@space48.com
                    [email] => oscar@space48.com
                )

            [owner] => stdClass Object
                (
                    [id] => 2130617
                    [username] => oscar@space48.com
                    [email] => oscar@space48.com
                )

            [context] => stores/9asbpd7ah9
            [ajs_anonymous_id] => 
            [account_uuid] => 87499a81-183d-465e-9cd9-2dfe965a0651
        )

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

    [channel_data] => Array
        (
            [data] => Array
                (
                    [0] => Array
                        (
                            [id] => 1
                            [name] => Oscar Local
                            [platform] => bigcommerce
                            [type] => storefront
                            [date_created] => 2022-07-21T09:31:36Z
                            [date_modified] => 2022-07-21T09:31:36Z
                            [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] => prelaunch
                        )

                    [1] => Array
                        (
                            [id] => 1476855
                            [name] => test 2
                            [platform] => bigcommerce
                            [type] => storefront
                            [date_created] => 2023-10-04T14:30:14Z
                            [date_modified] => 2023-10-04T14:30:14Z
                            [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] => prelaunch
                        )

                )

            [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
            [1] => yes
        )

    [result_site] => Array
        (
            [0] => Array
                (
                    [data] => Array
                        (
                            [0] => Array
                                (
                                    [id] => 1000
                                    [url] => https://oscar-local-y10.mybigcommerce.com
                                    [channel_id] => 1
                                    [created_at] => 2022-07-21T09:31:36Z
                                    [updated_at] => 2024-03-20T13:44:13Z
                                    [urls] => Array
                                        (
                                            [0] => Array
                                                (
                                                    [url] => https://oscar-local-y10.mybigcommerce.com
                                                    [type] => primary
                                                    [created_at] => 2022-07-21T09:31:36Z
                                                    [updated_at] => 2022-07-21T09:31:36Z
                                                )

                                            [1] => Array
                                                (
                                                    [url] => https://store-9asbpd7ah9-1.mybigcommerce.com
                                                    [type] => canonical
                                                    [created_at] => 2024-02-19T16:08:50Z
                                                    [updated_at] => 2024-02-19T16:08:50Z
                                                )

                                            [2] => Array
                                                (
                                                    [url] => https://oscar-local-y10.mybigcommerce.com
                                                    [type] => checkout
                                                    [created_at] => 2022-07-21T09:31:36Z
                                                    [updated_at] => 2022-07-21T09:31:36Z
                                                )

                                        )

                                    [is_checkout_url_customized] => 
                                )

                        )

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

                        )

                )

            [1] => Array
                (
                    [data] => Array
                        (
                            [0] => Array
                                (
                                    [id] => 1001
                                    [url] => https://test-2-1476855.mybigcommerce.com
                                    [channel_id] => 1476855
                                    [created_at] => 2023-10-04T14:30:15Z
                                    [updated_at] => 2024-03-20T13:44:13Z
                                    [urls] => Array
                                        (
                                            [0] => Array
                                                (
                                                    [url] => https://test-2-1476855.mybigcommerce.com
                                                    [type] => primary
                                                    [created_at] => 2023-10-04T14:30:15Z
                                                    [updated_at] => 2023-10-04T14:30:15Z
                                                )

                                            [1] => Array
                                                (
                                                    [url] => https://store-9asbpd7ah9-1476855.mybigcommerce.com
                                                    [type] => canonical
                                                    [created_at] => 2023-10-04T14:30:15Z
                                                    [updated_at] => 2023-10-04T14:30:15Z
                                                )

                                            [2] => Array
                                                (
                                                    [url] => https://test-2-1476855.mybigcommerce.com
                                                    [type] => checkout
                                                    [created_at] => 2023-10-04T14:30:15Z
                                                    [updated_at] => 2023-10-04T14:30:15Z
                                                )

                                        )

                                    [is_checkout_url_customized] => 
                                )

                        )

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

                        )

                )

        )

    [query_data] => Array
        (
            [0] => Array
                (
                    [access_token] => bm07ymbaritwr4gjhrr06g98a8h000o
                    [store_id] => 9asbpd7ah9
                    [store_url] => https://oscar-local-y10.mybigcommerce.com
                    [store_name] => Oscar Local
                    [channel_id] => 1
                    [admin_first_name] => oscar
                    [admin_last_name] => woods
                    [country] => United Kingdom
                    [country_code] => GB
                    [phone] => 
                    [admin_email] => oscar@space48.com
                    [currency] => GBP
                    [currency_symbol] => £
                    [stencil_enabled] => 1
                    [uninstall] => 0
                    [created_at] => 2024-05-17 11:52:18
                )

            [1] => Array
                (
                    [access_token] => bm07ymbaritwr4gjhrr06g98a8h000o
                    [store_id] => 9asbpd7ah9
                    [store_url] => https://test-2-1476855.mybigcommerce.com
                    [store_name] => test 2
                    [channel_id] => 1476855
                    [admin_first_name] => oscar
                    [admin_last_name] => woods
                    [country] => United Kingdom
                    [country_code] => GB
                    [phone] => 
                    [admin_email] => oscar@space48.com
                    [currency] => GBP
                    [currency_symbol] => £
                    [stencil_enabled] => 1
                    [uninstall] => 0
                    [created_at] => 2024-05-17 11:52:18
                )

        )

)
