Skip to content

CustomerCart graphql: address country label getting code not full name #36916

Open
@ronakchauhan

Description

@ronakchauhan

Magento version: 2.4.5
Graphql: customerCart

Request:
{ customerCart { billing_address { country { label code } firstname lastname } shipping_addresses { country { label code } } } }

Response:
{ "data": { "customerCart": { "billing_address": { "country": { "label": "DE", "code": "DE" }, "firstname": "Ronak", "lastname": "Chauhan" }, "shipping_addresses": [ { "country": { "label": "DE", "code": "DE" } } ] } } }

Expected result:
"country": { "label": "Germany", // this should be full name of the country "code": "DE" },

Metadata

Metadata

Type

No type

Projects

Status

In Progress

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions