Fulfillment Events - aareano/ifshop-wiki GitHub Wiki
The Fulfillment Event event class contains the following events:
- a fulfillment event is created
- a fulfillment event is deleted
The fulfillment_event
drop is the root drop that's defined for this class. Below is an example of the tree of liquid drops available to you.
Example Usage: To access the status of the fulfillment event, you would use fulfillment_event.status
.
order
├── billing_address
├── customer
│ ├── customer_address
│ └── customer_default_address
├── discount
├── fulfillment
│ ├── fulfillment_event
│ └── fulfillment_line_item
│ └── line_item
│ ├── product
│ │ ├── collection
│ │ ├── image
│ │ ├── image
│ │ └── product_option
│ └── variant
│ └── image
├── fulfillment
│ └── fulfillment_line_item
│ └── line_item
│ ├── product
│ │ ├── collection
│ │ ├── image
│ │ ├── image
│ │ └── product_option
│ └── variant
│ └── image
├── fulfillment
│ └── fulfillment_line_item
│ └── line_item
│ ├── product
│ │ ├── collection
│ │ ├── image
│ │ ├── product_option
│ │ └── product_option
│ └── variant
│ └── image
├── fulfillment_event
├── line_item
│ ├── product
│ │ ├── collection
│ │ ├── image
│ │ ├── product_option
│ │ └── product_option
│ └── variant
│ ├── image
├── tax_line
├── transaction
│ ├── payment_details
│ └── receipt
├── transaction
│ └── receipt
├── shipping_address
├── shipping_method
└── shop
└── collection
The tree is representative of what you can expect for the following events:
- a fulfillment event is created
The remaining fulfillment event event has limited data availability because Shopify deletes the data immediately, before ifshop has access to it:
- a fulfillment event is deleted
Note: This tree is an illustrative, but not exhaustive - in theory, it goes on forever! - demonstration of the assemblage and structure of the data available to you.
Warning: The tree of liquid drops you encounter in practice will almost certainly have different dimensions than this. This is merely an example to show structure.