Home > @infiniteobjects/shopify-data-manager > AdminTypes > MarketCreateInput
The input fields required to create a market.
Signature:
export interface MarketCreateInput
Property | Modifiers | Type | Description |
---|---|---|---|
enabled? | InputMaybe<Scalars[‘Boolean’][‘input’]> | <p>(Optional) Whether the market is enabled to receive visitors and sales. If a value isn’t provided, then the market is enabled by default if all included regions have shipping rates, and disabled if any regions don’t have shipping rates.</p><p>**Note**: Regions in inactive markets can’t be selected on the storefront or in checkout.</p> | |
handle? | InputMaybe<Scalars[‘String’][‘input’]> | (Optional) A unique identifier for the market. For example "ca" . If the handle isn’t provided, then the handle is auto-generated based on the country or name. |
|
name | Scalars[‘String’][‘input’] | The name of the market. Not shown to customers. | |
regions | Array<MarketRegionCreateInput> | The regions to be included in the market. Each region can only be included in one market at a time. |