Skip to main content

Shop Minis Admin API

info

The Shop Minis Admin API is only available to early access partners. Apply here to join the early access program.

The Shop Minis Admin API is a GraphQL API that allows developers or backend applications to communicate with the Shop Minis platform. It can be used to check eligibility information about shops and products, configure entry points, query for attribution data and more.

If you're an early access partner, we'll have provided you with an API key to get started. Your API key is secret and should never be shared with or exposed in client-side contexts. If you don't already have an API key, you can request one in the partners issue tracker.

Here's an example for making authenticated requests to the Shop Minis Admin API using curl:

curl -X POST \
https://server.shop.app/minis/admin-api/alpha/graphql.json \
-H 'Content-Type: application/graphql' \
-H 'Authorization: Bearer <shop-minis-admin-api-key>' \
-d '{your_query}'

The application/graphql content type is only required when the request body is a GraphQL query string. If you are using a dedicated GraphQL client it should use application/json instead.

You can see detailed information about the GraphQL schema below, or explore the API at the following endpoint:

https://server.shop.app/minis/admin-api/alpha/graphql.json

Rate limiting

The Shop Minis Admin API is rate limited. You are unlikely to experience throttling during the normal operation of your Shop Mini, but if you plan to make many requests in quick succession (e.g. backfilling entry points) you should take rate limiting into account. Requests that are subject to throttling will have a response status code of 429 and include a top-level error with the code TOO_MANY_REQUESTS:

{
"data": null,
"errors": [
{
"message": "Slow down there partner.",
"extensions": {
"code": "TOO_MANY_REQUESTS"
}
}
]
}
Table of Contents

Query

FieldArgumentTypeDescription
attributionsAttributionConnection!

Returns attributions for orders made through a Mini within Shop.

shopDomainString

The domain of the shop ({store_name}.myshopify.com) to get attributions for.

orderIdID

The ID of the order to get attributions for.

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.

entryPointVisibilityRuleValidityEntryPointVisibilityRuleValidity!

Returns whether a given entry point visibility rule is valid.

ruleString!

The rule to check.

entryPointsEntryPointConnection!

Returns a list of entry points given the filters.

shopDomainString!

Filters entry points only for this shop domain.

locationEntryPointLocation

Filters only entry points for this location. Empty indicates all locations will be returned.

typeEntryPointType

Filters only entry points with this type. Empty indicates all types will be returned.

updatedAtTimeRangeFilter

Shows entry points updated within a date range.

firstInt

Returns the first n elements from the 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.

lastInt

Returns the last n elements from the list.

miniMini

Returns information about a Mini based on the provided API key.

productEligibilities[ProductEligibility!]!

Returns eligibilities for products within Shop.

productIds[ID!]!

The IDs of the products to get eligibilities for.

shopEligibilities[ShopEligibility!]!

Returns eligibilities for shops within Shop.

shopDomains[String!]

The domains of the shops ({store_name}.myshopify.com) to get eligibilities for.

submissionsSubmissionConnection!

Returns submissions for the Shop Mini.

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.

Mutation

FieldArgumentTypeDescription
entryPointDeleteAllEntryPointDeleteAllPayload!

Asynchronously deletes all entry points for the given shopDomain. Entry points created or updated after performing the mutation will not be deleted.

shopDomainString!

The shop domain for which to delete all entry points.

entryPointDeleteByOwnerEntryPointDeleteByOwnerPayload!

Deletes an entry point by using its ownerId.

locationEntryPointLocation!

The location of the entry point.

typeEntryPointType!

The type of the entry point.

ownerIdID!

The Shop ID, Product ID or Order ID which the entry point belongs to.

entryPointDeleteByRuleEntryPointDeleteByRulePayload!

Deletes an entry point with a visibility rule.

shopDomainString!

The Shop domain to which entry point belongs.

locationEntryPointLocation!

The location of the entry point.

typeEntryPointType!

The type of the entry point.

entryPointEventStatusUpdateEntryPointEventStatusUpdatePayload!

Updates the status of an event entry point.

shopDomainString

The Shop domain ({store_name}.myshopify.com) to which the entry point event details belong.

productIdID

The Product ID to which entry point event details belongs.

statusEntryPointEventStatus!

The status value to be used for event entry point.

entryPointSetByOwnerEntryPointSetByOwnerPayload!

Creates or updates an entry point.

shopDomainString

The Shop domain to which entry point belongs.

locationEntryPointLocation!

The location of the entry point.

ownerIdID!

The owner ID for the relevant product, shop, or order.

inputEntryPointSetInput!

The entry point input.

entryPointSetByRuleEntryPointSetByRulePayload!

Creates or updates entry point by setting a visibility rule.

shopDomainString!

The Shop domain to which the entry points belong.

locationEntryPointLocation!

The location of the entry point.

visibilityRuleString!

The visibility rule which calculates where entry points should appear e.g. tag:tag-1 OR tag:tag-2.

inputEntryPointSetInput!

The entry point input.

invitationAcceptInvitationAcceptPayload!

Swap an invitation code for an API key.

codeString!

The invitation code.

notificationTriggerNotificationTriggerPayload!

Triggers a notification.

templateHandleString!

The template used for the notification.

shopDomainString

The Shop domain ({store_name}.myshopify.com) related to the notification.

scopedEntityIdID!

The subject of notification, Shop ID or Product ID.

submissionCancelSubmissionCancelPayload!

Cancels a pending submission.

referenceString!

Reference of the submission to be cancelled.

submissionCreateSubmissionCreatePayload!

Creates a new submission.

descriptionString!

A description of the Shop Mini and any changes since the last released version.

uploadIdID!

The ID of the staged upload to attach to the submission.

submissionUploadCreateSubmissionUploadCreatePayload!

Creates a new staged upload for a submission.

inputStagedUploadInput!

The information needed to create a new staged upload.

Objects

Attribution

Represents attribution details for a line item in an order.

FieldArgumentTypeDescription
fields[AttributionField!]!

The fields associated with this attribution.

lineItemIdID!

The LineItem ID associated with this attribution.

orderIdID!

The Order ID associated with this attribution.

shopDomainString!

The Shop domain ({store_name}.myshopify.com) associated with this attribution.

shopId ⚠️ID!

The Shop ID associated with this attribution.

⚠️ DEPRECATED

DEPRECATED - Please use shopDomain instead.

AttributionConnection

The connection type for Attribution.

FieldArgumentTypeDescription
edges[AttributionEdge!]!

A list of edges.

nodes[Attribution!]!

A list of nodes.

pageInfoPageInfo!

Information to aid in pagination.

AttributionEdge

An edge in a connection.

FieldArgumentTypeDescription
cursorString!

A cursor for use in pagination.

nodeAttribution

The item at the end of the edge.

AttributionField

Represents a single attribution detail.

FieldArgumentTypeDescription
keyString!

The key of the field.

valueString!

The value of the field.

ContentCreator

This is a content creator that may appear next to a Mini entry point.

FieldArgumentTypeDescription
avatarImage

The avatar of the content creator.

nameString!

The name of the content creator.

DefaultCardEntryPoint

This is a default card entry point for the Minis Admin API.

FieldArgumentTypeDescription
actionTextString

The action text of the entry point.

idID

The ID of the entry point.

imageImage

The image for the entry point.

locationEntryPointLocation

The location of the entry point.

ownerIdID

The ID of the owner of the entry point. Empty indicates the entry point has multiple owners set by the visibilityRule

textString

The text of the entry point.

titleString!

The title of the entry point.

updatedAtISO8601DateTime!

The date and time when the entry point was updated.

visibilityRuleString

The visibility rule of the entry point. Empty indicates the entry point has a single owner set by the ownerId.

EntryPointConnection

The connection type for EntryPoint.

FieldArgumentTypeDescription
edges[EntryPointEdge]

A list of edges.

nodes[EntryPoint]

A list of nodes.

pageInfoPageInfo!

Information to aid in pagination.

EntryPointDeleteAllPayload

Return type for the entryPointDeleteAll mutation.

FieldArgumentTypeDescription
userErrors[EntryPointDeleteAllUserError!]!

List of errors that occured while executing the mutation.

EntryPointDeleteAllUserError

A user or client error that could occur during the execution of the entryPointDeleteAll mutation.

FieldArgumentTypeDescription
codeEntryPointDeleteAllUserErrorCode!

Error code associated with the error.

field[String!]

Which input value this error came from.

messageString!

A description of the error.

EntryPointDeleteByOwnerPayload

Return type for the entryPointDeleteByOwner mutation.

FieldArgumentTypeDescription
userErrors[EntryPointDeleteByOwnerUserError!]!

List of errors that occured while executing the mutation.

EntryPointDeleteByOwnerUserError

A user or client error that could occur during the execution of the entryPointDeleteByOwner mutation.

FieldArgumentTypeDescription
codeEntryPointDeleteByOwnerUserErrorCode!

Error code associated with the error.

field[String!]

Which input value this error came from.

messageString!

A description of the error.

EntryPointDeleteByRulePayload

Return type for the entryPointDeleteByRule mutation.

FieldArgumentTypeDescription
userErrors[EntryPointDeleteByRuleUserError!]!

List of errors that occured while executing the mutation.

EntryPointDeleteByRuleUserError

A user or client error that could occur during the execution of the entryPointDeleteByRule mutation.

FieldArgumentTypeDescription
codeEntryPointDeleteByRuleUserErrorCode!

Error code associated with the error.

field[String!]

Which input value this error came from.

messageString!

A description of the error.

EntryPointEdge

An edge in a connection.

FieldArgumentTypeDescription
cursorString!

A cursor for use in pagination.

nodeEntryPoint

The item at the end of the edge.

EntryPointEventStatusUpdatePayload

Return type for the entryPointEventStatusUpdate mutation.

FieldArgumentTypeDescription
userErrors[EntryPointEventStatusUpdateUserError!]!

List of errors that occured while executing the mutation.

EntryPointEventStatusUpdateUserError

A user or client error that could occur during the execution of the entryPointEventStatusUpdate mutation.

FieldArgumentTypeDescription
codeEntryPointEventStatusUpdateUserErrorCode!

Error code associated with the error.

field[String!]

Which input value this error came from.

messageString!

A description of the error.

EntryPointSetByOwnerPayload

Return type for the entryPointSetByOwner mutation.

FieldArgumentTypeDescription
entryPointEntryPoint

The entry point that was created or updated.

userErrors[EntryPointSetByOwnerUserError!]!

List of errors that occured while executing the mutation.

EntryPointSetByOwnerUserError

A user or client error that could occur during the execution of the entryPointSetByOwner mutation.

FieldArgumentTypeDescription
codeEntryPointSetByOwnerUserErrorCode!

Error code associated with the error.

field[String!]

Which input value this error came from.

messageString!

A description of the error.

EntryPointSetByRulePayload

Return type for the entryPointSetByRule mutation.

FieldArgumentTypeDescription
entryPointEntryPoint

The entry point that was created or updated.

userErrors[EntryPointSetByRuleUserError!]!

List of errors that occured while executing the mutation.

EntryPointSetByRuleUserError

A user or client error that could occur during the execution of the entryPointSetByRule mutation.

FieldArgumentTypeDescription
codeEntryPointSetByRuleUserErrorCode!

Error code associated with the error.

field[String!]

Which input value this error came from.

messageString!

A description of the error.

EntryPointVisibilityRuleValidity

Represents the validity of an entry point visibility rule.

FieldArgumentTypeDescription
statusEntryPointVisibilityRuleValidityStatus!

The validity status of the rule.

userErrors[EntryPointVisibilityRuleValidityUserError!]!

The errors that occurred when validating the rule.

EntryPointVisibilityRuleValidityUserError

An error that occurred when validating an entry point visibility rule.

FieldArgumentTypeDescription
codeEntryPointVisibilityRuleValidityErrorCode!

The code of the error that occurred.

field[String!]!

The path to the field that the error occurred on.

messageString!

The message describing the error.

EventCardV2EntryPoint

An Event Card entry point.

FieldArgumentTypeDescription
eventLiveAtISO8601DateTime

The start time of the event.

eventStatusString!

The status of the event.

idID

The ID of the entry point.

imageImage!

The image for the card when the event is active.

locationEntryPointLocation

The location of the entry point.

notificationTopicString!

The topic to subscribe to for notifications.

ownerIdID

The ID of the owner of the entry point. Empty indicates the entry point has multiple owners set by the visibilityRule

preActiveImageImage!

The image for the card before the event is active.

textString

The text of the card.

titleString!

The title of the card.

updatedAtISO8601DateTime!

The date and time when the entry point was updated.

visibilityRuleString

The visibility rule of the entry point. Empty indicates the entry point has a single owner set by the ownerId.

ExternalVideo

Represents a video hosted outside of Shopify.

FieldArgumentTypeDescription
altString

The alt text for the media.

embedUrlURL!

The embed URL of the video for the respective host.

previewImageImage

The preview image for the media.

Image

The image for the entry point.

FieldArgumentTypeDescription
urlURL!

URL of the image.

ImageCollectionEntryPoint

This is a Mini Image Collection entry point.

FieldArgumentTypeDescription
idID

The ID of the entry point.

items[ImageCollectionEntryPointItem!]!

The items for the entry point.

layoutImageCollectionEntryPointLayout!

The layout for the entry point.

locationEntryPointLocation

The location of the entry point.

ownerIdID

The ID of the owner of the entry point. Empty indicates the entry point has multiple owners set by the visibilityRule

updatedAtISO8601DateTime!

The date and time when the entry point was updated.

visibilityRuleString

The visibility rule of the entry point. Empty indicates the entry point has a single owner set by the ownerId.

ImageCollectionEntryPointItem

This is a Mini image collection entry point item.

FieldArgumentTypeDescription
externalIdID

The external ID for the item. Provided by the partner and opaque to the Shop app.

imageImage!

The image for the item.

ImageCollectionV2EntryPoint

This is a Mini Image Collection V2 entry point.

FieldArgumentTypeDescription
idID

The ID of the entry point.

items[ImageCollectionV2EntryPointItem!]!

The items for the entry point.

layoutImageCollectionEntryPointLayout!

The layout for the entry point.

locationEntryPointLocation

The location of the entry point.

ownerIdID

The ID of the owner of the entry point. Empty indicates the entry point has multiple owners set by the visibilityRule

updatedAtISO8601DateTime!

The date and time when the entry point was updated.

visibilityRuleString

The visibility rule of the entry point. Empty indicates the entry point has a single owner set by the ownerId.

ImageCollectionV2EntryPointItem

This is a Mini image collection entry point item.

FieldArgumentTypeDescription
descriptionString

The description for ImageCollectionV2EntryPoint item.

displayDateISO8601DateTime

The date when the ImageCollectionV2EntryPoint item was created.

externalIdID

The external ID for the item. Provided by the partner and opaque to the Shop app.

imageImage!

The image for the item.

relatedProducts[ImageCollectionV2EntryPointItemRelatedProduct!]!

The list of products associated with this image.

ImageCollectionV2EntryPointItemRelatedProduct

The related product item shown on the image.

FieldArgumentTypeDescription
productIdID!

The product ID for the entry point.

productVariantIdID

The product variant ID for the entry point.

InvitationAcceptPayload

Return type for the invitationAccept mutation.

FieldArgumentTypeDescription
tokenString

The API key token that was created.

userErrors[InvitationAcceptUserError!]!

List of errors that occured while executing the mutation.

InvitationAcceptUserError

A user or client error that could occur during the execution of the invitationAccept mutation.

FieldArgumentTypeDescription
codeInvitationAcceptUserErrorCode!

Error code associated with the error.

field[String!]

Which input value this error came from.

messageString!

A description of the error.

LinkEntryPoint

A Link entry point to a Shop Mini.

FieldArgumentTypeDescription
actionTextString!

The call to action text of the link entry point.

idID

The ID of the entry point.

locationEntryPointLocation

The location of the entry point.

ownerIdID

The ID of the owner of the entry point. Empty indicates the entry point has multiple owners set by the visibilityRule

updatedAtISO8601DateTime!

The date and time when the entry point was updated.

visibilityRuleString

The visibility rule of the entry point. Empty indicates the entry point has a single owner set by the ownerId.

Mini

Information about a Shop Mini.

FieldArgumentTypeDescription
handleID!

The mini handle.

MoneyV2

A money object capturing an amount and its currency.

FieldArgumentTypeDescription
amountDecimal!

The decimal amount.

approximateConvertedAmount ⚠️Decimal

Approximate conversion of price to currencyCodeConvertedTo.

⚠️ DEPRECATED

DEPRECATED - No longer implemented

currencyCodeString!

The currency code.

currencyCodeConvertedTo ⚠️String

Currency code that price was converted to.

⚠️ DEPRECATED

DEPRECATED - No longer implemented

NotificationTriggerPayload

Return type for the notificationTrigger mutation.

FieldArgumentTypeDescription
userErrors[NotificationTriggerUserError!]!

List of errors that occured while executing the mutation.

warnings[Warning!]

The warnings related to the notification trigger.

NotificationTriggerUserError

A user or client error that could occur during the execution of the notificationTrigger mutation.

FieldArgumentTypeDescription
codeNotificationTriggerUserErrorCode!

Error code associated with the error.

field[String!]

Which input value this error came from.

messageString!

A description of the error.

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.

ProductEligibility

Represents the eligibility of a product within Shop.

FieldArgumentTypeDescription
productIdID!

The ID of the product.

statusProductEligibilityStatus!

The eligibility status of the product.

ProductOfferCardEntryPoint

An Product Offer Card entry point.

FieldArgumentTypeDescription
discountedPriceMoneyV2!

The discounted price of the offered product.

expiresAtISO8601DateTime

The product offer expiration time.

idID

The ID of the entry point.

imageImage

The image for the offered product.

locationEntryPointLocation

The location of the entry point.

originalPriceMoneyV2!

The original price of the offered product.

ownerIdID

The ID of the owner of the entry point. Empty indicates the entry point has multiple owners set by the visibilityRule

productIdID!

The product ID of the offered product on the card.

titleString

The title of the offered product.

updatedAtISO8601DateTime!

The date and time when the entry point was updated.

variantIdID

The variant ID of the offered product's variant on the card.

visibilityRuleString

The visibility rule of the entry point. Empty indicates the entry point has a single owner set by the ownerId.

ShopEligibility

Represents the eligibility of a shop within Shop.

FieldArgumentTypeDescription
shopDomainString

The domain of the shop.

shopId ⚠️ID

The ID of the shop.

⚠️ DEPRECATED

DEPRECATED - Please use shopDomain instead.

statusShopEligibilityStatus!

The eligibility status of the shop.

StagedUpload

A staged upload where the file can be uploaded to and an id to identify it.

FieldArgumentTypeDescription
headersString!

The headers to send with the upload request.

idID!

The ID of the staged upload.

urlURL!

The URL to upload the file to.

Submission

A submission for a Shop Mini.

FieldArgumentTypeDescription
descriptionString!

A description of the Shop Mini and any changes since the last released version.

referenceString!

The unique reference for the submission.

statusSubmissionStatus!

The status of the submission.

submittedAtISO8601DateTime!

The date and time the submission was submitted.

SubmissionCancelPayload

Return type for the submissionCancel mutation.

FieldArgumentTypeDescription
submissionSubmission

The cancelled submission.

userErrors[SubmissionCancelUserError!]!

List of errors that occured while executing the mutation.

SubmissionCancelUserError

A user or client error that could occur during the execution of the submissionCancel mutation.

FieldArgumentTypeDescription
codeSubmissionCancelUserErrorCode!

Error code associated with the error.

field[String!]

Which input value this error came from.

messageString!

A description of the error.

SubmissionConnection

The connection type for Submission.

FieldArgumentTypeDescription
edges[SubmissionEdge!]!

A list of edges.

nodes[Submission!]!

A list of nodes.

pageInfoPageInfo!

Information to aid in pagination.

SubmissionCreatePayload

Return type for the submissionCreate mutation.

FieldArgumentTypeDescription
submissionSubmission

The submission that was created.

userErrors[SubmissionCreateUserError!]!

List of errors that occured while executing the mutation.

SubmissionCreateUserError

A user or client error that could occur during the execution of the submissionCreate mutation.

FieldArgumentTypeDescription
codeSubmissionCreateUserErrorCode!

Error code associated with the error.

field[String!]

Which input value this error came from.

messageString!

A description of the error.

SubmissionEdge

An edge in a connection.

FieldArgumentTypeDescription
cursorString!

A cursor for use in pagination.

nodeSubmission

The item at the end of the edge.

SubmissionUploadCreatePayload

Return type for the submissionUploadCreate mutation.

FieldArgumentTypeDescription
uploadStagedUpload

The staged upload that was created.

userErrors[SubmissionUploadCreateUserError!]!

List of errors that occured while executing the mutation.

SubmissionUploadCreateUserError

A user or client error that could occur during the execution of the submissionUploadCreate mutation.

FieldArgumentTypeDescription
codeSubmissionUploadCreateUserErrorCode!

Error code associated with the error.

field[String!]

Which input value this error came from.

messageString!

A description of the error.

VideoCollectionEntryPoint

This is a Mini video collection entry point.

FieldArgumentTypeDescription
idID

The ID of the entry point.

items[VideoCollectionEntryPointItem!]!

The items for the entry point.

locationEntryPointLocation

The location of the entry point.

ownerIdID

The ID of the owner of the entry point. Empty indicates the entry point has multiple owners set by the visibilityRule

updatedAtISO8601DateTime!

The date and time when the entry point was updated.

visibilityRuleString

The visibility rule of the entry point. Empty indicates the entry point has a single owner set by the ownerId.

VideoCollectionEntryPointItem

This is a Mini video collection entry point item.

FieldArgumentTypeDescription
contentCreator ⚠️ContentCreator

The content creator for the item.

⚠️ DEPRECATED

No longer used.

externalIdID

The external ID for the item. Provided by the partner and opaque to the Shop app.

fallbackImageImage!

The fallback image for the item.

productIdID

The product ID for the item.

videoExternalVideo

The video for the item.

VideoCollectionV2EntryPoint

This is a Mini video collection V2 entry point.

FieldArgumentTypeDescription
idID

The ID of the entry point.

items[VideoCollectionV2EntryPointItem!]!

The items for the entry point.

locationEntryPointLocation

The location of the entry point.

ownerIdID

The ID of the owner of the entry point. Empty indicates the entry point has multiple owners set by the visibilityRule

updatedAtISO8601DateTime!

The date and time when the entry point was updated.

visibilityRuleString

The visibility rule of the entry point. Empty indicates the entry point has a single owner set by the ownerId.

VideoCollectionV2EntryPointContentCreator

This is a content creator that may appear next to a Mini entry point.

FieldArgumentTypeDescription
avatarImage

The avatar of the content creator.

nameString!

The name of the content creator.

VideoCollectionV2EntryPointItem

This is a Mini video collection entry point item.

FieldArgumentTypeDescription
contentCreator ⚠️VideoCollectionV2EntryPointContentCreator

The content creator for the item.

⚠️ DEPRECATED

No longer used.

externalIdID!

The external ID for the item. Provided by the partner and opaque to the Shop app.

fallbackImageImage!

The fallback image for the item.

previewVideoExternalVideo

The preview video to be used in the entry point.

relatedProducts[VideoCollectionV2EntryPointRelatedProduct!]!

The list of products associated with this video.

videoExternalVideo

The video for the item.

VideoCollectionV2EntryPointRelatedProduct

The related product item shown on the video.

FieldArgumentTypeDescription
productIdID!

The product ID for the entry point.

productVariantIdID

The product variant ID for the entry point.

Warning

Informs API user about non critical casualties during the execution of a query or a mutation.

FieldArgumentTypeDescription
codeString!

Text identifier of the warning.

messageString!

Description of the warning.

Inputs

ContentCreatorInput

Content creator that may appear next to a Mini entry point.

FieldTypeDescription
nameString!

The name of the content creator.

avatarImageInput

The avatar of the content creator.

DefaultCardEntryPointSetInput

The information needed to create a new default card entry point.

FieldTypeDescription
titleString!

The title of the entry point.

textString

The text of the entry point.

imageImageInput

The image for the entry point.

actionTextString

The action text of the entry point.

EntryPointSetInput

The information needed to create a new entry point.

FieldTypeDescription
linkLinkEntryPointSetInput

The link entry point set input.

defaultCardDefaultCardEntryPointSetInput

The default card entry point set input.

imageCollectionImageCollectionEntryPointSetInput

The image collection entry point set input.

imageCollectionV2ImageCollectionV2EntryPointSetInput

The image collection v2 entry point set input.

videoCollectionVideoCollectionEntryPointSetInput

The video collection entry point set input.

videoCollectionV2VideoCollectionV2EntryPointSetInput

The video collection entry point V2 set input.

eventCardV2EventCardV2EntryPointSetInput

The event card entry point set input.

productOfferCardProductOfferCardEntryPointSetInput

The product offer card entry point set input.

EventCardV2EntryPointSetInput

The information needed to create a new event card entry point.

FieldTypeDescription
titleString!

The title for the event card entry point.

textString

The text for the event card entry point.

preActiveImageImageInput!

The image for the event card entry point before the event is active.

imageImageInput!

The image for the event card entry point when the event is active.

eventStatusEventCardV2EntryPointEventStatus!

The event status for the event card entry point.

eventLiveAtISO8601DateTime

The event start time for the event card entry point.

notificationTopicString!

The notification topic for the event card entry point.

ExternalVideoInput

Represents a video hosted outside of Shopify.

FieldTypeDescription
altString

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

previewImageImageInput

The preview image for the media.

embedUrlURL!

The embed URL of the video for the respective host.

ImageCollectionEntryPointItemInput

This is a Mini Image Collection entry point item.

FieldTypeDescription
imageImageInput!

The image for the item.

externalIdString

The external ID for the item. Provided by the partner and opaque to the Shop app.

ImageCollectionEntryPointSetInput

The information needed to create a new image collection entry point.

FieldTypeDescription
items[ImageCollectionEntryPointItemInput!]!

The items for the entry point. It can't be empty.

ImageCollectionV2EntryPointItemInput

This is a Mini Image Collection entry point item.

FieldTypeDescription
imageImageInput!

The image for the item.

externalIdString!

The external ID for the item. Provided by the partner and opaque to the Shop app.

relatedProducts[ImageCollectionV2EntryPointItemRelatedProductInput!]!

The list of products associated with this image.

descriptionString

The description for the ImageCollectionV2EntryPoint item.

displayDateISO8601DateTime

The date when the ImageCollectionV2EntryPoint item will be displayed.

ImageCollectionV2EntryPointItemRelatedProductInput

This is a related product for the image.

FieldTypeDescription
productIdString!

The product ID for the entry point.

productVariantIdString

The product variant ID for the entry point.

ImageCollectionV2EntryPointSetInput

The information needed to create a new image collection entry point.

FieldTypeDescription
items[ImageCollectionV2EntryPointItemInput!]!

The items for the entry point. It can't be empty.

ImageInput

The information needed to create a new image.

FieldTypeDescription
urlURL!

The URL of the Shopify hosted image.

LinkEntryPointSetInput

The information needed to create a new link entry point.

FieldTypeDescription
actionTextString!

The call to action text of the link entry point.

MoneyInput

The information needed to create a new money.

FieldTypeDescription
amountDecimal!

Decimal money amount.

currencyCodeCurrencyCode!

Currency code of the money.

ProductOfferCardEntryPointSetInput

The information needed to create a new product offer card entry point.

FieldTypeDescription
productIdID!

The product ID for the product offer card entry point.

originalPriceMoneyInput!

The text for the product offer card entry point.

discountedPriceMoneyInput!

The text for the product offer card entry point.

titleString

The title for the product offer card entry point.

imageImageInput

The image for the product offer card entry point.

expiresAtISO8601DateTime

The event start time for the product offer card entry point.

variantIdID

The variant ID for the product offer card entry point.

StagedUploadInput

The information needed to create a new staged upload.

FieldTypeDescription
filenameString!

The name of the file.

fileSizeInt!

The size of the file in bytes.

checksumString!

The base64-encoded md5 hash of the file contents.

mimeTypeString!

The MIME of the file.

TimeRangeFilter

This filter selects objects that were updated within a specified time range.

FieldTypeDescription
minISO8601DateTime

The minimum updated at date and time in the range.

maxISO8601DateTime

The maximum updated at date and time in the range.

VideoCollectionEntryPointItemInput

This is a Mini Video Collection entry point item.

FieldTypeDescription
videoExternalVideoInput!

The video for the entry point.

fallbackImageImageInput!

The fallback image for the entry point.

externalIdString

The external ID for the item. Provided by the partner and opaque to the Shop app.

productIdID

The product ID for the entry point.

productVariantIdID

The product variant ID for the entry point.

VideoCollectionEntryPointSetInput

The information needed to create or update a video collection entry point.

FieldTypeDescription
items[VideoCollectionEntryPointItemInput!]!

The items for the entry point. It can't be empty.

VideoCollectionV2EntryPointItemInput

This is a Mini Video Collection V2 entry point item.

FieldTypeDescription
videoExternalVideoInput!

The video for the entry point.

relatedProducts[VideoCollectionV2EntryPointItemRelatedProductInput!]!

The list of products associated with this video.

fallbackImageImageInput!

The fallback image for the entry point.

externalIdString!

The external ID for the item. Provided by the partner and opaque to the Shop app.

previewVideoExternalVideoInput

The video to be shown in the entry point. Should be shorter and limited to the most important part.

VideoCollectionV2EntryPointItemRelatedProductInput

This is a related product for the video.

FieldTypeDescription
productIdID!

The product ID for the entry point.

productVariantIdID

The product variant ID for the entry point.

VideoCollectionV2EntryPointSetInput

The information needed to create or update a video collection V2 entry point.

FieldTypeDescription
items[VideoCollectionV2EntryPointItemInput!]!

The items for the entry point. It can't be empty.

Enums

CurrencyCode

ISO currency code.

ValueDescription
CYP

Cypriot pound.

EEK

Estonian Kroon.

GHC

Ghanaian Cedi.

MRO

Mauritanian Ouguiya.

MTL

Maltese Lira.

STD

São Tomé and Príncipe Dobra.

TMM

Turkmenistani Manat.

VEB

Venezuelan Bolívar.

VEF

Venezuelan Bolívar fuerte.

ZWD

Zimbabwean Dollar.

ZWL

Zimbabwean Dollar.

ZWN

Zimbabwean Dollar.

ZWR

Zimbabwean Dollar.

JEP

Jersey Pound.

KID

Kiribati Dollar.

GGP

Guernsey Pound.

IMP

Isle of Man Pound.

XFU

UIC Franc.

GBX

British Penny.

AED

United Arab Emirates Dirham.

AFN

Afghan Afghani.

ALL

Albanian Lek.

AMD

Armenian Dram.

ANG

Netherlands Antillean Gulden.

AOA

Angolan Kwanza.

ARS

Argentine Peso.

AUD

Australian Dollar.

AWG

Aruban Florin.

AZN

Azerbaijani Manat.

BAM

Bosnia and Herzegovina Convertible Mark.

BBD

Barbadian Dollar.

BDT

Bangladeshi Taka.

BGN

Bulgarian Lev.

BHD

Bahraini Dinar.

BIF

Burundian Franc.

BMD

Bermudian Dollar.

BND

Brunei Dollar.

BOB

Bolivian Boliviano.

BRL

Brazilian Real.

BSD

Bahamian Dollar.

BTN

Bhutanese Ngultrum.

BWP

Botswana Pula.

BYN

Belarusian Ruble.

BYR

Belarusian Ruble.

BZD

Belize Dollar.

CAD

Canadian Dollar.

CDF

Congolese Franc.

CHF

Swiss Franc.

CLF

Unidad de Fomento.

CLP

Chilean Peso.

CNY

Chinese Renminbi Yuan.

COP

Colombian Peso.

CRC

Costa Rican Colón.

CUC

Cuban Convertible Peso.

CUP

Cuban Peso.

CVE

Cape Verdean Escudo.

CZK

Czech Koruna.

DJF

Djiboutian Franc.

DKK

Danish Krone.

DOP

Dominican Peso.

DZD

Algerian Dinar.

EGP

Egyptian Pound.

ERN

Eritrean Nakfa.

ETB

Ethiopian Birr.

EUR

Euro.

FJD

Fijian Dollar.

FKP

Falkland Pound.

GBP

British Pound.

GEL

Georgian Lari.

GHS

Ghanaian Cedi.

GIP

Gibraltar Pound.

GMD

Gambian Dalasi.

GNF

Guinean Franc.

GTQ

Guatemalan Quetzal.

GYD

Guyanese Dollar.

HKD

Hong Kong Dollar.

HNL

Honduran Lempira.

HRK

Croatian Kuna.

HTG

Haitian Gourde.

HUF

Hungarian Forint.

IDR

Indonesian Rupiah.

ILS

Israeli New Sheqel.

INR

Indian Rupee.

IQD

Iraqi Dinar.

IRR

Iranian Rial.

ISK

Icelandic Króna.

JMD

Jamaican Dollar.

JOD

Jordanian Dinar.

JPY

Japanese Yen.

KES

Kenyan Shilling.

KGS

Kyrgyzstani Som.

KHR

Cambodian Riel.

KMF

Comorian Franc.

KPW

North Korean Won.

KRW

South Korean Won.

KWD

Kuwaiti Dinar.

KYD

Cayman Islands Dollar.

KZT

Kazakhstani Tenge.

LAK

Lao Kip.

LBP

Lebanese Pound.

LKR

Sri Lankan Rupee.

LRD

Liberian Dollar.

LSL

Lesotho Loti.

LTL

Lithuanian Litas.

LVL

Latvian Lats.

LYD

Libyan Dinar.

MAD

Moroccan Dirham.

MDL

Moldovan Leu.

MGA

Malagasy Ariary.

MKD

Macedonian Denar.

MMK

Myanmar Kyat.

MNT

Mongolian Tögrög.

MOP

Macanese Pataca.

MRU

Mauritanian New Ouguiya.

MUR

Mauritian Rupee.

MVR

Maldivian Rufiyaa.

MWK

Malawian Kwacha.

MXN

Mexican Peso.

MYR

Malaysian Ringgit.

MZN

Mozambican Metical.

NAD

Namibian Dollar.

NGN

Nigerian Naira.

NIO

Nicaraguan Córdoba.

NOK

Norwegian Krone.

NPR

Nepalese Rupee.

NZD

New Zealand Dollar.

OMR

Omani Rial.

PAB

Panamanian Balboa.

PEN

Peruvian Sol.

PGK

Papua New Guinean Kina.

PHP

Philippine Peso.

PKR

Pakistani Rupee.

PLN

Polish Złoty.

PYG

Paraguayan Guaraní.

QAR

Qatari Riyal.

RON

Romanian Leu.

RSD

Serbian Dinar.

RUB

Russian Ruble.

RWF

Rwandan Franc.

SAR

Saudi Riyal.

SBD

Solomon Islands Dollar.

SCR

Seychellois Rupee.

SDG

Sudanese Pound.

SEK

Swedish Krona.

SGD

Singapore Dollar.

SHP

Saint Helenian Pound.

SKK

Slovak Koruna.

SLL

Sierra Leonean Leone.

SOS

Somali Shilling.

SRD

Surinamese Dollar.

SSP

South Sudanese Pound.

STN

São Tomé and Príncipe Dobra.

SVC

Salvadoran Colón.

SYP

Syrian Pound.

SZL

Swazi Lilangeni.

THB

Thai Baht.

TJS

Tajikistani Somoni.

TMT

Turkmenistani Manat.

TND

Tunisian Dinar.

TOP

Tongan Paʻanga.

TRY

Turkish Lira.

TTD

Trinidad and Tobago Dollar.

TWD

New Taiwan Dollar.

TZS

Tanzanian Shilling.

UAH

Ukrainian Hryvnia.

UGX

Ugandan Shilling.

USD

United States Dollar.

UYU

Uruguayan Peso.

UZS

Uzbekistan Som.

VED

Venezuelan Bolívar soberano.

VES

Venezuelan Bolívar soberano.

VND

Vietnamese Đồng.

VUV

Vanuatu Vatu.

WST

Samoan Tala.

XAF

Central African Cfa Franc.

XAG

Silver (Troy Ounce).

XAU

Gold (Troy Ounce).

XBA

European Composite Unit.

XBB

European Monetary Unit.

XBC

European Unit of Account 9.

XBD

European Unit of Account 17.

XCD

East Caribbean Dollar.

XDR

Special Drawing Rights.

XOF

West African Cfa Franc.

XPD

Palladium.

XPF

Cfp Franc.

XPT

Platinum.

XTS

Codes specifically reserved for testing purposes.

YER

Yemeni Rial.

ZAR

South African Rand.

ZMK

Zambian Kwacha.

ZMW

Zambian Kwacha.

EntryPointDeleteAllUserErrorCode

Possible error codes that can be returned by EntryPointDeleteAllUserError.

ValueDescription
SHOP_NOT_FOUND

Error code when the shop is not found.

EntryPointDeleteByOwnerUserErrorCode

Possible error codes that can be returned by EntryPointDeleteByOwnerUserError.

ValueDescription
DEFINITION_NOT_FOUND

Error code when the entry point definition is not found from the manifest.

ENTRY_POINT_NOT_FOUND

Error code when the entry point to be deleted is not found.

EntryPointDeleteByRuleUserErrorCode

Possible error codes that can be returned by EntryPointDeleteByRuleUserError.

ValueDescription
SHOP_NOT_FOUND

Error code when the shop is not found.

DEFINITION_NOT_FOUND

Error code when the entry point definition is not found from the manifest.

ENTRY_POINT_NOT_FOUND

Error code when the entry point to be deleted is not found.

EntryPointEventStatus

The event status enum for an entry point.

ValueDescription
PRE_ACTIVE

The pre active status for Mini entry point event type.

ACTIVE

The active status for Mini entry point event type.

POST_ACTIVE

The post active status for Mini entry point event type.

EntryPointEventStatusUpdateUserErrorCode

Possible error codes that can be returned by EntryPointEventStatusUpdateUserError.

ValueDescription
SHOP_NOT_FOUND

Error code when the shop is not found.

PRODUCT_NOT_FOUND

Error code when the product is not found.

EntryPointLocation

The entry point location of a Mini.

ValueDescription
PRODUCT_PAGE

The Mini should be displayed on the product page.

STORE_PAGE

The Mini should be displayed on the store page.

PRODUCT_PAGE_CONTEXT_MENU

The Mini should be displayed on the product details page context menu.

STORE_PAGE_CONTEXT_MENU

The Mini should be displayed on the store page context menu.

ORDER_CONFIRMATION_PAGE

The Mini should be displayed on the order confirmation page.

ORDER_MANAGEMENT_PAGE

The Mini should be displayed on the order management page.

HOME_FEED

The Mini should be displayed on the home feed.

EntryPointSetByOwnerUserErrorCode

Possible error codes that can be returned by EntryPointSetByOwnerUserError.

ValueDescription
SHOP_NOT_FOUND

Error code when the shop is not found.

SHOP_DOMAIN_NOT_PROVIDED

Error code when the shop domain argument is not provided.

SHOP_NOT_ELIGIBLE

Error code when the shop is not eligible for Shop Minis.

SHOPIFY_APP_NOT_INSTALLED

Error code when the shop does not have any Shopify App installed for the associated Shop Mini.

PRODUCT_NOT_ELIGIBLE

Error code when the product is not eligible for Shop Minis.

DEFINITION_NOT_FOUND

Error code when the entry point definition is not found from the manifest.

UNEXPECTED_OWNER_ID

Error code when the entry point owner is not the expected type for the given entry point location.

NO_VALID_ITEMS

Error code when all entry point items are invalid.

EntryPointSetByRuleUserErrorCode

Possible error codes that can be returned by EntryPointSetByRuleUserError.

ValueDescription
SHOP_NOT_FOUND

The shop is not found.

SHOP_DOMAIN_NOT_PROVIDED

Error code when the shop domain argument is not provided.

SHOP_NOT_ELIGIBLE

The shop is not eligible for Shop Minis.

SHOPIFY_APP_NOT_INSTALLED

Error code when the shop does not have any Shopify App installed for the associated Shop Mini.

DEFINITION_NOT_FOUND

The entry point definition is not found from the manifest.

INVALID_VISIBILITY_RULE

The visibility rule is invalid.

EntryPointType

The entry point type of a Mini.

ValueDescription
ACTION_BUTTON

The Mini should be displayed as an action button.

CONTENT_CARD

The Mini should be displayed as a card with content.

EVENT_CARD

The Mini should be displayed as a card with a reminder button.

LINK

The Mini should be displayed as a link.

PRODUCT_OFFER_CARD

The Mini should be displayed as a product offer card.

DEFAULT_CARD

The Mini should be displayed as a card with content.

EVENT_CARD_V2

The Mini should be displayed as a card with a reminder button.

IMAGE_COLLECTION

The Mini should be displayed as a collection of images.

IMAGE_COLLECTION_V2

The Mini should be displayed as a collection of images with related products.

VIDEO_COLLECTION

The Mini should be displayed as a collection of videos.

VIDEO_COLLECTION_V2

The Mini should be displayed as a collection of videos.

EntryPointVisibilityRuleValidityErrorCode

The error code for an entry point visibility rule error.

ValueDescription
INCORRECT_SYNTAX

Rule is not parseable. Please refer to https://shopify.dev/api/usage/search-syntax for more information.

UNSUPPORTED_FIELDS

Unsupported fields given. Please refer to https://github.com/Shopify/shop-minis/blob/main/docs/ENTRY_POINT_VISIBILITY_RULE_FOR_PRODUCT_DETAILS_PAGES.md for more information.

FIELDS_UNSPECIFIED

Rules cannot be applied to all fields. Please specify the field name.

INCOMPATIBLE_COMPARATORS

Incompatible comparator found for the given fields.

INCOMPATIBLE_QUERY_TYPES

Incompatible values given to the fields. Please refer to https://shopify.dev/api/usage/search-syntax for more information.

MAXIMUM_LENGTH_EXCEEDED

Rule is too long. Please refer to https://shopify.dev/api/usage/search-syntax for more information.

EntryPointVisibilityRuleValidityStatus

The validity status of an entry point visibility rule.

ValueDescription
VALID

The rule is valid.

INVALID

The rule is not valid.

EventCardV2EntryPointEventStatus

The event status of the Mini event card entry point.

ValueDescription
PRE_ACTIVE

The pre active status for Mini entry point event type.

ACTIVE

The active status for Mini entry point event type.

POST_ACTIVE

The post active status for Mini entry point event type.

ImageCollectionEntryPointLayout

The layout of the Mini Image Collection entry point.

ValueDescription
GRID

The layout is a grid.

CAROUSEL

The layout is a carousel.

InvitationAcceptUserErrorCode

Possible error codes that can be returned by InvitationAcceptUserError.

ValueDescription
INVITATION_NOT_FOUND

Error code when the invitation is not found.

NotificationTriggerUserErrorCode

Possible error codes that can be returned by NotificationTriggerUserError.

ValueDescription
SCOPED_ENTITY_NOT_FOUND

Error code when the scoped entity is not found.

TEMPLATE_NOT_FOUND

Error code when the template handle is not found in the Mini's manifest.

TOPIC_NOT_FOUND

Error code when the template's topic_handle is invalid.

TOPIC_SCOPE_NOT_MATCHING_ENTITY

Error code when scopedEntityId object does not match topic scope.

SHOP_NOT_FOUND

Error code when the shop is not found.

ProductEligibilityStatus

The eligibility status of a product.

ValueDescription
ELIGIBLE

The product is eligible to appear in Shop.

INELIGIBLE

The product is ineligible to appear in Shop.

ShopEligibilityStatus

The eligibility status of a shop.

ValueDescription
ELIGIBLE

The shop is eligible to appear in Shop.

INELIGIBLE

The shop is ineligible to appear in Shop.

SubmissionCancelUserErrorCode

Possible error codes that can be returned by SubmissionCancelUserError.

ValueDescription
NOT_PENDING

Error code when the submission does not have a pending status.

NOT_FOUND

Error code when the submission is not found.

SubmissionCreateUserErrorCode

Possible error codes that can be returned by SubmissionCreateUserError.

ValueDescription
ALREADY_PENDING_SUBMISSION

Error code when there is already a pending submission.

UPLOAD_NOT_FOUND

Error code when the upload ID is not valid. Either it is does not point to a blob or is not signed correctly.

FILE_NOT_FOUND

Error code when the file does not exist in the storage service.

SubmissionStatus

The status of a submission.

ValueDescription
PENDING

The submission is pending review.

APPROVED

The submission has been approved.

REJECTED

The submission has been rejected.

CANCELLED

The submission has been cancelled.

SubmissionUploadCreateUserErrorCode

Possible error codes that can be returned by SubmissionUploadCreateUserError.

ValueDescription
INVALID_MIME_TYPE

Error code when an invalid MIME type is provided.

INVALID_CHECKSUM

Error code when an invalid checksum is provided.

INVALID_FILE_SIZE

Error code when the file size is less than 0 or exceeds 1048576 bytes.

Scalars

Boolean

Represents true or false values.

Decimal

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

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.

ISO8601DateTime

An ISO 8601-encoded datetime

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

EntryPoint

FieldArgumentTypeDescription
idID

The ID of the entry point.

locationEntryPointLocation

The location of the entry point.

ownerIdID

The ID of the owner of the entry point. Empty indicates the entry point has multiple owners set by the visibilityRule

updatedAtISO8601DateTime!

The date and time when the entry point was updated.

visibilityRuleString

The visibility rule of the entry point. Empty indicates the entry point has a single owner set by the ownerId.