-
Notifications
You must be signed in to change notification settings - Fork 977
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
Sales Channel Default Currency #103
Comments
Hey, thank you for reporting an issue. I created an official ticket in our issue tracker. You can follow the issue here: https://issues.shopware.com/issues/NEXT-4310 Greetings, |
Hi @BrentRobert, |
Hi @ssltg, I change the default currency in the backend under the headless channel. As a result I'm getting the following from the API: {
"total": 3,
"data": [
{
"isoCode": "USD",
"factor": 1.17085,
"symbol": "$",
"shortName": "USD",
"name": "US-Dollar",
"position": 1,
"decimalPrecision": 2,
"translations": null,
"customFields": null,
"promotionDiscountPrices": null,
"isDefault": false,
"_uniqueIdentifier": "3959fe3333a84d6d8407c8ba0189f457",
"versionId": null,
"translated": {
"shortName": "USD",
"name": "US-Dollar",
"customFields": []
},
"createdAt": "2019-07-17T10:12:06+00:00",
"updatedAt": null,
"extensions": [],
"id": "3959fe3333a84d6d8407c8ba0189f457"
},
{
"isoCode": "EUR",
"factor": 1,
"symbol": "€",
"shortName": "EUR",
"name": "Euro",
"position": 1,
"decimalPrecision": 2,
"translations": null,
"customFields": null,
"promotionDiscountPrices": null,
"isDefault": true,
"_uniqueIdentifier": "b7d2554b0ce847cd82f3ac9bd1c0dfca",
"versionId": null,
"translated": {
"shortName": "EUR",
"name": "Euro",
"customFields": []
},
"createdAt": "2019-07-17T10:12:06+00:00",
"updatedAt": null,
"extensions": [],
"id": "b7d2554b0ce847cd82f3ac9bd1c0dfca"
},
{
"isoCode": "GBP",
"factor": 0.89157,
"symbol": "£",
"shortName": "GBP",
"name": "Pound",
"position": 1,
"decimalPrecision": 2,
"translations": null,
"customFields": null,
"promotionDiscountPrices": null,
"isDefault": false,
"_uniqueIdentifier": "df81c71630ed458b97d06f3ad3e95dbb",
"versionId": null,
"translated": {
"shortName": "GBP",
"name": "Pound",
"customFields": []
},
"createdAt": "2019-07-17T10:12:06+00:00",
"updatedAt": null,
"extensions": [],
"id": "df81c71630ed458b97d06f3ad3e95dbb"
}
],
"aggregations": []
} I'm using /sales-channel-api/v1/currency endpoint with the sw-access-key of the appropriate sales channel. (Do note I'm on EA1) |
Hi,
When changing my default currency to USD in my headless sales channel, instead of Euro I still get Euro as default in the sales-channel API. While in the backend it did save as USD and shows as USD.
The text was updated successfully, but these errors were encountered: