Product updated webhook

Hello guys,

any plans to add product updated webhook so we can update our webshop with fields like tariff code. With the Legacy API we just fetch all products during the night and check if they were updated, but with GraphQL that makes it impossible because of the credit system.

Hi @darius
I apologize for the delay in my response,
We don’t have that in our radar currently, but would fetch a product with updated_from to updated_to work for you?
Thanks in advance!
Tom

Hi @tomasw

Do you have any sample query to fetch products that are updated within a range?
I tried using the updated_from to updated_to on the product schema but that didnt work.

Hey @Meera,

Thanks for reaching out!

I can confirm that the updated_from and updated_to filters are still working. Below is the query I used to test:

{
  products(
    updated_from: "2023-05-01"
    updated_to: "2023-05-30"
  ) {
    request_id
    complexity
    data(first: 20) {
      edges{
        node{
          id
          sku
        }
      }
    }
  }
}

Please let me know if you have any questions or concerns.

Best,
RayanP

@sh-agent That worked! Thank you!

1 Like