1
0
mirror of synced 2024-11-25 06:46:07 +03:00

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

This commit is contained in:
Alex Lushpai 2021-11-08 12:08:40 +03:00 committed by GitHub
commit f2d9be5d4a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 31 additions and 1 deletions

View File

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

View File

@ -6699,7 +6699,29 @@ EOF;
"senderEmail": "test@example.com", "senderEmail": "test@example.com",
"senderName": "test", "senderName": "test",
"catalogId": "catalog", "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"
} }
} }
} }