A few people have been asking questions around Flows.
We were discussing the possibility of using Flows to add metadata to Cart and Order processes.
I spent some time with @ajsturrock going through the current state and how they can be used currently. The results are in…
carts - A Flow can be created for
carts but it’s impossible to
carts/:ID as no endpoint exists.
cart items - A Flow can be created for
cart_items and it is possible to
carts/:ID/items with the additional data (in the same request as add to cart).
PUT also works for updating custom data for an item in the
checkout - Custom field data not carried through to the order. Should it be possible to add custom data on the checkout endpoint that ends up on the
checkout process - Custom flow data is lost during the checkout process when a cart item is translated into an order item (if the same field is created on both
cart_items flow and
orders - A Flow can be created for
orders and custom data can be
order items - No
PUT to an
order_items custom data is shown as a top level custom field rather than as a field for the
Hopefully our findings and what we’d like to see possible will make it into the product roadmap.
I’d love to hear how people are using Flows currently and any feedback on how they should be used.