-
-
Notifications
You must be signed in to change notification settings - Fork 1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[v2.0.0] Create a new channel #2217
Comments
Hi, the same to me |
hi, same here, in my case the error message shows: |
@nonlinearcom the same to me when use GraphQL Api: mutation CreateChannel {
createChannel(
input: {
code: "Test",
token: "clipdmi57000008jv4if664do",
defaultCurrencyCode: BRL,
trackInventory: true,
pricesIncludeTax: false,
sellerId: "1",
defaultTaxZoneId: "5",
defaultShippingZoneId: "5",
defaultLanguageCode: en,
availableCurrencyCodes: [BRL]
}
) {
... on LanguageNotAvailableError {
errorCode
message
languageCode
}
... on Channel {
id
createdAt
updatedAt
code
token
defaultLanguageCode
availableLanguageCodes
currencyCode
defaultCurrencyCode
availableCurrencyCodes
trackInventory
outOfStockThreshold
pricesIncludeTax
customFields
}
}
}
Server response: |
@patrickalima98 I managed to create a channel with the following mutation, using mutation CREATECHANNEL {
createChannel(
input: {
code: "test"
token: "test"
defaultLanguageCode: en
availableLanguageCodes: [en]
pricesIncludeTax: true
currencyCode: EUR
availableCurrencyCodes: [EUR]
trackInventory: true
defaultTaxZoneId: 2
defaultShippingZoneId: 2
}
) {
code
}
} |
@nonlinearcom thanks for you reply. I can confirm, it worked here too |
@michaelbromley It still goes wrong when not flipped: Prices include tax for the default Zone |
I'm facing the same issue with Vendure 2.0.1. It works when "Prices include tax for the default Zone" is flipped on. |
actually_fixed_v2_2-final.psd coming soon! |
Im getting this everything works.. im not sure if this has to do with the graphQL Playground or whatever that is
** I turned the playground off ( the /shop-api) doesnt show the HTML playground anymore, but the error <!DOC .. still there ... but it does return ' GET query missing. ' |
Describe the bug
I try to create a new channel but nothing happens.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
I expect to have a new channel with my settings in the form
Environment (please complete the following information):
Additional context
In the chrome developer tab I do see this but sure if it is related.
DevTools failed to load source map: Could not load content for http://localhost:3000/admin/settings/channels/action-bar.component.ts-angular-inline--1.css.map: Unexpected token '<', "<!DOCTYPE "... is not valid JSON
The text was updated successfully, but these errors were encountered: