Hi, Firstly, I wanted to say a massive thank you ...
# singer-tap-development
j
Hi, Firstly, I wanted to say a massive thank you for developing the Singer SDK. I've been struggling with the official singer documentation and I've managed to build a working WooCommerce tap in a short space of time using the SDK. I know it is going to be a really simple solution but I am trying to use "replication_key_value" from the state message to pass to the WooCommerce REST API so it only gets data after that date. I have set "date_modified" as the replication key and it is setting the state correctly:
Copy code
{
  "type": "STATE",
  "value": {
    "bookmarks": {
      "orders": {
        "progress_markers": {},
        "replication_key": "date_modified",
        "replication_key_value": "2021-05-15T15:14:40"
      }
    }
  }
}
However, I'm not sure how I can extract "replication_key_value" to pass into the params on a subsequent run. Any help would be much appreciated and if anyone else is working on WooCommerce it would be good to chat 🙂 Best, Jazzy