Hi,
We are building a post-purchase checkout extension to show post-purchase offers.
There’s a certain state in an order’s lifecycle where we want to plug and run specific backend logic.
This state should indicate that for an order a post-purchase page won’t be shown anymore. This means:
- It was already shown and the flow is completed
or
- It was never shown and won’t be shown at all
The only related thing I found and read was the following changelog post: Post-purchase fulfillment holds (API)
However, I can’t neither reproduce this “ON_HOLD” state nor find a “FulfillmentOrder” associated with the order. Actually, I can reproduce it and see it in the admin UI, but I that’s not the state I see when I fetch the order using the Admin API.
Admin UI
Admin API
Can you help me identify when the post-purchase offer phase is over for an order using the Admin API?
PS: The API version we are using is “2021-10”.
Regards,
Hristo.
