Пример работы с Яндекс Маркетом

Кампании пользователя

Запрос:

GET /campaigns

Ответ:

Array
(
    [id] => 21409358
    [domain] => yarstroi.ru
    [state] => 2
    [stateReasons] => Array
        (
            [0] => 16
            [1] => 20
            [2] => 6
        )

)

Информация о запрашиваемых заказах

Запрос:

GET /campaigns/{campaignId}/orders

Ответ:

Полный ответ Заказов

Array
(
    [id] => 2923981
    [status] => CANCELLED
    [substatus] => USER_CHANGED_MIND
    [creationDate] => 05-10-2017 08:12:56
    [currency] => RUR
    [itemsTotal] => 10649
    [total] => 10999
    [paymentType] => POSTPAID
    [paymentMethod] => CASH_ON_DELIVERY
    [fake] => 
    [notes] => Это контрольный заказ службы контроля качества Яндекс.Маркет №8 Проверка реального заказа (fake=false).
Он будет отменен автоматически в течение 15 минут. Пожалуйста, не меняйте статус этого заказа.
    [items] => Array
        (
            [0] => Array
                (
                    [feedId] => 470462
                    [offerId] => 45
                    [feedCategoryId] => 28
                    [offerName] => Вибратор ИВ-101 Б 380В
                    [price] => 10649
                    [count] => 1
                )

        )

    [delivery] => Array
        (
            [id] => 2
            [type] => DELIVERY
            [serviceName] => Собственная служба доставки
            [price] => 350
            [region] => Array
                (
                    [id] => 16
                    [name] => Ярославль
                    [type] => CITY
                    [parent] => Array
                        (
                            [id] => 120848
                            [name] => Городской округ Ярославль
                            [type] => REPUBLIC_AREA
                            [parent] => Array
                                (
                                    [id] => 10841
                                    [name] => Ярославская область
                                    [type] => REPUBLIC
                                    [parent] => Array
                                        (
                                            [id] => 3
                                            [name] => Центральный федеральный округ
                                            [type] => COUNTRY_DISTRICT
                                            [parent] => Array
                                                (
                                                    [id] => 225
                                                    [name] => Россия
                                                    [type] => COUNTRY
                                                )

                                        )

                                )

                        )

                )

            [address] => Array
                (
                    [country] => Россия
                    [postcode] => 019750
                    [city] => Ярославль
                    [street] => Ленина
                    [house] => 18
                    [recipient] => Наталья
                    [phone] => +74083054921
                )

            [dates] => Array
                (
                    [fromDate] => 05-10-2017
                    [toDate] => 08-10-2017
                )

        )

    [buyer] => Array
        (
            [id] => 6eKezhb2xw6DcTYOFBLAqA==
            [lastName] => Соколова
            [firstName] => Юлия
            [phone] => +72018494699
            [email] => RxuCQV@mail.ru
        )

)
Array
(
    [id] => 2825179
    [status] => CANCELLED
    [substatus] => USER_CHANGED_MIND
    [creationDate] => 13-09-2017 11:10:35
    [currency] => RUR
    [itemsTotal] => 10089
    [total] => 10439
    [paymentType] => POSTPAID
    [paymentMethod] => CASH_ON_DELIVERY
    [fake] => 
    [notes] => Это контрольный заказ службы контроля качества Яндекс.Маркет №8 Проверка реального заказа (fake=false).
Он будет отменен автоматически в течение 15 минут. Пожалуйста, не меняйте статус этого заказа.
    [items] => Array
        (
            [0] => Array
                (
                    [feedId] => 470462
                    [offerId] => 193
                    [feedCategoryId] => 35
                    [offerName] => Вибратор площадочный для опалубки ВИ-448 380В
                    [price] => 10089
                    [count] => 1
                )

        )

    [delivery] => Array
        (
            [id] => 2
            [type] => DELIVERY
            [serviceName] => Собственная служба доставки
            [price] => 350
            [region] => Array
                (
                    [id] => 16
                    [name] => Ярославль
                    [type] => CITY
                    [parent] => Array
                        (
                            [id] => 120848
                            [name] => Городской округ Ярославль
                            [type] => REPUBLIC_AREA
                            [parent] => Array
                                (
                                    [id] => 10841
                                    [name] => Ярославская область
                                    [type] => REPUBLIC
                                    [parent] => Array
                                        (
                                            [id] => 3
                                            [name] => Центральный федеральный округ
                                            [type] => COUNTRY_DISTRICT
                                            [parent] => Array
                                                (
                                                    [id] => 225
                                                    [name] => Россия
                                                    [type] => COUNTRY
                                                )

                                        )

                                )

                        )

                )

            [address] => Array
                (
                    [country] => Россия
                    [postcode] => 341913
                    [city] => Ярославль
                    [street] => Центральная
                    [house] => 85
                    [recipient] => Юлия
                    [phone] => +72094799137
                )

            [dates] => Array
                (
                    [fromDate] => 13-09-2017
                    [toDate] => 16-09-2017
                )

        )

    [buyer] => Array
        (
            [id] => 6eKezhb2xw6DcTYOFBLAqA==
            [lastName] => Попова
            [firstName] => Анастасия
            [phone] => +76515649564
            [email] => xRXBvp@mail.ru
        )

)
Array
(
    [id] => 2819493
    [status] => CANCELLED
    [substatus] => USER_CHANGED_MIND
    [creationDate] => 12-09-2017 08:20:20
    [currency] => RUR
    [itemsTotal] => 6638
    [total] => 6988
    [paymentType] => POSTPAID
    [paymentMethod] => CASH_ON_DELIVERY
    [fake] => 
    [notes] => Это контрольный заказ службы контроля качества Яндекс.Маркет №8 Проверка реального заказа (fake=false).
Он будет отменен автоматически в течение 15 минут. Пожалуйста, не меняйте статус этого заказа.
    [items] => Array
        (
            [0] => Array
                (
                    [feedId] => 470462
                    [offerId] => 6
                    [feedCategoryId] => 7
                    [offerName] => Вибратор площадочный ВИ-98 Б-42
                    [price] => 6638
                    [count] => 1
                )

        )

    [delivery] => Array
        (
            [id] => 2
            [type] => DELIVERY
            [serviceName] => Собственная служба доставки
            [price] => 350
            [region] => Array
                (
                    [id] => 16
                    [name] => Ярославль
                    [type] => CITY
                    [parent] => Array
                        (
                            [id] => 120848
                            [name] => Городской округ Ярославль
                            [type] => REPUBLIC_AREA
                            [parent] => Array
                                (
                                    [id] => 10841
                                    [name] => Ярославская область
                                    [type] => REPUBLIC
                                    [parent] => Array
                                        (
                                            [id] => 3
                                            [name] => Центральный федеральный округ
                                            [type] => COUNTRY_DISTRICT
                                            [parent] => Array
                                                (
                                                    [id] => 225
                                                    [name] => Россия
                                                    [type] => COUNTRY
                                                )

                                        )

                                )

                        )

                )

            [address] => Array
                (
                    [country] => Россия
                    [postcode] => 652478
                    [city] => Ярославль
                    [street] => Советская
                    [house] => 87
                    [recipient] => Владимир
                    [phone] => +70106442215
                )

            [dates] => Array
                (
                    [fromDate] => 12-09-2017
                    [toDate] => 15-09-2017
                )

        )

    [buyer] => Array
        (
            [id] => 6eKezhb2xw6DcTYOFBLAqA==
            [lastName] => Морозов
            [firstName] => Евгений
            [phone] => +71252840741
            [email] => NcQkYp@mail.ru
        )

)
Array
(
    [id] => 2771333
    [status] => CANCELLED
    [substatus] => USER_CHANGED_MIND
    [creationDate] => 01-09-2017 13:01:39
    [currency] => RUR
    [itemsTotal] => 13857
    [total] => 14207
    [paymentType] => POSTPAID
    [paymentMethod] => CASH_ON_DELIVERY
    [fake] => 
    [notes] => Это контрольный заказ службы контроля качества Яндекс.Маркет №8 Проверка реального заказа (fake=false).
Он будет отменен автоматически в течение 15 минут. Пожалуйста, не меняйте статус этого заказа.
    [items] => Array
        (
            [0] => Array
                (
                    [feedId] => 470462
                    [offerId] => 47
                    [feedCategoryId] => 12
                    [offerName] => Вибратор ИВ-78
                    [price] => 13857
                    [count] => 1
                )

        )

    [delivery] => Array
        (
            [id] => 2
            [type] => DELIVERY
            [serviceName] => Собственная служба доставки
            [price] => 350
            [region] => Array
                (
                    [id] => 16
                    [name] => Ярославль
                    [type] => CITY
                    [parent] => Array
                        (
                            [id] => 120848
                            [name] => Городской округ Ярославль
                            [type] => REPUBLIC_AREA
                            [parent] => Array
                                (
                                    [id] => 10841
                                    [name] => Ярославская область
                                    [type] => REPUBLIC
                                    [parent] => Array
                                        (
                                            [id] => 3
                                            [name] => Центральный федеральный округ
                                            [type] => COUNTRY_DISTRICT
                                            [parent] => Array
                                                (
                                                    [id] => 225
                                                    [name] => Россия
                                                    [type] => COUNTRY
                                                )

                                        )

                                )

                        )

                )

            [address] => Array
                (
                    [country] => Россия
                    [postcode] => 274247
                    [city] => Ярославль
                    [street] => Мира
                    [house] => 34
                    [recipient] => Анна
                    [phone] => +72069956183
                )

            [dates] => Array
                (
                    [fromDate] => 01-09-2017
                    [toDate] => 04-09-2017
                )

        )

    [buyer] => Array
        (
            [id] => 6eKezhb2xw6DcTYOFBLAqA==
            [lastName] => Иванов
            [firstName] => Дмитрий
            [phone] => +74441481576
            [email] => nwDlbe@yandex.ru
        )

)
Array
(
    [id] => 2737814
    [status] => CANCELLED
    [substatus] => USER_CHANGED_MIND
    [creationDate] => 29-08-2017 13:40:31
    [currency] => RUR
    [itemsTotal] => 49500
    [total] => 49850
    [paymentType] => POSTPAID
    [paymentMethod] => CASH_ON_DELIVERY
    [fake] => 
    [notes] => Это контрольный заказ службы контроля качества Яндекс.Маркет №8 Проверка реального заказа (fake=false).
Он будет отменен автоматически в течение 15 минут. Пожалуйста, не меняйте статус этого заказа.
    [items] => Array
        (
            [0] => Array
                (
                    [feedId] => 470462
                    [offerId] => 63
                    [feedCategoryId] => 14
                    [offerName] => Вибростол ЭВС-5 220В (1500х1000)
                    [price] => 49500
                    [count] => 1
                )

        )

    [delivery] => Array
        (
            [id] => 2
            [type] => DELIVERY
            [serviceName] => Собственная служба доставки
            [price] => 350
            [region] => Array
                (
                    [id] => 16
                    [name] => Ярославль
                    [type] => CITY
                    [parent] => Array
                        (
                            [id] => 120848
                            [name] => Городской округ Ярославль
                            [type] => REPUBLIC_AREA
                            [parent] => Array
                                (
                                    [id] => 10841
                                    [name] => Ярославская область
                                    [type] => REPUBLIC
                                    [parent] => Array
                                        (
                                            [id] => 3
                                            [name] => Центральный федеральный округ
                                            [type] => COUNTRY_DISTRICT
                                            [parent] => Array
                                                (
                                                    [id] => 225
                                                    [name] => Россия
                                                    [type] => COUNTRY
                                                )

                                        )

                                )

                        )

                )

            [address] => Array
                (
                    [country] => Россия
                    [postcode] => 538696
                    [city] => Ярославль
                    [street] => Советская
                    [house] => 24
                    [recipient] => Мария
                    [phone] => +71312441855
                )

            [dates] => Array
                (
                    [fromDate] => 29-08-2017
                    [toDate] => 01-09-2017
                )

        )

    [buyer] => Array
        (
            [id] => 6eKezhb2xw6DcTYOFBLAqA==
            [lastName] => Иванова
            [firstName] => Юлия
            [phone] => +77172206963
            [email] => YeJByb@mail.ru
        )

)
Array
(
    [id] => 2736569
    [status] => CANCELLED
    [substatus] => USER_CHANGED_MIND
    [creationDate] => 29-08-2017 11:50:27
    [currency] => RUR
    [itemsTotal] => 400
    [total] => 750
    [paymentType] => POSTPAID
    [paymentMethod] => CASH_ON_DELIVERY
    [fake] => 
    [notes] => Это контрольный заказ службы контроля качества Яндекс.Маркет №8 Проверка реального заказа (fake=false).
Он будет отменен автоматически в течение 15 минут. Пожалуйста, не меняйте статус этого заказа.
    [items] => Array
        (
            [0] => Array
                (
                    [feedId] => 470462
                    [offerId] => 204
                    [feedCategoryId] => 21
                    [offerName] => Насадка на сантехнический трос - Гарпун
                    [price] => 400
                    [count] => 1
                )

        )

    [delivery] => Array
        (
            [id] => 2
            [type] => DELIVERY
            [serviceName] => Собственная служба доставки
            [price] => 350
            [region] => Array
                (
                    [id] => 16
                    [name] => Ярославль
                    [type] => CITY
                    [parent] => Array
                        (
                            [id] => 120848
                            [name] => Городской округ Ярославль
                            [type] => REPUBLIC_AREA
                            [parent] => Array
                                (
                                    [id] => 10841
                                    [name] => Ярославская область
                                    [type] => REPUBLIC
                                    [parent] => Array
                                        (
                                            [id] => 3
                                            [name] => Центральный федеральный округ
                                            [type] => COUNTRY_DISTRICT
                                            [parent] => Array
                                                (
                                                    [id] => 225
                                                    [name] => Россия
                                                    [type] => COUNTRY
                                                )

                                        )

                                )

                        )

                )

            [address] => Array
                (
                    [country] => Россия
                    [postcode] => 496968
                    [city] => Ярославль
                    [street] => Советская
                    [house] => 27
                    [recipient] => Анастасия
                    [phone] => +72190867421
                )

            [dates] => Array
                (
                    [fromDate] => 29-08-2017
                    [toDate] => 01-09-2017
                )

        )

    [buyer] => Array
        (
            [id] => 6eKezhb2xw6DcTYOFBLAqA==
            [lastName] => Новиков
            [firstName] => Александр
            [phone] => +72000979347
            [email] => JVLEZQ@yandex.ru
        )

)
Array
(
    [id] => 2736200
    [status] => CANCELLED
    [substatus] => RESERVATION_EXPIRED
    [creationDate] => 29-08-2017 11:05:09
    [currency] => RUR
    [itemsTotal] => 6324
    [total] => 6674
    [paymentType] => POSTPAID
    [paymentMethod] => CASH_ON_DELIVERY
    [fake] => 
    [notes] => Это контрольный заказ службы контроля качества Яндекс.Маркет №8 Проверка реального заказа (fake=false).
Он будет отменен автоматически в течение 15 минут. Пожалуйста, не меняйте статус этого заказа.
    [items] => Array
        (
            [0] => Array
                (
                    [feedId] => 470462
                    [offerId] => 40
                    [feedCategoryId] => 7
                    [offerName] => Вибратор площадочный ЭВ-320-4
                    [price] => 6324
                    [count] => 1
                )

        )

    [delivery] => Array
        (
            [id] => 2
            [type] => DELIVERY
            [serviceName] => Собственная служба доставки
            [price] => 350
            [region] => Array
                (
                    [id] => 16
                    [name] => Ярославль
                    [type] => CITY
                    [parent] => Array
                        (
                            [id] => 120848
                            [name] => Городской округ Ярославль
                            [type] => REPUBLIC_AREA
                            [parent] => Array
                                (
                                    [id] => 10841
                                    [name] => Ярославская область
                                    [type] => REPUBLIC
                                    [parent] => Array
                                        (
                                            [id] => 3
                                            [name] => Центральный федеральный округ
                                            [type] => COUNTRY_DISTRICT
                                            [parent] => Array
                                                (
                                                    [id] => 225
                                                    [name] => Россия
                                                    [type] => COUNTRY
                                                )

                                        )

                                )

                        )

                )

            [address] => Array
                (
                    [country] => Россия
                    [postcode] => 540466
                    [city] => Ярославль
                    [street] => Молодежная
                    [house] => 22
                )

            [dates] => Array
                (
                    [fromDate] => 29-08-2017
                    [toDate] => 01-09-2017
                )

        )

)
Array
(
    [id] => 2733334
    [status] => CANCELLED
    [substatus] => USER_CHANGED_MIND
    [creationDate] => 28-08-2017 18:02:36
    [currency] => RUR
    [itemsTotal] => 20000
    [total] => 20350
    [paymentType] => POSTPAID
    [paymentMethod] => CASH_ON_DELIVERY
    [fake] => 
    [notes] => Это контрольный заказ службы контроля качества Яндекс.Маркет №8 Проверка реального заказа (fake=false).
Он будет отменен автоматически в течение 15 минут. Пожалуйста, не меняйте статус этого заказа.
    [items] => Array
        (
            [0] => Array
                (
                    [feedId] => 470462
                    [offerId] => 180
                    [feedCategoryId] => 31
                    [offerName] => Отбойный молоток ИП 4613 МО-1У
                    [price] => 20000
                    [count] => 1
                )

        )

    [delivery] => Array
        (
            [id] => 2
            [type] => DELIVERY
            [serviceName] => Собственная служба доставки
            [price] => 350
            [region] => Array
                (
                    [id] => 16
                    [name] => Ярославль
                    [type] => CITY
                    [parent] => Array
                        (
                            [id] => 120848
                            [name] => Городской округ Ярославль
                            [type] => REPUBLIC_AREA
                            [parent] => Array
                                (
                                    [id] => 10841
                                    [name] => Ярославская область
                                    [type] => REPUBLIC
                                    [parent] => Array
                                        (
                                            [id] => 3
                                            [name] => Центральный федеральный округ
                                            [type] => COUNTRY_DISTRICT
                                            [parent] => Array
                                                (
                                                    [id] => 225
                                                    [name] => Россия
                                                    [type] => COUNTRY
                                                )

                                        )

                                )

                        )

                )

            [address] => Array
                (
                    [country] => Россия
                    [postcode] => 582947
                    [city] => Ярославль
                    [street] => Лесная
                    [house] => 90
                    [recipient] => Сергей
                    [phone] => +70182393028
                )

            [dates] => Array
                (
                    [fromDate] => 28-08-2017
                    [toDate] => 31-08-2017
                )

        )

    [buyer] => Array
        (
            [id] => 6eKezhb2xw6DcTYOFBLAqA==
            [lastName] => Петрова
            [firstName] => Ольга
            [phone] => +76713122854
            [email] => SOmpBc@yahoo.com
        )

)
Array
(
    [id] => 2733204
    [status] => CANCELLED
    [substatus] => RESERVATION_EXPIRED
    [creationDate] => 28-08-2017 17:51:23
    [currency] => RUR
    [itemsTotal] => 400
    [total] => 750
    [paymentType] => POSTPAID
    [paymentMethod] => CASH_ON_DELIVERY
    [fake] => 
    [notes] => Это контрольный заказ службы контроля качества Яндекс.Маркет №8 Проверка реального заказа (fake=false).
Он будет отменен автоматически в течение 15 минут. Пожалуйста, не меняйте статус этого заказа.
    [items] => Array
        (
            [0] => Array
                (
                    [feedId] => 470462
                    [offerId] => 204
                    [feedCategoryId] => 21
                    [offerName] => Насадка на сантехнический трос - Гарпун
                    [price] => 400
                    [count] => 1
                )

        )

    [delivery] => Array
        (
            [id] => 2
            [type] => DELIVERY
            [serviceName] => Собственная служба доставки
            [price] => 350
            [region] => Array
                (
                    [id] => 16
                    [name] => Ярославль
                    [type] => CITY
                    [parent] => Array
                        (
                            [id] => 120848
                            [name] => Городской округ Ярославль
                            [type] => REPUBLIC_AREA
                            [parent] => Array
                                (
                                    [id] => 10841
                                    [name] => Ярославская область
                                    [type] => REPUBLIC
                                    [parent] => Array
                                        (
                                            [id] => 3
                                            [name] => Центральный федеральный округ
                                            [type] => COUNTRY_DISTRICT
                                            [parent] => Array
                                                (
                                                    [id] => 225
                                                    [name] => Россия
                                                    [type] => COUNTRY
                                                )

                                        )

                                )

                        )

                )

            [address] => Array
                (
                    [country] => Россия
                    [postcode] => 404520
                    [city] => Ярославль
                    [street] => Центральная
                    [house] => 94
                )

            [dates] => Array
                (
                    [fromDate] => 28-08-2017
                    [toDate] => 31-08-2017
                )

        )

)
Array
(
    [id] => 2727897
    [status] => CANCELLED
    [substatus] => USER_CHANGED_MIND
    [creationDate] => 27-08-2017 18:20:16
    [currency] => RUR
    [itemsTotal] => 485
    [total] => 835
    [paymentType] => POSTPAID
    [paymentMethod] => CASH_ON_DELIVERY
    [fake] => 
    [notes] => Это контрольный заказ службы контроля качества Яндекс.Маркет №8 Проверка реального заказа (fake=false).
Он будет отменен автоматически в течение 15 минут. Пожалуйста, не меняйте статус этого заказа.
    [items] => Array
        (
            [0] => Array
                (
                    [feedId] => 470462
                    [offerId] => 126
                    [feedCategoryId] => 21
                    [offerName] => Трос сантехнический гибкий ВГС-16 с ручкой
                    [price] => 485
                    [count] => 1
                )

        )

    [delivery] => Array
        (
            [id] => 2
            [type] => DELIVERY
            [serviceName] => Собственная служба доставки
            [price] => 350
            [region] => Array
                (
                    [id] => 16
                    [name] => Ярославль
                    [type] => CITY
                    [parent] => Array
                        (
                            [id] => 120848
                            [name] => Городской округ Ярославль
                            [type] => REPUBLIC_AREA
                            [parent] => Array
                                (
                                    [id] => 10841
                                    [name] => Ярославская область
                                    [type] => REPUBLIC
                                    [parent] => Array
                                        (
                                            [id] => 3
                                            [name] => Центральный федеральный округ
                                            [type] => COUNTRY_DISTRICT
                                            [parent] => Array
                                                (
                                                    [id] => 225
                                                    [name] => Россия
                                                    [type] => COUNTRY
                                                )

                                        )

                                )

                        )

                )

            [address] => Array
                (
                    [country] => Россия
                    [postcode] => 151618
                    [city] => Ярославль
                    [street] => Набережная
                    [house] => 97
                    [recipient] => Владимир
                    [phone] => +77947510494
                )

            [dates] => Array
                (
                    [fromDate] => 27-08-2017
                    [toDate] => 30-08-2017
                )

        )

    [buyer] => Array
        (
            [id] => 6eKezhb2xw6DcTYOFBLAqA==
            [lastName] => Иванов
            [firstName] => Евгений
            [phone] => +76554745273
            [email] => JLYpcX@yahoo.com
        )

)
Array
(
    [id] => 2612189
    [status] => CANCELLED
    [substatus] => USER_CHANGED_MIND
    [creationDate] => 02-08-2017 16:32:36
    [currency] => RUR
    [itemsTotal] => 4737
    [total] => 4737
    [paymentType] => POSTPAID
    [paymentMethod] => CASH_ON_DELIVERY
    [fake] => 
    [items] => Array
        (
            [0] => Array
                (
                    [feedId] => 470462
                    [offerId] => 48097657
                    [feedCategoryId] => 89389
                    [offerName] => Электропривод ВИ-1-16 42В
                    [price] => 4737
                    [count] => 1
                )

        )

    [delivery] => Array
        (
            [type] => DELIVERY
            [serviceName] => Курьер
            [price] => 0
            [region] => Array
                (
                    [id] => 16
                    [name] => Ярославль
                    [type] => CITY
                    [parent] => Array
                        (
                            [id] => 120848
                            [name] => Городской округ Ярославль
                            [type] => REPUBLIC_AREA
                            [parent] => Array
                                (
                                    [id] => 10841
                                    [name] => Ярославская область
                                    [type] => REPUBLIC
                                    [parent] => Array
                                        (
                                            [id] => 3
                                            [name] => Центральный федеральный округ
                                            [type] => COUNTRY_DISTRICT
                                            [parent] => Array
                                                (
                                                    [id] => 225
                                                    [name] => Россия
                                                    [type] => COUNTRY
                                                )

                                        )

                                )

                        )

                )

            [address] => Array
                (
                    [country] => Россия
                    [city] => Ярославль
                    [street] => Угличская улица
                    [house] => 20
                    [apartment] => 4
                    [recipient] => Ольга Николаева
                    [phone] => +79853480882
                )

            [dates] => Array
                (
                    [fromDate] => 02-09-2017
                    [toDate] => 02-09-2017
                )

        )

    [buyer] => Array
        (
            [id] => KdM8MJpU/g6cLlXRSUf8FA==
            [lastName] => Николаева
            [firstName] => Ольга
            [phone] => +79853480882
            [email] => olga666.nikolaeva@yandex.ru
        )

)
Array
(
    [id] => 2611956
    [status] => CANCELLED
    [substatus] => USER_UNREACHABLE
    [creationDate] => 02-08-2017 15:37:09
    [currency] => RUR
    [itemsTotal] => 1631
    [total] => 1631
    [paymentType] => POSTPAID
    [paymentMethod] => CASH_ON_DELIVERY
    [fake] => 
    [items] => Array
        (
            [0] => Array
                (
                    [feedId] => 470462
                    [offerId] => 73370356
                    [feedCategoryId] => 89325
                    [offerName] => Вибронаконечник ВИ-117
                    [price] => 1631
                    [count] => 1
                )

        )

    [delivery] => Array
        (
            [type] => DELIVERY
            [serviceName] => Курьер
            [price] => 0
            [region] => Array
                (
                    [id] => 16
                    [name] => Ярославль
                    [type] => CITY
                    [parent] => Array
                        (
                            [id] => 120848
                            [name] => Городской округ Ярославль
                            [type] => REPUBLIC_AREA
                            [parent] => Array
                                (
                                    [id] => 10841
                                    [name] => Ярославская область
                                    [type] => REPUBLIC
                                    [parent] => Array
                                        (
                                            [id] => 3
                                            [name] => Центральный федеральный округ
                                            [type] => COUNTRY_DISTRICT
                                            [parent] => Array
                                                (
                                                    [id] => 225
                                                    [name] => Россия
                                                    [type] => COUNTRY
                                                )

                                        )

                                )

                        )

                )

            [address] => Array
                (
                    [country] => Россия
                    [postcode] => 150044
                    [city] => Ярославль
                    [street] => Ленинградский проспект
                    [house] => 40
                    [apartment] => 14
                    [recipient] => test test
                    [phone] => +79202971038
                )

            [dates] => Array
                (
                    [fromDate] => 02-09-2017
                    [toDate] => 02-09-2017
                )

        )

    [buyer] => Array
        (
            [id] => Ex4cK9TiDZ9mm72Fi2jmaw==
            [lastName] => test
            [firstName] => test
            [phone] => +79202971038
            [email] => test@test.ru
        )

)
Array
(
    [id] => 2416421
    [status] => CANCELLED
    [substatus] => USER_CHANGED_MIND
    [creationDate] => 30-06-2017 16:56:00
    [currency] => RUR
    [itemsTotal] => 300
    [total] => 650
    [paymentType] => POSTPAID
    [paymentMethod] => CARD_ON_DELIVERY
    [fake] => 
    [notes] => Это контрольный заказ службы контроля качества Яндекс.Маркет №8 Проверка реального заказа (fake=false).
Он будет отменен автоматически в течение 15 минут. Пожалуйста, не меняйте статус этого заказа.
    [items] => Array
        (
            [0] => Array
                (
                    [feedId] => 470462
                    [offerId] => 73370211
                    [feedCategoryId] => 89325
                    [offerName] => Вибронаконечник для ВИ-116
                    [price] => 300
                    [count] => 1
                )

        )

    [delivery] => Array
        (
            [id] => 2
            [type] => DELIVERY
            [serviceName] => Собственная служба доставки
            [price] => 350
            [region] => Array
                (
                    [id] => 16
                    [name] => Ярославль
                    [type] => CITY
                    [parent] => Array
                        (
                            [id] => 120848
                            [name] => Городской округ Ярославль
                            [type] => REPUBLIC_AREA
                            [parent] => Array
                                (
                                    [id] => 10841
                                    [name] => Ярославская область
                                    [type] => REPUBLIC
                                    [parent] => Array
                                        (
                                            [id] => 3
                                            [name] => Центральный федеральный округ
                                            [type] => COUNTRY_DISTRICT
                                            [parent] => Array
                                                (
                                                    [id] => 225
                                                    [name] => Россия
                                                    [type] => COUNTRY
                                                )

                                        )

                                )

                        )

                )

            [address] => Array
                (
                    [country] => Россия
                    [postcode] => 859038
                    [city] => Ярославль
                    [street] => Школьная
                    [house] => 37
                    [recipient] => Татьяна
                    [phone] => +76980663059
                )

            [dates] => Array
                (
                    [fromDate] => 30-06-2017
                    [toDate] => 03-07-2017
                )

        )

    [buyer] => Array
        (
            [id] => 6eKezhb2xw6DcTYOFBLAqA==
            [lastName] => Смирнов
            [firstName] => Андрей
            [phone] => +78104316486
            [email] => dfrzeg@mail.ru
        )

)
Array
(
    [id] => 2416276
    [status] => CANCELLED
    [substatus] => RESERVATION_EXPIRED
    [creationDate] => 30-06-2017 16:45:36
    [currency] => RUR
    [itemsTotal] => 300
    [total] => 650
    [paymentType] => POSTPAID
    [paymentMethod] => CASH_ON_DELIVERY
    [fake] => 
    [notes] => Это контрольный заказ службы контроля качества Яндекс.Маркет №8 Проверка реального заказа (fake=false).
Он будет отменен автоматически в течение 15 минут. Пожалуйста, не меняйте статус этого заказа.
    [items] => Array
        (
            [0] => Array
                (
                    [feedId] => 470462
                    [offerId] => 48089912
                    [feedCategoryId] => 89303
                    [offerName] => Вибратор ВИ-98Е 220В c УЗО
                    [price] => 300
                    [count] => 1
                )

        )

    [delivery] => Array
        (
            [id] => 2
            [type] => DELIVERY
            [serviceName] => Собственная служба доставки
            [price] => 350
            [region] => Array
                (
                    [id] => 16
                    [name] => Ярославль
                    [type] => CITY
                    [parent] => Array
                        (
                            [id] => 120848
                            [name] => Городской округ Ярославль
                            [type] => REPUBLIC_AREA
                            [parent] => Array
                                (
                                    [id] => 10841
                                    [name] => Ярославская область
                                    [type] => REPUBLIC
                                    [parent] => Array
                                        (
                                            [id] => 3
                                            [name] => Центральный федеральный округ
                                            [type] => COUNTRY_DISTRICT
                                            [parent] => Array
                                                (
                                                    [id] => 225
                                                    [name] => Россия
                                                    [type] => COUNTRY
                                                )

                                        )

                                )

                        )

                )

            [address] => Array
                (
                    [country] => Россия
                    [postcode] => 080035
                    [city] => Ярославль
                    [street] => Мира
                    [house] => 92
                )

            [dates] => Array
                (
                    [fromDate] => 30-06-2017
                    [toDate] => 03-07-2017
                )

        )

)
Array
(
    [id] => 2351722
    [status] => CANCELLED
    [substatus] => USER_CHANGED_MIND
    [creationDate] => 16-06-2017 10:44:00
    [currency] => RUR
    [itemsTotal] => 8571
    [total] => 8571
    [paymentType] => POSTPAID
    [paymentMethod] => CASH_ON_DELIVERY
    [fake] => 
    [items] => Array
        (
            [0] => Array
                (
                    [feedId] => 470462
                    [offerId] => 48096256
                    [feedCategoryId] => 191872
                    [offerName] => Вибратор ВИ-1-17 (1 вал/3м+1в/нак.д.51) 42В
                    [price] => 8571
                    [count] => 1
                )

        )

    [delivery] => Array
        (
            [type] => DELIVERY
            [serviceName] => Курьер
            [price] => 0
            [region] => Array
                (
                    [id] => 16
                    [name] => Ярославль
                    [type] => CITY
                    [parent] => Array
                        (
                            [id] => 120848
                            [name] => Городской округ Ярославль
                            [type] => REPUBLIC_AREA
                            [parent] => Array
                                (
                                    [id] => 10841
                                    [name] => Ярославская область
                                    [type] => REPUBLIC
                                    [parent] => Array
                                        (
                                            [id] => 3
                                            [name] => Центральный федеральный округ
                                            [type] => COUNTRY_DISTRICT
                                            [parent] => Array
                                                (
                                                    [id] => 225
                                                    [name] => Россия
                                                    [type] => COUNTRY
                                                )

                                        )

                                )

                        )

                )

            [address] => Array
                (
                    [country] => Россия
                    [city] => Ярославль
                    [street] => улица Володарского
                    [house] => 55
                    [apartment] => 9
                    [recipient] => Артём Панов
                    [phone] => +79961943392
                )

            [dates] => Array
                (
                    [fromDate] => 21-06-2017
                    [toDate] => 21-06-2017
                )

        )

    [buyer] => Array
        (
            [id] => q5C56fQnL41PaTsmLonu+w==
            [lastName] => Панов
            [firstName] => Артём
            [phone] => +79961943392
            [email] => mr.artem-panow@yandex.ru
        )

)