You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to create a webhook with this SDK to createa a "ProductCreated" Subscription event with this SDK but can't figure it out
`
// Create the client instance
var client = new ClientFactory().Create(config);
// Set up the subscription payload
var httpDestination = new HttpDestination
{
Url = "https://mysite.dev/webhook",
};
// Set up the subscription payload
var payload = new SubscriptionDraft
{
Destination = httpDestination,
Changes = new { "ProductCreated" },
Key = "product-created-subscription",
};
`
Any pointers appreciated
The text was updated successfully, but these errors were encountered:
I'm trying to create a webhook with this SDK to createa a "ProductCreated" Subscription event with this SDK but can't figure it out
`
`
Any pointers appreciated
The text was updated successfully, but these errors were encountered: