Get a Shopify Record
shopify_getFetches a single Shopify record by GID from a selected store, supporting resources like products, orders, and inventory. Follows cursors for paginated data.
Instructions
Read one record by GID from one store. Follow each returned cursor independently. Resources:
product: Product details, variants (first/after) and media (mediaAfter). id: Product GID.
collection: Collection details, rules and a page of products. id: Collection GID.
order: Order, shipping, fulfillment, tracking and a page of line items. id: Order GID.
inventory: Inventory by product (id: Product GID) or inventory item (id: InventoryItem GID, pages through locations).
metafields: Metafields of any owner (id: owner GID); optional namespace and key.
theme_files: Theme file contents. id: OnlineStoreTheme GID; optional filenames, else pages through every file.
blog_articles: A blog's articles. id: Blog GID.
uploaded_image: Image processing status and CDN URL. id: MediaImage GID.
bulk_operation: A bulk operation's status and result URLs. id: BulkOperation GID. Partial exports stay marked incomplete.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The record's GID, such as gid://shopify/Product/123. | |
| key | No | metafields: only this key. | |
| after | No | ||
| first | No | ||
| store | Yes | ||
| resource | Yes | ||
| filenames | No | theme_files: only these files. | |
| namespace | No | metafields: only this namespace. | |
| mediaAfter | No | product: cursor for the media page. |