Skip to content

Commit

Permalink
Merge pull request #118 from jjideenschmiede/development
Browse files Browse the repository at this point in the history
fix: Update custom field struct.
  • Loading branch information
gowizzard authored Dec 5, 2023
2 parents 02e5124 + 31fe211 commit db73115
Showing 1 changed file with 8 additions and 10 deletions.
18 changes: 8 additions & 10 deletions search.go
Original file line number Diff line number Diff line change
Expand Up @@ -675,9 +675,8 @@ type CustomOrderSearchReturn struct {
Cover interface{} `json:"cover"`
Children interface{} `json:"children"`
Product struct {
ProductNumber string `json:"productNumber"`
CustomFields map[string]interface{} `json:"customFields"`
ApiAlias string `json:"apiAlias"`
ProductNumber string `json:"productNumber"`
ApiAlias string `json:"apiAlias"`
} `json:"product"`
UniqueIdentifier string `json:"_uniqueIdentifier"`
VersionId string `json:"versionId"`
Expand All @@ -690,13 +689,12 @@ type CustomOrderSearchReturn struct {
Extensions []interface{} `json:"extensions"`
} `json:"foreignKeys"`
} `json:"extensions"`
Id string `json:"id"`
CustomFields interface {
} `json:"customFields"`
OrderVersionId string `json:"orderVersionId"`
ProductVersionId string `json:"productVersionId"`
ParentVersionId string `json:"parentVersionId"`
ApiAlias string `json:"apiAlias"`
Id string `json:"id"`
CustomFields map[string]interface{} `json:"customFields"`
OrderVersionId string `json:"orderVersionId"`
ProductVersionId string `json:"productVersionId"`
ParentVersionId string `json:"parentVersionId"`
ApiAlias string `json:"apiAlias"`
} `json:"lineItems"`
Transactions []struct {
OrderId string `json:"orderId"`
Expand Down

0 comments on commit db73115

Please sign in to comment.