@pipedream/shopify_developer_app 0.2.2 → 0.2.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/actions/add-product-to-custom-collection/add-product-to-custom-collection.mjs +1 -1
- package/actions/add-tags/add-tags.mjs +1 -1
- package/actions/common/metaobjects.mjs +1 -1
- package/actions/create-article/create-article.mjs +1 -1
- package/actions/create-blog/create-blog.mjs +1 -1
- package/actions/create-custom-collection/create-custom-collection.mjs +1 -1
- package/actions/create-customer/create-customer.mjs +1 -1
- package/actions/create-metafield/create-metafield.mjs +1 -1
- package/actions/create-metaobject/create-metaobject.mjs +1 -1
- package/actions/create-order/create-order.mjs +1 -1
- package/actions/create-page/create-page.mjs +1 -1
- package/actions/create-product/create-product.mjs +1 -1
- package/actions/create-product-variant/create-product-variant.mjs +1 -1
- package/actions/create-smart-collection/create-smart-collection.mjs +1 -1
- package/actions/delete-article/delete-article.mjs +1 -1
- package/actions/delete-blog/delete-blog.mjs +1 -1
- package/actions/delete-metafield/delete-metafield.mjs +1 -1
- package/actions/delete-page/delete-page.mjs +1 -1
- package/actions/get-articles/get-articles.mjs +1 -1
- package/actions/get-metafields/get-metafields.mjs +1 -1
- package/actions/get-metaobjects/get-metaobjects.mjs +1 -1
- package/actions/get-pages/get-pages.mjs +1 -1
- package/actions/search-custom-collection-by-name/search-custom-collection-by-name.mjs +1 -1
- package/actions/search-customers/search-customers.mjs +1 -1
- package/actions/search-product-variant/search-product-variant.mjs +1 -1
- package/actions/search-products/search-products.mjs +1 -1
- package/actions/update-article/update-article.mjs +1 -1
- package/actions/update-customer/update-customer.mjs +1 -1
- package/actions/update-inventory-level/update-inventory-level.mjs +1 -1
- package/actions/update-metafield/update-metafield.mjs +1 -1
- package/actions/update-metaobject/update-metaobject.mjs +1 -1
- package/actions/update-page/update-page.mjs +1 -1
- package/actions/update-product/update-product.mjs +1 -1
- package/actions/update-product-variant/update-product-variant.mjs +1 -1
- package/package.json +1 -1
- package/sources/new-abandoned-cart/new-abandoned-cart.mjs +1 -1
- package/sources/new-article/new-article.mjs +1 -1
- package/sources/new-cancelled-order/new-cancelled-order.mjs +1 -1
- package/sources/new-customer-created/new-customer-created.mjs +1 -1
- package/sources/new-draft-order/new-draft-order.mjs +1 -1
- package/sources/new-event-emitted/new-event-emitted.mjs +1 -1
- package/sources/new-order-created/new-order-created.mjs +1 -1
- package/sources/new-page/new-page.mjs +1 -1
- package/sources/new-paid-order/new-paid-order.mjs +1 -1
- package/sources/new-product-created/new-product-created.mjs +1 -1
- package/sources/new-shipment/new-shipment.mjs +1 -1
- package/sources/new-updated-customer/new-updated-customer.mjs +1 -1
- package/sources/new-updated-order/new-updated-order.mjs +1 -1
- package/sources/product-added-to-custom-collection/product-added-to-custom-collection.mjs +1 -1
package/README.md
CHANGED
|
@@ -14,7 +14,7 @@ To get started, you will need to create a custom Shopify app in the Shopify Admi
|
|
|
14
14
|

|
|
15
15
|
|
|
16
16
|
## Configure Admin API scopes
|
|
17
|
-
1. In the new app you have created, under the **
|
|
17
|
+
1. In the new app you have created, under the **API Credentials** tab, click **Configure Admin API scopes**
|
|
18
18
|
2. Select the scopes that you require for your use case. You may modify your scopes at any time by returning to the app configuration page.
|
|
19
19
|
|
|
20
20
|
## Generate the Admin API access token
|
|
@@ -6,7 +6,7 @@ export default {
|
|
|
6
6
|
key: "shopify_developer_app-add-product-to-custom-collection",
|
|
7
7
|
name: "Add Products to Custom Collections",
|
|
8
8
|
description: "Adds a product or products to a custom collection or collections. [See the docs](https://shopify.dev/docs/api/admin-rest/2023-01/resources/collect#post-collects)",
|
|
9
|
-
version: "0.0.
|
|
9
|
+
version: "0.0.3",
|
|
10
10
|
type: "action",
|
|
11
11
|
props: {
|
|
12
12
|
shopify,
|
|
@@ -4,7 +4,7 @@ import common from "../../../shopify/actions/add-tags/common.mjs";
|
|
|
4
4
|
export default {
|
|
5
5
|
...common,
|
|
6
6
|
name: "Add Tags",
|
|
7
|
-
version: "0.0.
|
|
7
|
+
version: "0.0.3",
|
|
8
8
|
key: "shopify_developer_app-add-tags",
|
|
9
9
|
description: "Add tags. [See the documentation](https://shopify.dev/api/admin-graphql/2022-07/mutations/tagsadd)",
|
|
10
10
|
type: "action",
|
|
@@ -9,7 +9,7 @@ export default {
|
|
|
9
9
|
$ = this, ...args
|
|
10
10
|
}) {
|
|
11
11
|
return axios($, {
|
|
12
|
-
url: `https://${this.shopify.getShopId()}.myshopify.com/admin/api/
|
|
12
|
+
url: `https://${this.shopify.getShopId()}.myshopify.com/admin/api/2024-04/graphql.json`,
|
|
13
13
|
method: "POST",
|
|
14
14
|
headers: {
|
|
15
15
|
"X-Shopify-Access-Token": `${this.shopify.$auth.access_token}`,
|
|
@@ -6,7 +6,7 @@ export default {
|
|
|
6
6
|
key: "shopify_developer_app-create-article",
|
|
7
7
|
name: "Create Article",
|
|
8
8
|
description: "Create a new blog article. [See The Documentation](https://shopify.dev/docs/api/admin-rest/2023-04/resources/article#post-blogs-blog-id-articles)",
|
|
9
|
-
version: "0.0.
|
|
9
|
+
version: "0.0.4",
|
|
10
10
|
type: "action",
|
|
11
11
|
props: {
|
|
12
12
|
app,
|
|
@@ -6,7 +6,7 @@ export default {
|
|
|
6
6
|
key: "shopify_developer_app-create-blog",
|
|
7
7
|
name: "Create Blog",
|
|
8
8
|
description: "Create a new blog. [See The Documentation](https://shopify.dev/docs/api/admin-rest/2023-04/resources/blog#post-blogs)",
|
|
9
|
-
version: "0.0.
|
|
9
|
+
version: "0.0.4",
|
|
10
10
|
type: "action",
|
|
11
11
|
props: {
|
|
12
12
|
app,
|
|
@@ -6,7 +6,7 @@ export default {
|
|
|
6
6
|
key: "shopify_developer_app-create-custom-collection",
|
|
7
7
|
name: "Create Custom Collection",
|
|
8
8
|
description: "Create a new custom collection. [See the documentation](https://shopify.dev/docs/api/admin-rest/2023-01/resources/customcollection#post-custom-collections)",
|
|
9
|
-
version: "0.0.
|
|
9
|
+
version: "0.0.3",
|
|
10
10
|
type: "action",
|
|
11
11
|
props: {
|
|
12
12
|
shopify,
|
|
@@ -6,7 +6,7 @@ export default {
|
|
|
6
6
|
key: "shopify_developer_app-create-customer",
|
|
7
7
|
name: "Create Customer",
|
|
8
8
|
description: "Create a new customer. [See the documentation](https://shopify.dev/api/admin-rest/2022-01/resources/customer#[post]/admin/api/2022-01/customers.json)",
|
|
9
|
-
version: "0.0.
|
|
9
|
+
version: "0.0.3",
|
|
10
10
|
type: "action",
|
|
11
11
|
props: {
|
|
12
12
|
shopify,
|
|
@@ -6,7 +6,7 @@ export default {
|
|
|
6
6
|
key: "shopify_developer_app-create-metafield",
|
|
7
7
|
name: "Create Metafield",
|
|
8
8
|
description: "Creates a metafield belonging to a resource. [See the docs](https://shopify.dev/api/admin-rest/2023-01/resources/metafield#post-blogs-blog-id-metafields)",
|
|
9
|
-
version: "0.0.
|
|
9
|
+
version: "0.0.3",
|
|
10
10
|
type: "action",
|
|
11
11
|
props: {
|
|
12
12
|
...metafieldActions.props,
|
|
@@ -8,7 +8,7 @@ export default {
|
|
|
8
8
|
key: "shopify_developer_app-create-metaobject",
|
|
9
9
|
name: "Create Metaobject",
|
|
10
10
|
description: "Creates a metaobject. [See the documentation](https://shopify.dev/docs/api/admin-graphql/2023-04/mutations/metaobjectCreate)",
|
|
11
|
-
version: "0.0.
|
|
11
|
+
version: "0.0.5",
|
|
12
12
|
type: "action",
|
|
13
13
|
props: {
|
|
14
14
|
shopify,
|
|
@@ -10,7 +10,7 @@ export default {
|
|
|
10
10
|
For full order object details [see the docs](https://shopify.dev/api/admin-rest/2022-01/resources/order#[post]/admin/api/2022-01/orders.json)
|
|
11
11
|
or [see examples](https://shopify.dev/api/admin-rest/2022-01/resources/order#[post]/admin/api/#{api_version}/orders.json_examples)
|
|
12
12
|
`),
|
|
13
|
-
version: "0.0.
|
|
13
|
+
version: "0.0.3",
|
|
14
14
|
type: "action",
|
|
15
15
|
props: {
|
|
16
16
|
shopify,
|
|
@@ -6,7 +6,7 @@ export default {
|
|
|
6
6
|
key: "shopify_developer_app-create-page",
|
|
7
7
|
name: "Create Page",
|
|
8
8
|
description: "Create a new page. [See The Documentation](https://shopify.dev/docs/api/admin-rest/2023-04/resources/page#post-pages)",
|
|
9
|
-
version: "0.0.
|
|
9
|
+
version: "0.0.4",
|
|
10
10
|
type: "action",
|
|
11
11
|
props: {
|
|
12
12
|
app,
|
|
@@ -6,7 +6,7 @@ export default {
|
|
|
6
6
|
key: "shopify_developer_app-create-product",
|
|
7
7
|
name: "Create Product",
|
|
8
8
|
description: "Create a new product. [See the documentation](https://shopify.dev/api/admin-rest/2022-01/resources/product#[post]/admin/api/2022-01/products.json)",
|
|
9
|
-
version: "0.0.
|
|
9
|
+
version: "0.0.3",
|
|
10
10
|
type: "action",
|
|
11
11
|
props: {
|
|
12
12
|
shopify,
|
|
@@ -6,7 +6,7 @@ export default {
|
|
|
6
6
|
key: "shopify_developer_app-create-product-variant",
|
|
7
7
|
name: "Create Product Variant",
|
|
8
8
|
description: "Create a new product variant. [See the documentation](https://shopify.dev/api/admin-rest/2022-01/resources/product-variant#[post]/admin/api/2022-01/products/{product_id}/variants.json)",
|
|
9
|
-
version: "0.0.
|
|
9
|
+
version: "0.0.3",
|
|
10
10
|
type: "action",
|
|
11
11
|
props: {
|
|
12
12
|
shopify,
|
|
@@ -11,7 +11,7 @@ export default {
|
|
|
11
11
|
You can fill in any number of rules by selecting more than one option in each prop.
|
|
12
12
|
[See documentation](https://shopify.dev/api/admin-rest/2021-10/resources/smartcollection#post-smart-collections)
|
|
13
13
|
`),
|
|
14
|
-
version: "0.0.
|
|
14
|
+
version: "0.0.3",
|
|
15
15
|
type: "action",
|
|
16
16
|
props: {
|
|
17
17
|
shopify,
|
|
@@ -6,7 +6,7 @@ export default {
|
|
|
6
6
|
key: "shopify_developer_app-delete-article",
|
|
7
7
|
name: "Delete Article",
|
|
8
8
|
description: "Delete an existing blog article. [See The Documentation](https://shopify.dev/docs/api/admin-rest/2023-04/resources/article#delete-blogs-blog-id-articles-article-id)",
|
|
9
|
-
version: "0.0.
|
|
9
|
+
version: "0.0.4",
|
|
10
10
|
type: "action",
|
|
11
11
|
props: {
|
|
12
12
|
app,
|
|
@@ -6,7 +6,7 @@ export default {
|
|
|
6
6
|
key: "shopify_developer_app-delete-blog",
|
|
7
7
|
name: "Delete Blog",
|
|
8
8
|
description: "Delete an existing blog. [See The Documentation](https://shopify.dev/docs/api/admin-rest/2023-04/resources/blog#delete-blogs-blog-id)",
|
|
9
|
-
version: "0.0.
|
|
9
|
+
version: "0.0.4",
|
|
10
10
|
type: "action",
|
|
11
11
|
props: {
|
|
12
12
|
app,
|
|
@@ -6,7 +6,7 @@ export default {
|
|
|
6
6
|
key: "shopify_developer_app-delete-metafield",
|
|
7
7
|
name: "Delete Metafield",
|
|
8
8
|
description: "Deletes a metafield belonging to a resource. [See the documentation](https://shopify.dev/docs/api/admin-rest/2023-01/resources/metafield#delete-blogs-blog-id-metafields-metafield-id)",
|
|
9
|
-
version: "0.0.
|
|
9
|
+
version: "0.0.3",
|
|
10
10
|
type: "action",
|
|
11
11
|
props: {
|
|
12
12
|
...metafieldActions.props,
|
|
@@ -6,7 +6,7 @@ export default {
|
|
|
6
6
|
key: "shopify_developer_app-delete-page",
|
|
7
7
|
name: "Delete Page",
|
|
8
8
|
description: "Delete an existing page. [See The Documentation](https://shopify.dev/docs/api/admin-rest/2023-04/resources/page#delete-pages-page-id)",
|
|
9
|
-
version: "0.0.
|
|
9
|
+
version: "0.0.4",
|
|
10
10
|
type: "action",
|
|
11
11
|
props: {
|
|
12
12
|
app,
|
|
@@ -6,7 +6,7 @@ export default {
|
|
|
6
6
|
key: "shopify_developer_app-get-articles",
|
|
7
7
|
name: "Get Articles",
|
|
8
8
|
description: "Retrieve a list of all articles from a blog. [See The Documentation](https://shopify.dev/docs/api/admin-rest/2023-04/resources/article#get-blogs-blog-id-articles)",
|
|
9
|
-
version: "0.0.
|
|
9
|
+
version: "0.0.4",
|
|
10
10
|
type: "action",
|
|
11
11
|
props: {
|
|
12
12
|
app,
|
|
@@ -6,7 +6,7 @@ export default {
|
|
|
6
6
|
key: "shopify_developer_app-get-metafields",
|
|
7
7
|
name: "Get Metafields",
|
|
8
8
|
description: "Retrieves a list of metafields that belong to a resource. [See the docs](https://shopify.dev/api/admin-rest/2023-01/resources/metafield#get-metafields?metafield[owner-id]=382285388&metafield[owner-resource]=blog)",
|
|
9
|
-
version: "0.0.
|
|
9
|
+
version: "0.0.3",
|
|
10
10
|
type: "action",
|
|
11
11
|
props: {
|
|
12
12
|
...metafieldActions.props,
|
|
@@ -8,7 +8,7 @@ export default {
|
|
|
8
8
|
key: "shopify_developer_app-get-metaobjects",
|
|
9
9
|
name: "Get Metaobjects",
|
|
10
10
|
description: "Retrieves a list of metaobjects. [See the documentation](https://shopify.dev/docs/api/admin-graphql/2023-04/queries/metaobjects)",
|
|
11
|
-
version: "0.0.
|
|
11
|
+
version: "0.0.4",
|
|
12
12
|
type: "action",
|
|
13
13
|
props: {
|
|
14
14
|
shopify,
|
|
@@ -6,7 +6,7 @@ export default {
|
|
|
6
6
|
key: "shopify_developer_app-get-pages",
|
|
7
7
|
name: "Get Pages",
|
|
8
8
|
description: "Retrieve a list of all pages. [See The Documentation](https://shopify.dev/docs/api/admin-rest/2023-04/resources/page#get-pages)",
|
|
9
|
-
version: "0.0.
|
|
9
|
+
version: "0.0.4",
|
|
10
10
|
type: "action",
|
|
11
11
|
props: {
|
|
12
12
|
app,
|
|
@@ -6,7 +6,7 @@ export default {
|
|
|
6
6
|
key: "shopify_developer_app-search-custom-collection-by-name",
|
|
7
7
|
name: "Search Custom Collection by Name",
|
|
8
8
|
description: "Search for a custom collection by name/title. [See the documentation](https://shopify.dev/docs/api/admin-rest/2023-01/resources/customcollection#get-custom-collections)",
|
|
9
|
-
version: "0.0.
|
|
9
|
+
version: "0.0.3",
|
|
10
10
|
type: "action",
|
|
11
11
|
props: {
|
|
12
12
|
shopify,
|
|
@@ -6,7 +6,7 @@ export default {
|
|
|
6
6
|
key: "shopify_developer_app-search-customers",
|
|
7
7
|
name: "Search for Customers",
|
|
8
8
|
description: "Search for a customer or a list of customers. [See the documentation](https://shopify.dev/api/admin-rest/2022-01/resources/customer#[get]/admin/api/2022-01/customers.json)",
|
|
9
|
-
version: "0.0.
|
|
9
|
+
version: "0.0.3",
|
|
10
10
|
type: "action",
|
|
11
11
|
props: {
|
|
12
12
|
shopify,
|
|
@@ -6,7 +6,7 @@ export default {
|
|
|
6
6
|
key: "shopify_developer_app-search-product-variant",
|
|
7
7
|
name: "Search for Product Variant",
|
|
8
8
|
description: "Search for product variants or create one if not found. [See the documentation](https://shopify.dev/api/admin-rest/2022-01/resources/product-variant#top)",
|
|
9
|
-
version: "0.0.
|
|
9
|
+
version: "0.0.3",
|
|
10
10
|
type: "action",
|
|
11
11
|
props: {
|
|
12
12
|
shopify,
|
|
@@ -6,7 +6,7 @@ export default {
|
|
|
6
6
|
key: "shopify_developer_app-search-products",
|
|
7
7
|
name: "Search for Products",
|
|
8
8
|
description: "Search for products. [See the documentation](https://shopify.dev/api/admin-rest/2022-01/resources/product#[get]/admin/api/2022-01/products.json)",
|
|
9
|
-
version: "0.0.
|
|
9
|
+
version: "0.0.3",
|
|
10
10
|
type: "action",
|
|
11
11
|
props: {
|
|
12
12
|
shopify,
|
|
@@ -6,7 +6,7 @@ export default {
|
|
|
6
6
|
key: "shopify_developer_app-update-article",
|
|
7
7
|
name: "Update Article",
|
|
8
8
|
description: "Update a blog article. [See The Documentation](https://shopify.dev/docs/api/admin-rest/2023-04/resources/article#put-blogs-blog-id-articles-article-id)",
|
|
9
|
-
version: "0.0.
|
|
9
|
+
version: "0.0.4",
|
|
10
10
|
type: "action",
|
|
11
11
|
props: {
|
|
12
12
|
app,
|
|
@@ -8,7 +8,7 @@ export default {
|
|
|
8
8
|
key: "shopify_developer_app-update-customer",
|
|
9
9
|
name: "Update Customer",
|
|
10
10
|
description: "Update a existing customer. [See the docs](https://shopify.dev/api/admin-rest/2022-01/resources/customer#[put]/admin/api/2022-01/customers/{customer_id}.json)",
|
|
11
|
-
version: "0.0.
|
|
11
|
+
version: "0.0.3",
|
|
12
12
|
type: "action",
|
|
13
13
|
props: {
|
|
14
14
|
shopify,
|
|
@@ -6,7 +6,7 @@ export default {
|
|
|
6
6
|
key: "shopify_developer_app-update-inventory-level",
|
|
7
7
|
name: "Update Inventory Level",
|
|
8
8
|
description: "Sets the inventory level for an inventory item at a location. [See the documenation](https://shopify.dev/api/admin-rest/2022-01/resources/inventorylevel#[post]/admin/api/2022-01/inventory_levels/set.json)",
|
|
9
|
-
version: "0.0.
|
|
9
|
+
version: "0.0.3",
|
|
10
10
|
type: "action",
|
|
11
11
|
props: {
|
|
12
12
|
shopify,
|
|
@@ -6,7 +6,7 @@ export default {
|
|
|
6
6
|
key: "shopify_developer_app-update-metafield",
|
|
7
7
|
name: "Update Metafield",
|
|
8
8
|
description: "Updates a metafield belonging to a resource. [See the docs](https://shopify.dev/api/admin-rest/2023-01/resources/metafield#put-blogs-blog-id-metafields-metafield-id)",
|
|
9
|
-
version: "0.0.
|
|
9
|
+
version: "0.0.3",
|
|
10
10
|
type: "action",
|
|
11
11
|
props: {
|
|
12
12
|
...metafieldActions.props,
|
|
@@ -8,7 +8,7 @@ export default {
|
|
|
8
8
|
key: "shopify_developer_app-update-metaobject",
|
|
9
9
|
name: "Update Metaobject",
|
|
10
10
|
description: "Updates a metaobject. [See the documentation](https://shopify.dev/docs/api/admin-graphql/2023-04/mutations/metaobjectUpdate)",
|
|
11
|
-
version: "0.0.
|
|
11
|
+
version: "0.0.6",
|
|
12
12
|
type: "action",
|
|
13
13
|
methods: {
|
|
14
14
|
...metaobjects.methods,
|
|
@@ -6,7 +6,7 @@ export default {
|
|
|
6
6
|
key: "shopify_developer_app-update-page",
|
|
7
7
|
name: "Update Page",
|
|
8
8
|
description: "Update an existing page. [See The Documentation](https://shopify.dev/docs/api/admin-rest/2023-04/resources/page#put-pages-page-id)",
|
|
9
|
-
version: "0.0.
|
|
9
|
+
version: "0.0.4",
|
|
10
10
|
type: "action",
|
|
11
11
|
props: {
|
|
12
12
|
app,
|
|
@@ -8,7 +8,7 @@ export default {
|
|
|
8
8
|
key: "shopify_developer_app-update-product",
|
|
9
9
|
name: "Update Product",
|
|
10
10
|
description: "Update an existing product. [See the docs](https://shopify.dev/api/admin-rest/2022-01/resources/product#[put]/admin/api/2022-01/products/{product_id}.json)",
|
|
11
|
-
version: "0.0.
|
|
11
|
+
version: "0.0.3",
|
|
12
12
|
type: "action",
|
|
13
13
|
props: {
|
|
14
14
|
shopify,
|
|
@@ -8,7 +8,7 @@ export default {
|
|
|
8
8
|
key: "shopify_developer_app-update-product-variant",
|
|
9
9
|
name: "Update Product Variant",
|
|
10
10
|
description: "Update an existing product variant. [See the docs](https://shopify.dev/api/admin-rest/2022-01/resources/product-variant#[put]/admin/api/2022-01/variants/{variant_id}.json)",
|
|
11
|
-
version: "0.0.
|
|
11
|
+
version: "0.0.3",
|
|
12
12
|
type: "action",
|
|
13
13
|
props: {
|
|
14
14
|
shopify,
|
package/package.json
CHANGED
|
@@ -6,7 +6,7 @@ export default {
|
|
|
6
6
|
key: "shopify_developer_app-product-added-to-custom-collection",
|
|
7
7
|
name: "New product added to custom collection",
|
|
8
8
|
description: "Emit new event each time a product is added to a custom collection.",
|
|
9
|
-
version: "0.0.
|
|
9
|
+
version: "0.0.3",
|
|
10
10
|
type: "source",
|
|
11
11
|
dedupe: "unique",
|
|
12
12
|
props: {
|