mirror of
https://github.com/Sylius/Sylius.git
synced 2026-07-15 01:20:59 +00:00
This PR was merged into the 1.7-dev branch.
Discussion
----------
| Q | A
| --------------- | -----
| Branch? | master
| Bug fix? | no
| New feature? | yes
| BC breaks? | no
| Deprecations? | no
| Related tickets | fixes #9122
| License | MIT
Currently used only in checkout addressing to limit the list of countries. If not defined, fallbacks to the previous behaviour - all enabled countries.
<img width="672" alt="Screenshot 2020-01-22 at 20 10 51" src="https://user-images.githubusercontent.com/1897953/72925676-65ef8f80-3d53-11ea-831c-25fad0973a83.png">
Commits
-------
2e68737703 Define countries for a channel
61 lines
1.3 KiB
JSON
61 lines
1.3 KiB
JSON
{
|
|
"code": 400,
|
|
"message": "Validation Failed",
|
|
"errors": {
|
|
"children": {
|
|
"name": {
|
|
"errors": [
|
|
"Please enter channel name."
|
|
]
|
|
},
|
|
"description": {},
|
|
"enabled": {
|
|
"errors": [
|
|
"Must have at least one enabled entity"
|
|
]
|
|
},
|
|
"hostname": {},
|
|
"color": {},
|
|
"locales": {},
|
|
"defaultLocale": {
|
|
"errors": [
|
|
"Please enter channel default locale."
|
|
]
|
|
},
|
|
"currencies": {},
|
|
"countries": {},
|
|
"defaultTaxZone": {},
|
|
"taxCalculationStrategy": {
|
|
"errors": [
|
|
"This value should not be blank."
|
|
]
|
|
},
|
|
"themeName": {},
|
|
"contactEmail": {},
|
|
"skippingShippingStepAllowed": {},
|
|
"skippingPaymentStepAllowed": {},
|
|
"accountVerificationRequired": {},
|
|
"shopBillingData": {
|
|
"children": {
|
|
"taxId": {},
|
|
"company": {},
|
|
"countryCode": {},
|
|
"street": {},
|
|
"city": {},
|
|
"postcode": {}
|
|
}
|
|
},
|
|
"menuTaxon": {},
|
|
"code": {
|
|
"errors": [
|
|
"Please enter channel code."
|
|
]
|
|
},
|
|
"baseCurrency": {
|
|
"errors": [
|
|
"Please enter channel base currency."
|
|
]
|
|
}
|
|
}
|
|
}
|
|
}
|