Component was tested on 2021-04
API version.
You can find more information about API versioning at Shopify here.
To create the credentials you should do the following:
API key
and API Secret Key
Admin API access token
appears. Copy this one as it can only be revealed oncequickstart-974c9379.myshopify.com
API key
from the Shopify app credentials creation stepAdmin API access token
from the Shopify app credentials creation stepWebhook subscription
to sign the request with an HMAC header.
Use API Secret Key
from the Shopify app credentials creation stepYou can find additional information on how to generate the creds in Shopify documentation
Name | Mandatory | Description | Values |
---|---|---|---|
SHOPIFY_API_VERSION | false | Determines API version of Shopify to use | Default: 2019-10 , for Make Raw Request: 2021-04 |
Metafields for an object can be written when upserting/creating an object that supports metafields. When polling for objects, looking up an object or searching for objects, there is a checkbox that can be selected that will fetch the corresponding metafields for objects. Selecting this checkbox will cause more API calls to be consumed. (An additional API call per object read.)
When reading metafields data will be returned in this format. When writing
metafield data, the following format is also expected for the metafields
object.
{
"metafieldNamespaceOne": {
"metafieldKeyOne": "Metafield Value for metafieldNamespaceOne.metafieldKeyOne",
"metafieldKeyTwo": "Metafield Value for metafieldNamespaceOne.metafieldKeyTwo"
},
"metafieldNamespaceTwo": {
"metafieldKeyThree": "Metafield Value for metafieldNamespaceTwo.metafieldKeyThree"
}
}
Shopify metafields support the following three types:
integer
metafields will be created whenever the value provided for a metafield is a JSON number that is an integer. When reading Shopify integer
metafields, they will result in JSON numbers.string
metafields will be created whenever the value provided for a metafield is a JSON string or a JSON number that is not an integer. When reading any Shopify string
metafields, they will result in JSON strings regardless of whether or not they could be parsed as numbers.json_string
metafields will be created whenever the value provided for a metafield is a JSON object, array or boolean. The incoming value will be converted to a JSON string and stored. When reading Shopify metafields, they will be converted back to their JSON forms.Setting a metafield the value of JSON null
will result in that metafield being deleted.
Not setting a value for a metafield will result in that metafield being unchanged.
The technical notes page gives some technical details about Shopify component like changelog and completeness matrix.
Shopify component has the following triggers:
Shopify component has the following actions:
We keep the list of deprecated actions on a separate page. Please read this article for more details.
Click here to learn more about the elastic.io iPaaS