@pipedream/shopify_developer_app 0.10.3 → 0.10.5
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/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-fulfillment/create-fulfillment.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-order/get-order.mjs +1 -1
- package/actions/get-pages/get-pages.mjs +1 -1
- package/actions/refund-order/refund-order.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-fulfillment-orders/search-fulfillment-orders.mjs +1 -1
- package/actions/search-orders/search-orders.mjs +8 -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-fulfillment-tracking-info/update-fulfillment-tracking-info.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/common/queries.mjs +10 -2
- package/package.json +1 -1
- package/sources/cart-updated/cart-updated.mjs +1 -1
- package/sources/draft-order-updated/draft-order-updated.mjs +1 -1
- package/sources/inventory-level-updated/inventory-level-updated.mjs +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-cart-created/new-cart-created.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-fulfillment-event/new-fulfillment-event.mjs +1 -1
- package/sources/new-order-created/new-order-created.mjs +1 -1
- package/sources/new-order-fulfilled/new-order-fulfilled.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-product-updated/new-product-updated.mjs +1 -1
- package/sources/new-refund-created/new-refund-created.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/sources/shop-update/shop-update.mjs +1 -1
package/README.md
CHANGED
|
@@ -57,7 +57,7 @@ Once your database is connected to Pipedream, you'll be able to query the databa
|
|
|
57
57
|
|
|
58
58
|
### Retrieve a merchants access token
|
|
59
59
|
|
|
60
|
-
In an HTTP triggered workflow, you can use a body parameter to reference a shop by
|
|
60
|
+
In an HTTP triggered workflow, you can use a body parameter to reference a shop by its `myshopify.com` domain, or unique Shop ID.
|
|
61
61
|
|
|
62
62
|
Pass the shop ID to your database query step to retrieve the corresponding record of the shop to retrieve the shop's access token.
|
|
63
63
|
|
|
@@ -4,7 +4,7 @@ export default {
|
|
|
4
4
|
key: "shopify_developer_app-create-customer",
|
|
5
5
|
name: "Create Customer",
|
|
6
6
|
description: "Create a new customer. [See the documentation](https://shopify.dev/docs/api/admin-graphql/latest/mutations/customercreate)",
|
|
7
|
-
version: "0.0.
|
|
7
|
+
version: "0.0.12",
|
|
8
8
|
annotations: {
|
|
9
9
|
destructiveHint: false,
|
|
10
10
|
openWorldHint: true,
|
|
@@ -4,7 +4,7 @@ export default {
|
|
|
4
4
|
key: "shopify_developer_app-create-fulfillment",
|
|
5
5
|
name: "Create Fulfillment",
|
|
6
6
|
description: "Create a fulfillment. [See the documentation](https://shopify.dev/docs/api/admin-graphql/unstable/mutations/fulfillmentcreate)",
|
|
7
|
-
version: "0.0.
|
|
7
|
+
version: "0.0.4",
|
|
8
8
|
annotations: {
|
|
9
9
|
destructiveHint: false,
|
|
10
10
|
openWorldHint: true,
|
|
@@ -5,7 +5,7 @@ export default {
|
|
|
5
5
|
key: "shopify_developer_app-create-order",
|
|
6
6
|
name: "Create Order",
|
|
7
7
|
description: "Creates a new order. For full order object details [See the documentation](https://shopify.dev/docs/api/admin-graphql/latest/mutations/ordercreate)",
|
|
8
|
-
version: "0.0.
|
|
8
|
+
version: "0.0.13",
|
|
9
9
|
annotations: {
|
|
10
10
|
destructiveHint: false,
|
|
11
11
|
openWorldHint: true,
|
|
@@ -6,7 +6,7 @@ export default {
|
|
|
6
6
|
key: "shopify_developer_app-get-order",
|
|
7
7
|
name: "Get Order",
|
|
8
8
|
description: "Retrieve an order by specifying the order ID. [See the documentation](https://shopify.dev/docs/api/admin-graphql/latest/queries/order)",
|
|
9
|
-
version: "0.0.
|
|
9
|
+
version: "0.0.12",
|
|
10
10
|
annotations: {
|
|
11
11
|
destructiveHint: false,
|
|
12
12
|
openWorldHint: true,
|
|
@@ -5,7 +5,7 @@ export default {
|
|
|
5
5
|
key: "shopify_developer_app-refund-order",
|
|
6
6
|
name: "Refund Order",
|
|
7
7
|
description: "Refund an order. [See the documentation](https://shopify.dev/docs/api/admin-graphql/unstable/mutations/refundcreate)",
|
|
8
|
-
version: "0.0.
|
|
8
|
+
version: "0.0.5",
|
|
9
9
|
annotations: {
|
|
10
10
|
destructiveHint: false,
|
|
11
11
|
openWorldHint: true,
|
|
@@ -4,7 +4,7 @@ export default {
|
|
|
4
4
|
key: "shopify_developer_app-search-customers",
|
|
5
5
|
name: "Search for Customers",
|
|
6
6
|
description: "Search for a customer or a list of customers. [See the documentation](https://shopify.dev/docs/api/admin-graphql/latest/queries/customers)",
|
|
7
|
-
version: "0.0.
|
|
7
|
+
version: "0.0.12",
|
|
8
8
|
annotations: {
|
|
9
9
|
destructiveHint: false,
|
|
10
10
|
openWorldHint: true,
|
|
@@ -4,7 +4,7 @@ export default {
|
|
|
4
4
|
key: "shopify_developer_app-search-fulfillment-orders",
|
|
5
5
|
name: "Search for Fulfillment Orders",
|
|
6
6
|
description: "Search for a fulfillment order or a list of fulfillment orders. [See the documentation](https://shopify.dev/docs/api/admin-graphql/unstable/queries/fulfillmentorders)",
|
|
7
|
-
version: "0.0.
|
|
7
|
+
version: "0.0.4",
|
|
8
8
|
annotations: {
|
|
9
9
|
destructiveHint: false,
|
|
10
10
|
openWorldHint: true,
|
|
@@ -5,7 +5,7 @@ export default {
|
|
|
5
5
|
key: "shopify_developer_app-search-orders",
|
|
6
6
|
name: "Search for Orders",
|
|
7
7
|
description: "Search for an order or a list of orders. [See the documentation](https://shopify.dev/docs/api/admin-graphql/latest/queries/orders)",
|
|
8
|
-
version: "0.0.
|
|
8
|
+
version: "0.0.7",
|
|
9
9
|
annotations: {
|
|
10
10
|
destructiveHint: false,
|
|
11
11
|
openWorldHint: true,
|
|
@@ -27,6 +27,12 @@ export default {
|
|
|
27
27
|
optional: true,
|
|
28
28
|
options: constants.ORDER_SORT_KEY,
|
|
29
29
|
},
|
|
30
|
+
reverse: {
|
|
31
|
+
type: "boolean",
|
|
32
|
+
label: "Sort Descending",
|
|
33
|
+
description: "Sort the results in descending order. Defaults to ascending",
|
|
34
|
+
optional: true,
|
|
35
|
+
},
|
|
30
36
|
max: {
|
|
31
37
|
type: "integer",
|
|
32
38
|
label: "Max Records",
|
|
@@ -43,6 +49,7 @@ export default {
|
|
|
43
49
|
variables: {
|
|
44
50
|
query: this.query,
|
|
45
51
|
sortKey: this.sortKey,
|
|
52
|
+
reverse: this.reverse,
|
|
46
53
|
},
|
|
47
54
|
max: this.max,
|
|
48
55
|
});
|
|
@@ -6,7 +6,7 @@ export default {
|
|
|
6
6
|
key: "shopify_developer_app-update-customer",
|
|
7
7
|
name: "Update Customer",
|
|
8
8
|
description: "Update a existing customer. [See the documentation](https://shopify.dev/docs/api/admin-graphql/latest/mutations/customerupdate)",
|
|
9
|
-
version: "0.0.
|
|
9
|
+
version: "0.0.13",
|
|
10
10
|
annotations: {
|
|
11
11
|
destructiveHint: true,
|
|
12
12
|
openWorldHint: true,
|
|
@@ -4,7 +4,7 @@ export default {
|
|
|
4
4
|
key: "shopify_developer_app-update-fulfillment-tracking-info",
|
|
5
5
|
name: "Update Fulfillment Tracking Info",
|
|
6
6
|
description: "Update the tracking info for a fulfillment. [See the documentation](https://shopify.dev/docs/api/admin-graphql/unstable/mutations/fulfillmenttrackinginfoupdate)",
|
|
7
|
-
version: "0.0.
|
|
7
|
+
version: "0.0.4",
|
|
8
8
|
annotations: {
|
|
9
9
|
destructiveHint: true,
|
|
10
10
|
openWorldHint: true,
|
|
@@ -6,7 +6,7 @@ export default {
|
|
|
6
6
|
key: "shopify_developer_app-update-product",
|
|
7
7
|
name: "Update Product",
|
|
8
8
|
description: "Update an existing product. [See the documentation](https://shopify.dev/docs/api/admin-graphql/latest/mutations/productupdate)",
|
|
9
|
-
version: "0.0.
|
|
9
|
+
version: "0.0.13",
|
|
10
10
|
annotations: {
|
|
11
11
|
destructiveHint: true,
|
|
12
12
|
openWorldHint: true,
|
package/common/queries.mjs
CHANGED
|
@@ -21,7 +21,11 @@ const GET_ORDER = `
|
|
|
21
21
|
riskLevel
|
|
22
22
|
customerAcceptsMarketing
|
|
23
23
|
paymentGatewayNames
|
|
24
|
-
|
|
24
|
+
customAttributes {
|
|
25
|
+
key
|
|
26
|
+
value
|
|
27
|
+
}
|
|
28
|
+
|
|
25
29
|
totalPriceSet {
|
|
26
30
|
shopMoney {
|
|
27
31
|
amount
|
|
@@ -157,7 +161,11 @@ const GET_ORDER = `
|
|
|
157
161
|
refundableQuantity
|
|
158
162
|
requiresShipping
|
|
159
163
|
restockable
|
|
160
|
-
|
|
164
|
+
customAttributes {
|
|
165
|
+
key
|
|
166
|
+
value
|
|
167
|
+
}
|
|
168
|
+
|
|
161
169
|
originalUnitPriceSet {
|
|
162
170
|
shopMoney {
|
|
163
171
|
amount
|
package/package.json
CHANGED
|
@@ -5,7 +5,7 @@ export default {
|
|
|
5
5
|
key: "shopify_developer_app-inventory-level-updated",
|
|
6
6
|
name: "Inventory Level Updated (Instant)",
|
|
7
7
|
description: "Emit new event when an inventory level is updated.",
|
|
8
|
-
version: "0.0.
|
|
8
|
+
version: "0.0.4",
|
|
9
9
|
type: "source",
|
|
10
10
|
dedupe: "unique",
|
|
11
11
|
methods: {
|
|
@@ -5,7 +5,7 @@ export default {
|
|
|
5
5
|
key: "shopify_developer_app-new-product-updated",
|
|
6
6
|
name: "New Product Updated (Instant)",
|
|
7
7
|
description: "Emit new event for each product updated in a store.",
|
|
8
|
-
version: "0.0.
|
|
8
|
+
version: "0.0.14",
|
|
9
9
|
type: "source",
|
|
10
10
|
dedupe: "unique",
|
|
11
11
|
props: {
|