From 5c220cb12fb14a38ad46c3ed83941f876852b179 Mon Sep 17 00:00:00 2001 From: Diogo Mateus Date: Mon, 22 May 2023 11:54:43 +0100 Subject: [PATCH] Remove the `omitempty` from `requires_shipping` (#211) --- variant.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/variant.go b/variant.go index 12e2e31a..41368eb6 100644 --- a/variant.go +++ b/variant.go @@ -58,7 +58,7 @@ type Variant struct { Weight *decimal.Decimal `json:"weight,omitempty"` WeightUnit string `json:"weight_unit,omitempty"` OldInventoryQuantity int `json:"old_inventory_quantity,omitempty"` - RequireShipping bool `json:"requires_shipping,omitempty"` + RequireShipping bool `json:"requires_shipping"` AdminGraphqlAPIID string `json:"admin_graphql_api_id,omitempty"` Metafields []Metafield `json:"metafields,omitempty"` }