type: meya.shopify.component.order.update_shipping_address
class: ShopifyUpdateShippingAddressComponent
path: /meya/shopify/component/order/update_shipping_address.py
signature: -
Update shipping address
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 |
order_id | ○ | ◉ | int | Order ID | |
address | ○ | ◉ | str | New address | |
address_2 | ○ | ◉ | str | New address 2 | |
postal_code | ○ | ◉ | str | New postal code | |
city | ○ | ◉ | str | New city | |
country | ○ | ◉ | str | New country | |
province | ○ | ◉ | str | New province | |
integration | ○ | ◉ | ShopifyIntegrationRef |
Examples
Basic
triggers:
- keyword: meya.shopify.component.order.update_shipping_address
steps:
- type: meya.shopify.component.order.update_shipping_address
order_id: 123
address: STRING
address_2: STRING
postal_code: STRING
city: STRING
country: STRING
province: STRING
integration: integration.shopify
Full
triggers:
- keyword: meya.shopify.component.order.update_shipping_address
steps:
- type: meya.shopify.component.order.update_shipping_address
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
order_id: 123
address: STRING
address_2: STRING
postal_code: STRING
city: STRING
country: STRING
province: STRING
integration: integration.shopify