Update shipping address
Element details
type: meya.shopify.component.order.update_shipping_address
class: ShopifyUpdateShippingAddressComponent
path: /meya/shopify/component/order/update_shipping_address.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 |
order_id | Order ID | ◉ | ○ | int | |
address | New address | ◉ | ○ | str | |
address_2 | New address 2 | ◉ | ○ | str | |
postal_code | New postal code | ◉ | ○ | str | |
city | New city | ◉ | ○ | str | |
country | New country | ◉ | ○ | str | |
province | New province | ◉ | ○ | str | |
integration | ◉ | ○ | ShopifyIntegrationRef | ||
Usage reference
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