diff --git a/go.mod b/go.mod index 5dcd2c4..872790c 100644 --- a/go.mod +++ b/go.mod @@ -4,6 +4,5 @@ go 1.19 require ( github.com/debyltech/go-helpers v1.1.1 - github.com/debyltech/go-shippr v0.1.0 github.com/skip2/go-qrcode v0.0.0-20200617195104-da1b6568686e ) diff --git a/snipcart/snipcart.go b/snipcart/snipcart.go index e78699a..ba636ae 100644 --- a/snipcart/snipcart.go +++ b/snipcart/snipcart.go @@ -167,6 +167,11 @@ type Product struct { Token string `json:"id"` Id string `json:"userDefinedId"` Name string `json:"name"` + Price float64 `json:"price"` + Url string `json:"url"` + Image string `json:"image"` + Description string `json:"description"` + Archived bool `json:"archived"` Stock int `json:"stock"` TotalStock int `json:"totalStock"` AllowBackorder bool `json:"allowOutOfStockPurchases"`