This is a pre-built, source-available component from Pipedream's GitHub repo. The component is developed by Pipedream and the community, and verified and maintained by Pipedream.
To contribute an update to an existing component or create a new component, create a PR on GitHub. If you're new to Pipedream component development, you can start with quickstarts for trigger span and action development, and then review the component API reference.
Create Custom Collection on Shopify
Description:Create a new custom collection. [See the documentation](https://shopify.dev/docs/api/admin-graphql/latest/mutations/collectionCreate)
Version:0.0.10
Key:shopify_developer_app-create-custom-collection
import shopify from "../../shopify_developer_app.app.mjs";
import common from "@pipedream/shopify/actions/create-custom-collection/create-custom-collection.mjs";
import { adjustPropDefinitions } from "../../common/utils.mjs";
const {
name, description, type, ...others
} = common;
const props = adjustPropDefinitions(others.props, shopify);
export default {
...others,
key: "shopify_developer_app-create-custom-collection",
version: "0.0.10",
name,
description,
type,
props: {
shopify,
...props,
},
};
This component may be configured based on the props defined in the component code. Pipedream automatically prompts for input values in the UI and CLI.
| Label | Prop | Type | Description |
|---|
| Shopify | shopify | app | This component uses the Shopify app. |
| Title | title | string | The name of the custom collection
|
| Product ID | products | string[] | Select a value from the drop down menu. |
| Metafields | metafields | string[] | An array of objects, each one representing a metafield. If adding a new metafield, the object should contain key, value, type, and namespace. Example: {{ [{ "key": "new", "value": "newvalue", "type": "single_line_text_field", "namespace": "global" }] }}. To update an existing metafield, use the id and value. Example: {{ [{ "id": "28408051400984", "value": "updatedvalue" }] }}
|
| Image URL | imageUrl | string | The source URL that specifies the location of the image
|
Shopify uses API keys for authentication. When you connect your Shopify account, Pipedream securely stores the keys so you can easily authenticate to Shopify APIs in both code and no-code steps.
Shopify is a complete commerce platform that lets anyone start, manage, and grow a business. You can use Shopify to build an online store, manage sales, market to customers, and accept payments in digital and physical locations.