@gradientedge/commercetools-utils
    Preparing search index...

    Interface GraphQLCountryNotConfiguredInStoreError

    Returned when a Cart or an Order in a Store references a country that is not included in the countries configured for the Store.

    The error is returned as a failed response to:
    
    - [Create Cart in Store](ctp:api:endpoint:/{projectKey}/in-store/carts:POST) request and [Set Country](ctp:api:type:CartSetCountryAction) update action on Carts.
    - [Create Cart in Store](ctp:api:endpoint:/{projectKey}/in-store/me/carts:POST) request and [Set Country](ctp:api:type:MyCartSetCountryAction) update action on My Carts.
    - [Create Order in Store from Cart](ctp:api:endpoint:/{projectKey}/in-store/orders:POST) and [Create Order from Quote](ctp:api:endpoint:/{projectKey}/orders/quotes:POST) requests on Orders.
    - [Create Order in Store from Cart](ctp:api:endpoint:/{projectKey}/in-store/me/orders:POST) and [Create Order from Quote](ctp:api:endpoint:/{projectKey}/me/orders/quotes:POST) requests on My Orders.
    - [Create Order by Import](ctp:api:endpoint:/{projectKey}/orders/import:POST) request on Order Import.
    - [Set Country](ctp:api:type:StagedOrderSetCountryAction) update action on Order Edits.
    
    interface GraphQLCountryNotConfiguredInStoreError {
        code: "CountryNotConfiguredInStore";
        country: string;
        storeCountries: string[];
        [key: string]: any;
    }

    Hierarchy (View Summary)

    Indexable

    • [key: string]: any
    Index

    Properties

    code: "CountryNotConfiguredInStore"

    One of the error codes that is listed on the Errors page.

    country: string

    The country that is not configured for the Store but referenced on the Cart or Order.

    storeCountries: string[]

    Countries configured for the Store.