Shopify Article: inputs and fields
Blog articles of the online store.
Used as filter by
Read
List Articles
Fetch articles from Shopify.
Route: GET /articles
Excel formula: =LF.shopify.articles("selection", "fields")
Inputs you can set
| Name | Type | Required | Description |
|---|---|---|---|
link | string | Yes | - |
first | number | No | The first n elements from the paginated list. Default: 250 |
after | string | No | The elements that come after the specified cursor. |
last | number | No | The last n elements from the paginated list. |
before | string | No | The elements that come before the specified cursor. |
reverse | boolean | No | Reverse the order of the underlying list. Default: false |
sortKey | enum | No | Sort the underlying list using a key. If your query is slow or returns an error, then [try specifying a sort key that matches the field used... Values: AUTHOR, BLOG_TITLE, ID, PUBLISHED_AT, TITLE |
query.author | string | No | Filter by the author of the article. |
query.blog_id | string | No | Filter by the ID of the blog the article belongs to. Example: - blog_id:1234 - blog_id:>=1234 - blog_id:<=1234 |
query.blog_title | string | No | - |
query.created_at | date | No | Filter by the date and time when the article was created. Example: - created_at:>'2020-10-21T23:39:20Z' - created_at:<now - c... |
query.default | string | No | Filter by a case-insensitive search of multiple fields in a document. Example: - query=Bob Norman - query=handle:summer-collection-a... |
query.handle | string | No | Filter by the article's handle. Example: - handle:summer-collection-announcement - handle:how-to-guide |
query.id | id | No | Filter by id range. Example: - id:1234 - id:>=1234 - id:<=1234 |
query.published_at | date | No | Filter by the date and time when the article was published. Example: - published_at:>'2020-10-21T23:39:20Z' - published_at:<now<br/... |
query.published_status | string | No | Filter by published status |
query.tag | string | No | Filter objects by the tag field. Example: - tag:my_tag |
query.tag_not | string | No | Filter by objects that don’t have the specified tag. Example: - tag_not:my_tag |
query.title | string | No | Filter by the title of the article. Example: - title:summer-collection - title:green hoodie |
query.updated_at | date | No | Filter by the date and time when the article was last updated. Example: - updated_at:>'2020-10-21T23:39:20Z' - updated_at:<now ... |
Data returned in Excel
| Field | Type | Relations | Description |
|---|---|---|---|
namedefault | string | — | - |
commentPolicydefault | enum | — | - |
createdAtdefault | date | — | - |
handledefault | string | — | - |
iddefault | id | → blogs | - |
tagsdefault | string[] | — | - |
templateSuffixdefault | string | — | - |
titledefault | string | — | - |
updatedAtdefault | date | — | - |
bodydefault | string | — | - |
bodydefault | string | — | - |
bodyHtmldefault | string | — | - |
createdAtdefault | date | — | - |
iddefault | id | → comments | - |
ipdefault | string | — | - |
isPublisheddefault | boolean | — | - |
publishedAtdefault | date | — | - |
statusdefault | enum | — | - |
updatedAtdefault | date | — | - |
userAgentdefault | string | — | - |
countdefault | number | — | - |
precisiondefault | enum | — | - |
createdAtdefault | date | — | - |
actiondefault | string | — | - |
additionalContentdefault | string | — | - |
additionalDatadefault | string | — | - |
appTitledefault | string | — | - |
argumentsdefault | string | — | - |
attributeToAppdefault | boolean | — | - |
attributeToUserdefault | boolean | — | - |
authordefault | string | — | - |
createdAtdefault | date | — | - |
criticalAlertdefault | boolean | — | - |
hasAdditionalContentdefault | boolean | — | - |
iddefault | id | — | - |
messagedefault | string | — | - |
secondaryMessagedefault | string | — | - |
subjectIddefault | string | — | - |
subjectTypedefault | enum | — | - |
handledefault | string | — | - |
iddefault | id | → articles | - |
altTextdefault | string | — | - |
heightdefault | number | — | - |
iddefault | id | — | - |
originalSrcdefault | string | — | - |
srcdefault | string | — | - |
thumbhashdefault | string | — | - |
widthdefault | number | — | - |
isPublisheddefault | boolean | — | - |
compareDigestdefault | string | — | - |
createdAtdefault | date | — | - |
descriptiondefault | string | — | - |
iddefault | id | — | - |
jsonValuedefault | string | — | - |
keydefault | string | — | - |
namespacedefault | string | — | - |
ownerTypedefault | enum | — | - |
sizeInBytesdefault | number | — | - |
translatabledefault | boolean | — | - |
typedefault | string | — | - |
updatedAtdefault | date | — | - |
valuedefault | string | — | - |
descriptiondefault | string | — | - |
iddefault | id | → metafieldDefinitions | - |
keydefault | string | — | - |
namedefault | string | — | - |
namespacedefault | string | — | - |
ownerTypedefault | enum | — | - |
pinnedPositiondefault | number | — | - |
useAsCollectionConditiondefault | boolean | — | - |
validationStatusdefault | enum | — | - |
compareDigestdefault | string | — | - |
createdAtdefault | date | — | - |
descriptiondefault | string | — | - |
iddefault | id | → metafields | - |
jsonValuedefault | string | — | - |
keydefault | string | — | - |
namespacedefault | string | — | - |
ownerTypedefault | enum | — | - |
sizeInBytesdefault | number | — | - |
translatabledefault | boolean | — | - |
typedefault | string | — | - |
updatedAtdefault | date | — | - |
valuedefault | string | — | - |
publishedAtdefault | date | — | - |
summarydefault | string | — | - |
tagsdefault | string[] | — | - |
templateSuffixdefault | string | — | - |
titledefault | string | — | - |
keydefault | string | — | - |
localedefault | string | — | - |
outdateddefault | boolean | — | - |
updatedAtdefault | date | — | - |
valuedefault | string | — | - |
updatedAtdefault | date | — | - |
Create
Create Article
Create a new article in Shopify.
Route: POST /articles
Inputs you can set
| Name | Type | Required | Description |
|---|---|---|---|
article.author.name | string | No | - |
article.author.userId | string | No | - |
article.blogId | string | No | - |
article.body | string | No | - |
article.handle | string | No | - |
article.image.altText | string | No | - |
article.image.url | string | No | - |
article.isPublished | boolean | No | - |
article.metafields.id | string | No | - |
article.metafields.key | string | No | - |
article.metafields.namespace | string | No | - |
article.metafields.type | string | No | - |
article.metafields.value | string | No | - |
article.publishDate | date | No | - |
article.summary | string | No | - |
article.tags | string[] | No | - |
article.templateSuffix | string | No | - |
article.title | string | Yes | - |
blog.title | string | Yes | - |
Data returned in Excel
This action returns a confirmation rather than a selectable table.
Edit
Update Article
Update an existing article in Shopify.
Route: PATCH /articles/{id}
Inputs you can set
| Name | Type | Required | Description |
|---|---|---|---|
article.author.name | string | No | - |
article.author.userId | string | No | - |
article.blogId | string | No | - |
article.body | string | No | - |
article.handle | string | No | - |
article.image.altText | string | No | - |
article.image.url | string | No | - |
article.isPublished | boolean | No | - |
article.metafields.id | string | No | - |
article.metafields.key | string | No | - |
article.metafields.namespace | string | No | - |
article.metafields.type | string | No | - |
article.metafields.value | string | No | - |
article.publishDate | date | No | - |
article.redirectNewHandle | boolean | No | - |
article.summary | string | No | - |
article.tags | string[] | No | - |
article.templateSuffix | string | No | - |
article.title | string | No | - |
blog.title | string | Yes | - |
id | string | Yes | - |
Data returned in Excel
This action returns a confirmation rather than a selectable table.
Edit
Delete Article
Delete an existing article in Shopify.
Route: DELETE /articles/{id}
Inputs you can set
| Name | Type | Required | Description |
|---|---|---|---|
id | string | Yes | - |
Data returned in Excel
This action returns a confirmation rather than a selectable table.