/// <summary> /// Update a webhook's topic and/or address URIs. /// </summary> /// <param name="webhook">The webhook.</param> /// <returns></returns> public ShopifyWebhook Update(ShopifyWebhook webhook) { return(base.Update(webhook, (long)webhook.Id)); }
/// <summary> /// Every webhook needs a topic and an address. /// Failure to have a topic or an address will result in a 422 - Unprocessable Entity error. /// </summary> /// <param name="webhook">The webhook.</param> /// <returns></returns> public ShopifyWebhook Create(ShopifyWebhook webhook) { return(base.Create(webhook)); }