Skip to main content

Shop Minis API

The Shop Minis API is a GraphQL API that powers the in-app user experience for Shop Minis. It allows your Shop Mini to fetch products and other Shop data. Explore the Shop Minis API or see the schema reference below for more detailed information.

Table of Contents

Query

FieldArgumentTypeDescription
buyerAttributes ⚠️BuyerAttributes

Fetches attributes about the buyer for the current user.

⚠️ DEPRECATED

No longer supported.

recommendedProductIds[ID!]

Fetches a list of recommended product IDs for the current user.

shopShop

Fetches a specific Shop by one of its unique attributes.

idID

The ID of the Shop.

domainString

The permanent domain of the Shop.

Objects

BuyerAttributes

Attributes about a buyer. Note that not all buyers will have attributes. Alpha: only available in development and can change at any time.

FieldArgumentTypeDescription
categoryAffinities ⚠️[CategoryAffinity!]!

The category affinities of the buyer. The presence of a category says that the buyer has some affinity, and absense means that the buyer does not or we do not know if the buyer has affinity for that category.

⚠️ DEPRECATED

No longer supported.

genderAffinity ⚠️GenderAffinity

The gender that the buyer has the most affinity to. Is null if the buyer does not have a clear affinity.

⚠️ DEPRECATED

No longer supported.

CategoryAffinity

A ShopifyTaxonomyNode and a score of how much the buyer has affinity to it.

FieldArgumentTypeDescription
affinityScore ⚠️Float!

A score representing how much affinity the buyer has for this category from 0 to 1, higher representing more affinity.

⚠️ DEPRECATED

No longer supported.

productTaxonomyId ⚠️ID!

A ShopifyTaxonomyNode gid.

⚠️ DEPRECATED

No longer supported.

Domain

Represents an web address.

FieldArgumentTypeDescription
hostString!

The host name of the domain (eg: example.com).

sslEnabledBoolean!

Whether SSL is enabled or not.

urlURL!

The URL of the domain (eg: https://example.com).

ExternalVideo

Represents a video hosted outside of Shopify.

FieldArgumentTypeDescription
altString

A word or phrase to share the nature or contents of a media.

embedUrlURL!

The embed URL of the video for the respective host.

idID!

A globally-unique identifier.

mediaContentTypeMediaContent!

The media content type.

previewImageImage

The preview image for the media.

GenderAffinity

A gender and a score of how much the buyer has affinity for that gender.

FieldArgumentTypeDescription
affinityScore ⚠️Float!

A score representing how much affinity the buyer has for this gender, from 0 to 1, higher representing more affinity.

⚠️ DEPRECATED

No longer supported.

gender ⚠️String!

The gender that the buyer has affinity for. Maybe "male", "female" or "neutral".

⚠️ DEPRECATED

No longer supported.

Image

Represents an image resource.

FieldArgumentTypeDescription
altTextString

A word or phrase to share the nature or contents of an image.

heightInt

The original height of the image in pixels. Returns null if the image is not hosted by Shopify.

idID

A unique identifier for the image.

urlURL!

The location of the image as a URL.

transformImageTransformInput

A set of options to transform the original image.

widthInt

The original width of the image in pixels. Returns null if the image is not hosted by Shopify.

ImageConnection

The connection type for Image.

FieldArgumentTypeDescription
edges[ImageEdge!]!

A list of edges.

nodes[Image!]!

A list of nodes.

pageInfoPageInfo!

Information to aid in pagination.

ImageEdge

An edge in a connection.

FieldArgumentTypeDescription
cursorString!

A cursor for use in pagination.

nodeImage

The item at the end of the edge.

MediaConnection

The connection type for Media.

FieldArgumentTypeDescription
edges[MediaEdge!]!

A list of edges.

nodes[Media!]!

A list of nodes.

pageInfoPageInfo!

Information to aid in pagination.

MediaEdge

An edge in a connection.

FieldArgumentTypeDescription
cursorString!

A cursor for use in pagination.

nodeMedia

The item at the end of the edge.

MediaImage

Represents a Shopify hosted image.

FieldArgumentTypeDescription
altString

A word or phrase to share the nature or contents of a media.

idID!

A globally-unique identifier.

imageImage

The image for the media.

mediaContentTypeMediaContent!

The media content type.

previewImageImage

The preview image for the media.

Metafield

Metafields represent custom metadata attached to a resource. Metafields can be sorted into namespaces and are comprised of keys, values, and value types.

FieldArgumentTypeDescription
idID!

A unique identifier for the image.

keyString!

The key name for a metafield.

namespaceString!

The namespace for a metafield.

referenceMetafieldReference

Returns a reference object if the metafield definition's type is a resource reference.

referencesMetafieldReferenceConnection

Returns a list references if the metafield definition's type is resource references.

afterString

Returns the elements in the list that come after the specified cursor.

beforeString

Returns the elements in the list that come before the specified cursor.

firstInt

Returns the first n elements from the list.

lastInt

Returns the last n elements from the list.

typeString!

The type name of the metafield.

valueString!

The value of a metafield.

MetafieldReferenceConnection

The connection type for MetafieldReference.

FieldArgumentTypeDescription
edges[MetafieldReferenceEdge!]!

A list of edges.

nodes[MetafieldReference!]!

A list of nodes.

pageInfoPageInfo!

Information to aid in pagination.

MetafieldReferenceEdge

An edge in a connection.

FieldArgumentTypeDescription
cursorString!

A cursor for use in pagination.

nodeMetafieldReference

The item at the end of the edge.

Metaobject

An instance of a user-defined model based on a MetaobjectDefinition.

FieldArgumentTypeDescription
fieldMetaobjectField

Accesses a field of the object by key.

keyString!

The field key.

fields[MetaobjectField!]!

All object fields with defined values. Omitted object keys can be assumed null, and no guarantees are made about field order.

handleString!

The unique handle of the metaobject. Useful as a custom ID.

idID!

A globally-unique identifier.

typeString!

The type of the metaobject. Defines the namespace of its associated metafields.

MetaobjectField

Provides the value of a Metaobject field.

FieldArgumentTypeDescription
keyString!

The field key.

referenceMetafieldReference

A referenced object if the field type is a resource reference.

referencesMetafieldReferenceConnection

A list of referenced objects if the field type is a resource reference list.

afterString

Returns the elements in the list that come after the specified cursor.

beforeString

Returns the elements in the list that come before the specified cursor.

firstInt

Returns the first n elements from the list.

lastInt

Returns the last n elements from the list.

typeString!

The type name of the field.

valueString

The field value.

Model3d

Represents a Shopify hosted 3D model.

FieldArgumentTypeDescription
altString

A word or phrase to share the nature or contents of a media.

idID!

A globally-unique identifier.

mediaContentTypeMediaContent!

The media content type.

previewImageImage

The preview image for the media.

sources[Model3dSource!]!

The sources for a 3d model.

Model3dSource

Represents a source for a Shopify hosted 3d model.

FieldArgumentTypeDescription
filesizeInt!

The filesize of the 3d model.

formatString!

The format of the 3d model.

mimeTypeString!

The MIME type of the 3d model.

urlURL!

The URL of the 3d model.

Money

A monetary value with currency.

FieldArgumentTypeDescription
amountDecimal!

Decimal money amount.

currencyCodeCurrencyCode!

Currency of the money.

PageInfo

Information about pagination in a connection.

FieldArgumentTypeDescription
endCursorString

When paginating forwards, the cursor to continue.

hasNextPageBoolean!

When paginating forwards, are there more items?

hasPreviousPageBoolean!

When paginating backwards, are there more items?

startCursorString

When paginating backwards, the cursor to continue.

Product

A product represents an individual item for sale in a Shopify store.

FieldArgumentTypeDescription
availableForSaleBoolean!

Indicates if at least one product variant is available for sale.

compareAtPriceRangeProductPriceRange!

The compare at price of the product across all variants.

defaultVariantProductVariant!

The default variant that represents this product. This is useful for determining which variant to show for a product when no variant is explicitly selected.

descriptionString!

Stripped description of the product, single line with HTML tags removed.

featuredImageImage

The featured image for the product.

handleString!

A human-friendly unique string for the Product automatically generated from its title.

idID!

A globally-unique identifier.

imagesImageConnection!

List of images associated with the product.

afterString

Returns the elements in the list that come after the specified cursor.

beforeString

Returns the elements in the list that come before the specified cursor.

firstInt

Returns the first n elements from the list.

lastInt

Returns the last n elements from the list.

mediaMediaConnection!

The media associated with the product.

afterString

Returns the elements in the list that come after the specified cursor.

beforeString

Returns the elements in the list that come before the specified cursor.

firstInt

Returns the first n elements from the list.

lastInt

Returns the last n elements from the list.

metafieldMetafield

Returns a metafield found by namespace and key.

namespaceString!

A container for a set of metafields.

keyString!

The identifier for the metafield.

onlineStoreUrlURL

The URL used for viewing the resource on the shop's Online Store. Returns null if the resource is currently not published to the Online Store sales channel.

options[ProductOption!]!

List of product options.

priceRangeProductPriceRange!

The price range.

productTypeString!

A categorization that a product can be tagged with, commonly used for filtering and searching.

reviewsAverageRatingFloat

The average rating of the product.

reviewsCountInt

The number of reviews for the product.

tags[String!]!

A comma separated list of tags that have been added to the product.

titleString!

The product’s title.

totalInventoryInt

The total quantity of inventory in stock for this Product.

variantBySelectedOptionsProductVariant

Find a product’s variant based on its selected options. This is useful for converting a user’s selection of product options into a single matching variant. If there is not a variant for the selected options, null will be returned.

selectedOptions[SelectedOptionInput!]!

The input fields used for a selected option.

variantsProductVariantConnection!

List of the product’s variants.

afterString

Returns the elements in the list that come after the specified cursor.

beforeString

Returns the elements in the list that come before the specified cursor.

firstInt

Returns the first n elements from the list.

lastInt

Returns the last n elements from the list.

vendorString!

The product’s vendor name.

ProductOption

Product property names like Size, Color, and Material that the customers can select. Variants are selected based on permutations of these options. 255 characters limit each.

FieldArgumentTypeDescription
idID!

A globally-unique identifier.

nameString!

The product option’s name.

values[String!]!

The corresponding value to the product option name.

ProductPriceRange

The price range of the product.

FieldArgumentTypeDescription
maxVariantPriceMoney!

The highest variant's price.

minVariantPriceMoney!

The lowest variant's price.

ProductVariant

A product variant represents a different version of a product, such as differing sizes or differing colors.

FieldArgumentTypeDescription
availableForSaleBoolean!

Indicates if the product variant is available for sale.

compareAtPriceMoney

The compare at price of the variant. This can be used to mark a variant as on sale, when compareAtPrice is higher than price.

currentlyNotInStockBoolean!

Whether a product is out of stock but still available for purchase (used for backorders).

idID!

A globally-unique identifier.

imageImage

Image associated with the product variant. This field falls back to the product image if no image is available.

isFavoritedBoolean!

Whether the product variant is favorited by the current user.

priceMoney!

The product variant’s price.

quantityAvailableInt

The total sellable quantity of the variant for online sales channels.

selectedOptions[SelectedOption!]!

List of product options applied to the variant.

titleString!

The product variant’s title.

ProductVariantConnection

The connection type for ProductVariant.

FieldArgumentTypeDescription
edges[ProductVariantEdge!]!

A list of edges.

nodes[ProductVariant!]!

A list of nodes.

pageInfoPageInfo!

Information to aid in pagination.

ProductVariantEdge

An edge in a connection.

FieldArgumentTypeDescription
cursorString!

A cursor for use in pagination.

nodeProductVariant

The item at the end of the edge.

SelectedOption

Properties used by customers to select a product variant. Products can have multiple options, like different sizes or colors.

FieldArgumentTypeDescription
nameString!

The product option’s name.

valueString!

The product option’s value.

Shop

A shop represents a collection of the general settings and information about the shop.

FieldArgumentTypeDescription
descriptionString

A description of the shop.

idID!

A globally-unique identifier.

isFollowingBoolean!

Whether the shop is followed by the current user.

logoImageImage

The shop’s logo image.

metafieldMetafield

Returns a metafield found by namespace and key.

namespaceString!

A container for a set of metafields.

keyString!

The identifier for the metafield.

nameString!

The name of the shop.

permanentDomainDomain!

The shop’s permanent domain.

primaryDomainDomain!

The shop’s primary domain.

productProduct

Fetches a specific Product by its ID.

idID!

The ID of the Product.

productsByIds[Product]!

Fetches a list of Product nodes by their IDs.

ids[ID!]!

The IDs of the Product nodes to fetch.

reviewsAverageRatingFloat

The average rating of products in the shop.

reviewsCountInt

The total number of reviews for products in the shop.

shareUrlURL

A Shop-attributed deep link URL used for sharing the shop.

shipsToCountries[CountryCode!]!

The countries that the shop ships to.

Video

Represents a Shopify hosted video.

FieldArgumentTypeDescription
altString

A word or phrase to share the nature or contents of a media.

idID!

A globally-unique identifier.

mediaContentTypeMediaContent!

The media content type.

previewImageImage

The preview image for the media.

sources[VideoSource!]!

The sources for a 3d model.

VideoSource

Represents a source for a Shopify hosted video.

FieldArgumentTypeDescription
formatString!

The format of the video.

heightInt!

The height of the video.

mimeTypeString!

The MIME type of the video.

urlURL!

The URL of the video.

widthInt!

The width of the video.

Inputs

ImageTransformInput

The available options for transforming an image.

FieldTypeDescription
cropCropRegion

Crop the image according to the specified region.

maxHeightInt

Image height in pixels between 1 and 5760.

maxWidthInt

Image width in pixels between 1 and 5760.

preferredContentTypeImageContent

Convert the source image into the preferred content type. Supported conversions: any file type to .jpg, and any file type to .webp.

scaleInt

Image size multiplier for high-resolution retina displays. Must be within 1..3.

SelectedOptionInput

The input fields used for a selected option.

FieldTypeDescription
nameString!

The product option’s name..

valueString!

The product option’s value.

Enums

CountryCode

The code designating a country/region, which generally follows ISO 3166-1 alpha-2 guidelines. If a territory doesn't have a country code value in the CountryCode enum, it might be considered a subdivision of another country. For example, the territories associated with Spain are represented by the country code ES, and the territories associated with the United States of America are represented by the country code US.

ValueDescription
AF

Afghanistan.

AX

Aland Islands.

AL

Albania.

DZ

Algeria.

AD

Andorra.

AO

Angola.

AI

Anguilla.

AG

Antigua And Barbuda.

AR

Argentina.

AM

Armenia.

AW

Aruba.

AC

Ascension Island.

AU

Australia.

AT

Austria.

AZ

Azerbaijan.

BS

Bahamas.

BH

Bahrain.

BD

Bangladesh.

BB

Barbados.

BY

Belarus.

BE

Belgium.

BZ

Belize.

BJ

Benin.

BM

Bermuda.

BT

Bhutan.

BO

Bolivia.

BA

Bosnia And Herzegovina.

BW

Botswana.

BV

Bouvet Island.

BR

Brazil.

IO

British Indian Ocean Territory.

BN

Brunei.

BG

Bulgaria.

BF

Burkina Faso.

BI

Burundi.

KH

Cambodia.

CA

Canada.

CV

Cape Verde.

BQ

Caribbean Netherlands.

KY

Cayman Islands.

CF

Central African Republic.

TD

Chad.

CL

Chile.

CN

China.

CX

Christmas Island.

CC

Cocos (Keeling) Islands.

CO

Colombia.

KM

Comoros.

CG

Congo.

CD

Congo, The Democratic Republic Of The.

CK

Cook Islands.

CR

Costa Rica.

HR

Croatia.

CU

Cuba.

CW

Curaçao.

CY

Cyprus.

CZ

Czech Republic.

CI

Côte d'Ivoire.

DK

Denmark.

DJ

Djibouti.

DM

Dominica.

DO

Dominican Republic.

EC

Ecuador.

EG

Egypt.

SV

El Salvador.

GQ

Equatorial Guinea.

ER

Eritrea.

EE

Estonia.

SZ

Eswatini.

ET

Ethiopia.

FK

Falkland Islands (Malvinas).

FO

Faroe Islands.

FJ

Fiji.

FI

Finland.

FR

France.

GF

French Guiana.

PF

French Polynesia.

TF

French Southern Territories.

GA

Gabon.

GM

Gambia.

GE

Georgia.

DE

Germany.

GH

Ghana.

GI

Gibraltar.

GR

Greece.

GL

Greenland.

GD

Grenada.

GP

Guadeloupe.

GT

Guatemala.

GG

Guernsey.

GN

Guinea.

GW

Guinea Bissau.

GY

Guyana.

HT

Haiti.

HM

Heard Island And Mcdonald Islands.

VA

Holy See (Vatican City State).

HN

Honduras.

HK

Hong Kong.

HU

Hungary.

IS

Iceland.

IN

India.

ID

Indonesia.

IR

Iran, Islamic Republic Of.

IQ

Iraq.

IE

Ireland.

IM

Isle Of Man.

IL

Israel.

IT

Italy.

JM

Jamaica.

JP

Japan.

JE

Jersey.

JO

Jordan.

KZ

Kazakhstan.

KE

Kenya.

KI

Kiribati.

KP

Korea, Democratic People's Republic Of.

XK

Kosovo.

KW

Kuwait.

KG

Kyrgyzstan.

LA

Lao People's Democratic Republic.

LV

Latvia.

LB

Lebanon.

LS

Lesotho.

LR

Liberia.

LY

Libyan Arab Jamahiriya.

LI

Liechtenstein.

LT

Lithuania.

LU

Luxembourg.

MO

Macao.

MG

Madagascar.

MW

Malawi.

MY

Malaysia.

MV

Maldives.

ML

Mali.

MT

Malta.

MQ

Martinique.

MR

Mauritania.

MU

Mauritius.

YT

Mayotte.

MX

Mexico.

MD

Moldova, Republic of.

MC

Monaco.

MN

Mongolia.

ME

Montenegro.

MS

Montserrat.

MA

Morocco.

MZ

Mozambique.

MM

Myanmar.

NA

Namibia.

NR

Nauru.

NP

Nepal.

NL

Netherlands.

AN

Netherlands Antilles.

NC

New Caledonia.

NZ

New Zealand.

NI

Nicaragua.

NE

Niger.

NG

Nigeria.

NU

Niue.

NF

Norfolk Island.

MK

North Macedonia.

NO

Norway.

OM

Oman.

PK

Pakistan.

PS

Palestinian Territory, Occupied.

PA

Panama.

PG

Papua New Guinea.

PY

Paraguay.

PE

Peru.

PH

Philippines.

PN

Pitcairn.

PL

Poland.

PT

Portugal.

QA

Qatar.

CM

Republic of Cameroon.

RE

Reunion.

RO

Romania.

RU

Russia.

RW

Rwanda.

BL

Saint Barthélemy.

SH

Saint Helena.

KN

Saint Kitts And Nevis.

LC

Saint Lucia.

MF

Saint Martin.

PM

Saint Pierre And Miquelon.

WS

Samoa.

SM

San Marino.

ST

Sao Tome And Principe.

SA

Saudi Arabia.

SN

Senegal.

RS

Serbia.

SC

Seychelles.

SL

Sierra Leone.

SG

Singapore.

SX

Sint Maarten.

SK

Slovakia.

SI

Slovenia.

SB

Solomon Islands.

SO

Somalia.

ZA

South Africa.

GS

South Georgia And The South Sandwich Islands.

KR

South Korea.

SS

South Sudan.

ES

Spain.

LK

Sri Lanka.

VC

St. Vincent.

SD

Sudan.

SR

Suriname.

SJ

Svalbard And Jan Mayen.

SE

Sweden.

CH

Switzerland.

SY

Syria.

TW

Taiwan.

TJ

Tajikistan.

TZ

Tanzania, United Republic Of.

TH

Thailand.

TL

Timor Leste.

TG

Togo.

TK

Tokelau.

TO

Tonga.

TT

Trinidad and Tobago.

TA

Tristan da Cunha.

TN

Tunisia.

TR

Turkey.

TM

Turkmenistan.

TC

Turks and Caicos Islands.

TV

Tuvalu.

UG

Uganda.

UA

Ukraine.

AE

United Arab Emirates.

GB

United Kingdom.

US

United States.

UM

United States Minor Outlying Islands.

UY

Uruguay.

UZ

Uzbekistan.

VU

Vanuatu.

VE

Venezuela.

VN

Vietnam.

VG

Virgin Islands, British.

WF

Wallis And Futuna.

EH

Western Sahara.

YE

Yemen.

ZM

Zambia.

ZW

Zimbabwe.

CropRegion

The part of the image that should remain after cropping.

ValueDescription
BOTTOM

Keep the bottom of the image.

CENTER

Keep the center of the image.

LEFT

Keep the left of the image.

RIGHT

Keep the right of the image.

TOP

Keep the top of the image.

CurrencyCode

The three-letter currency codes that represent the world currencies used in stores. These include standard ISO 4217 codes, legacy codes, and non-standard codes.

ValueDescription
AED

United Arab Emirates Dirham (AED).

AFN

Afghan Afghani (AFN).

ALL

Albanian Lek (ALL).

AMD

Armenian Dram (AMD).

ANG

Netherlands Antillean Guilder.

AOA

Angolan Kwanza (AOA).

ARS

Argentine Pesos (ARS).

AUD

Australian Dollars (AUD).

AWG

Aruban Florin (AWG).

AZN

Azerbaijani Manat (AZN).

BAM

Bosnia and Herzegovina Convertible Mark (BAM).

BBD

Barbadian Dollar (BBD).

BDT

Bangladesh Taka (BDT).

BGN

Bulgarian Lev (BGN).

BHD

Bahraini Dinar (BHD).

BIF

Burundian Franc (BIF).

BMD

Bermudian Dollar (BMD).

BND

Brunei Dollar (BND).

BOB

Bolivian Boliviano (BOB).

BRL

Brazilian Real (BRL).

BSD

Bahamian Dollar (BSD).

BTN

Bhutanese Ngultrum (BTN).

BWP

Botswana Pula (BWP).

BYN

Belarusian Ruble (BYN).

BYR

Belarusian Ruble (BYR).

BZD

Belize Dollar (BZD).

CAD

Canadian Dollars (CAD).

CDF

Congolese franc (CDF).

CHF

Swiss Francs (CHF).

CLP

Chilean Peso (CLP).

CNY

Chinese Yuan Renminbi (CNY).

COP

Colombian Peso (COP).

CRC

Costa Rican Colones (CRC).

CVE

Cape Verdean escudo (CVE).

CZK

Czech Koruny (CZK).

DJF

Djiboutian Franc (DJF).

DKK

Danish Kroner (DKK).

DOP

Dominican Peso (DOP).

DZD

Algerian Dinar (DZD).

EGP

Egyptian Pound (EGP).

ERN

Eritrean Nakfa (ERN).

ETB

Ethiopian Birr (ETB).

EUR

Euro (EUR).

FJD

Fijian Dollars (FJD).

FKP

Falkland Islands Pounds (FKP).

GBP

United Kingdom Pounds (GBP).

GEL

Georgian Lari (GEL).

GHS

Ghanaian Cedi (GHS).

GIP

Gibraltar Pounds (GIP).

GMD

Gambian Dalasi (GMD).

GNF

Guinean Franc (GNF).

GTQ

Guatemalan Quetzal (GTQ).

GYD

Guyanese Dollar (GYD).

HKD

Hong Kong Dollars (HKD).

HNL

Honduran Lempira (HNL).

HRK

Croatian Kuna (HRK).

HTG

Haitian Gourde (HTG).

HUF

Hungarian Forint (HUF).

IDR

Indonesian Rupiah (IDR).

ILS

Israeli New Shekel (NIS).

INR

Indian Rupees (INR).

IQD

Iraqi Dinar (IQD).

IRR

Iranian Rial (IRR).

ISK

Icelandic Kronur (ISK).

JEP

Jersey Pound.

JMD

Jamaican Dollars (JMD).

JOD

Jordanian Dinar (JOD).

JPY

Japanese Yen (JPY).

KES

Kenyan Shilling (KES).

KGS

Kyrgyzstani Som (KGS).

KHR

Cambodian Riel.

KID

Kiribati Dollar (KID).

KMF

Comorian Franc (KMF).

KRW

South Korean Won (KRW).

KWD

Kuwaiti Dinar (KWD).

KYD

Cayman Dollars (KYD).

KZT

Kazakhstani Tenge (KZT).

LAK

Laotian Kip (LAK).

LBP

Lebanese Pounds (LBP).

LKR

Sri Lankan Rupees (LKR).

LRD

Liberian Dollar (LRD).

LSL

Lesotho Loti (LSL).

LTL

Lithuanian Litai (LTL).

LVL

Latvian Lati (LVL).

LYD

Libyan Dinar (LYD).

MAD

Moroccan Dirham.

MDL

Moldovan Leu (MDL).

MGA

Malagasy Ariary (MGA).

MKD

Macedonia Denar (MKD).

MMK

Burmese Kyat (MMK).

MNT

Mongolian Tugrik.

MOP

Macanese Pataca (MOP).

MRU

Mauritanian Ouguiya (MRU).

MUR

Mauritian Rupee (MUR).

MVR

Maldivian Rufiyaa (MVR).

MWK

Malawian Kwacha (MWK).

MXN

Mexican Pesos (MXN).

MYR

Malaysian Ringgits (MYR).

MZN

Mozambican Metical.

NAD

Namibian Dollar.

NGN

Nigerian Naira (NGN).

NIO

Nicaraguan Córdoba (NIO).

NOK

Norwegian Kroner (NOK).

NPR

Nepalese Rupee (NPR).

NZD

New Zealand Dollars (NZD).

OMR

Omani Rial (OMR).

PAB

Panamian Balboa (PAB).

PEN

Peruvian Nuevo Sol (PEN).

PGK

Papua New Guinean Kina (PGK).

PHP

Philippine Peso (PHP).

PKR

Pakistani Rupee (PKR).

PLN

Polish Zlotych (PLN).

PYG

Paraguayan Guarani (PYG).

QAR

Qatari Rial (QAR).

RON

Romanian Lei (RON).

RSD

Serbian dinar (RSD).

RUB

Russian Rubles (RUB).

RWF

Rwandan Franc (RWF).

SAR

Saudi Riyal (SAR).

SBD

Solomon Islands Dollar (SBD).

SCR

Seychellois Rupee (SCR).

SDG

Sudanese Pound (SDG).

SEK

Swedish Kronor (SEK).

SGD

Singapore Dollars (SGD).

SHP

Saint Helena Pounds (SHP).

SLL

Sierra Leonean Leone (SLL).

SOS

Somali Shilling (SOS).

SRD

Surinamese Dollar (SRD).

SSP

South Sudanese Pound (SSP).

STD

Sao Tome And Principe Dobra (STD).

STN

Sao Tome And Principe Dobra (STN).

SYP

Syrian Pound (SYP).

SZL

Swazi Lilangeni (SZL).

THB

Thai baht (THB).

TJS

Tajikistani Somoni (TJS).

TMT

Turkmenistani Manat (TMT).

TND

Tunisian Dinar (TND).

TOP

Tongan Pa'anga (TOP).

TRY

Turkish Lira (TRY).

TTD

Trinidad and Tobago Dollars (TTD).

TWD

Taiwan Dollars (TWD).

TZS

Tanzanian Shilling (TZS).

UAH

Ukrainian Hryvnia (UAH).

UGX

Ugandan Shilling (UGX).

USD

United States Dollars (USD).

UYU

Uruguayan Pesos (UYU).

UZS

Uzbekistan som (UZS).

VED

Venezuelan Bolivares (VED).

VEF

Venezuelan Bolivares (VEF).

VES

Venezuelan Bolivares Soberanos (VES).

VND

Vietnamese đồng (VND).

VUV

Vanuatu Vatu (VUV).

WST

Samoan Tala (WST).

XAF

Central African CFA Franc (XAF).

XCD

East Caribbean Dollar (XCD).

XOF

West African CFA franc (XOF).

XPF

CFP Franc (XPF).

XXX

Unrecognized currency.

YER

Yemeni Rial (YER).

ZAR

South African Rand (ZAR).

ZMW

Zambian Kwacha (ZMW).

ImageContent

List of supported image content types.

ValueDescription
JPG

A JPG image.

WEBP

A WEBP image.

MediaContent

The possible content types for a media object.

ValueDescription
EXTERNAL_VIDEO

An externally hosted video.

IMAGE

A Shopify hosted image.

MODEL_3D

A 3d model.

VIDEO

A Shopify hosted video.

Scalars

Boolean

Represents true or false values.

Decimal

A signed decimal number serialized as a string. Example value: "29.99".

Float

Represents signed double-precision fractional values as specified by IEEE 754.

ID

Represents a unique identifier that is Base64 obfuscated. It is often used to refetch an object or as key for a cache. The ID type appears in a JSON response as a String; however, it is not intended to be human-readable. When expected as an input type, any string (such as "VXNlci0xMA==") or integer (such as 4) input value will be accepted as an ID.

Int

Represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1.

String

Represents textual data as UTF-8 character sequences. This type is most often used by GraphQL to represent free-form human-readable text.

URL

Represents an RFC 3986 and RFC 3987-compliant URI string.

For example, "https://johns-apparel.myshopify.com" is a valid URL. It includes a scheme (https) and a host (johns-apparel.myshopify.com).

Interfaces

HasMetafields

Represents information about the metafields associated to the specified resource.

FieldArgumentTypeDescription
metafieldMetafield

Returns a metafield found by namespace and key.

namespaceString!

A container for a set of metafields.

keyString!

The identifier for the metafield.

Media

Represents a media interface.

FieldArgumentTypeDescription
altString

A word or phrase to share the nature or contents of a media.

mediaContentTypeMediaContent!

The media content type.

previewImageImage

The preview image for the media.

Unions

MetafieldReference

Returns the resource which is being referred to by a metafield.

TypeDescription
MediaImage

Represents a Shopify hosted image.

Metaobject

An instance of a user-defined model based on a MetaobjectDefinition.

Product

A product represents an individual item for sale in a Shopify store.

ProductVariant

A product variant represents a different version of a product, such as differing sizes or differing colors.

Video

Represents a Shopify hosted video.