Skip to content
This repository was archived by the owner on Sep 11, 2018. It is now read-only.

Commit bb5325c

Browse files
andrewhoffdlebech
authored andcommitted
Add omitempty to customer address id fields (#105)
1 parent 348ebdd commit bb5325c

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

customer_address.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ package goshopify
22

33
// CustomerAddress represents a Shopify customer address
44
type CustomerAddress struct {
5-
ID int `json:"id"`
6-
CustomerID int `json:"customer_id"`
5+
ID int `json:"id,omitempty"`
6+
CustomerID int `json:"customer_id,omitempty"`
77
FirstName string `json:"first_name"`
88
LastName string `json:"last_name"`
99
Company string `json:"company"`

0 commit comments

Comments
 (0)