Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Sander Los 27 posts 160 karma points
    Feb 02, 2023 @ 09:49
    Sander Los
    0

    Retrieving date when an order was completed (orderstatus)

    Hi Matt,

    A quick question. How can we capture the Datetime (moment) when or order Changes status (in our project to complete) so we can perform some action based on the timestamp (send information to customer for example)

    Vendr 3

    Umbraco 10

  • Matt Brailsford 4124 posts 22215 karma points MVP 9x c-trib
    Feb 02, 2023 @ 09:53
    Matt Brailsford
    100

    Hi Sander,

    I don't think we track a status change date, but if you just want to notify a customer when the status changes, we do fire an event for that.

    https://vendr.net/docs/core/3.0.0/reference/vendr-core/vendr-core-events-notification/orderstatuschangednotification/

    This event fires when the status is changing, and it provides you with what the status was, and what it now is, so you can use the change in value to trigger whatever action you need to perform.

  • Sander Los 27 posts 160 karma points
    Feb 02, 2023 @ 09:59
    Sander Los
    0

    Thanks for your quick reply. We can move forward with this.

Please Sign in or register to post replies

Write your reply to:

Draft