Get customer orders
Element details
type: meya.shopify.component.customer.order.list
class: ShopifyCustomerOrderListComponent
path: /meya/shopify/component/customer/order/list.py
signature: -
Fields
field | description | required | signature | default | type |
---|---|---|---|---|---|
spec | Override the original spec for this element. | ○ | ○ | null | Spec |
context | Send context data with this component's event. | ○ | ○ | {} | dict |
sensitive | ○ | ○ | true | bool | |
triggers | Activate these dynamic triggers when the component runs. Check the component triggers guide for more info. | ○ | ○ | [] | list |
customer_id | Customer ID | ◉ | ○ | int | |
integration | ◉ | ○ | ShopifyIntegrationRef | ||
ids | List of orders IDs | ○ | ○ | null | list |
financial_status | Financial status | ○ | ○ | "any" | OrderFilterFinancialStatus |
fulfillment_status | Fulfillment status | ○ | ○ | "any" | OrderFilterFulfillmentStatus |
status | Order status | ○ | ○ | "open" | OrderFilterStatus |
Usage reference
Basic
triggers:
- keyword: meya.shopify.component.customer.order.list
steps:
- type: meya.shopify.component.customer.order.list
customer_id: 123
integration: integration.shopify
Full
triggers:
- keyword: meya.shopify.component.customer.order.list
steps:
- type: meya.shopify.component.customer.order.list
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
customer_id: 123
integration: integration.shopify
ids:
- 123
financial_status:
authorized|pending|paid|partially_paid|refunded|voided|partially_refunded|any|unpaid
fulfillment_status: shipped|partial|unshipped|any|unfulfilled
status: open|closed|cancelled|any