diff --git a/snipcart/webhook.go b/snipcart/webhook.go index 7203733..18d5ce6 100644 --- a/snipcart/webhook.go +++ b/snipcart/webhook.go @@ -6,6 +6,15 @@ import ( "net/http" ) +type ShippingError struct { + Key string `json:"key"` + Message string `json:"message"` +} + +type ShippingErrors struct { + Errors []ShippingError `json:"errors"` +} + type TaxShippingInfo struct { Fees float64 `json:"fees"` Method string `json:"method"`