type: meya.shopify.component.product.get
class: ShopifyProductGetComponent
path: /meya/shopify/component/product/get.py
signature: -
Get product
Fields
field | signature | required | type | default | description |
---|---|---|---|---|---|
spec | ○ | ○ | Spec | null | Override the original spec for this element |
context | ○ | ○ | dict | {} | Send context data with this component's event |
sensitive | ○ | ○ | bool | true | |
triggers | ○ | ○ | list | [] | Activate these dynamic triggers when the component runs |
product_id | ○ | ◉ | int | Product ID | |
integration | ○ | ◉ | ShopifyIntegrationRef |
Examples
Basic
triggers:
- keyword: meya.shopify.component.product.get
steps:
- type: meya.shopify.component.product.get
product_id: 123
integration: integration.shopify
Full
triggers:
- keyword: meya.shopify.component.product.get
steps:
- type: meya.shopify.component.product.get
spec:
type: STRING
data:
STRING: ANY
timeout: 123
trigger_when: ANY
context:
STRING: ANY
sensitive: false
triggers:
- type: STRING
data:
STRING: ANY
timeout: 123
trigger_when: ANY
product_id: 123
integration: integration.shopify