diff --git a/image.go b/image.go index 6e52e090..0e0b7068 100644 --- a/image.go +++ b/image.go @@ -25,17 +25,18 @@ type ImageServiceOp struct { // Image represents a Shopify product's image. type Image struct { - ID int64 `json:"id,omitempty"` - ProductID int64 `json:"product_id,omitempty"` - Position int `json:"position,omitempty"` - CreatedAt *time.Time `json:"created_at,omitempty"` - UpdatedAt *time.Time `json:"updated_at,omitempty"` - Width int `json:"width,omitempty"` - Height int `json:"height,omitempty"` - Src string `json:"src,omitempty"` - Attachment string `json:"attachment,omitempty"` - Filename string `json:"filename,omitempty"` - VariantIds []int64 `json:"variant_ids,omitempty"` + ID int64 `json:"id,omitempty"` + ProductID int64 `json:"product_id,omitempty"` + Position int `json:"position,omitempty"` + CreatedAt *time.Time `json:"created_at,omitempty"` + UpdatedAt *time.Time `json:"updated_at,omitempty"` + Width int `json:"width,omitempty"` + Height int `json:"height,omitempty"` + Src string `json:"src,omitempty"` + Attachment string `json:"attachment,omitempty"` + Filename string `json:"filename,omitempty"` + VariantIds []int64 `json:"variant_ids,omitempty"` + AdminGraphqlApiId string `json:"admin_graphql_api_id,omitempty"` } // ImageResource represents the result form the products/X/images/Y.json endpoint