1
0
mirror of synced 2024-11-24 22:36:06 +03:00

add sites[][isDemo] field for /api/v5/reference/sites method

This commit is contained in:
Pavel 2021-11-08 11:38:26 +03:00
parent c8be9c7891
commit 0b6ed08d49
2 changed files with 31 additions and 1 deletions

View File

@ -171,4 +171,12 @@ class Site
* @JMS\SerializedName("isCatalogMainSite")
*/
public $isCatalogMainSite;
/**
* @var bool
*
* @JMS\Type("bool")
* @JMS\SerializedName("isDemo")
*/
public $isDemo;
}

View File

@ -6699,7 +6699,29 @@ EOF;
"senderEmail": "test@example.com",
"senderName": "test",
"catalogId": "catalog",
"isCatalogMainSite": true
"isCatalogMainSite": true,
"isDemo": false
},
"test-ru": {
"catalogId": "81",
"isCatalogMainSite": true,
"isDemo": true,
"name": "Test Shop",
"url": "https://example.com/2",
"code": "test-ru",
"defaultForCrm": false,
"ymlUrl": "https://example.com/2/test_catalog.xml",
"loadFromYml": false,
"catalogUpdatedAt": "2021-02-24 12:30:46",
"catalogLoadingAt": "2021-04-07 15:14:53",
"contragent": {
"contragentType": "enterpreneur",
"legalName": "ИП Бороздина Татьяна Александровна",
"INN": "773719480154",
"code": "Vog_Gallery",
"countryIso": "RU"
},
"countryIso": "RU"
}
}
}