Skip to content

Commit

Permalink
Merge pull request #9 from ewarehousing-solutions/EWA-721
Browse files Browse the repository at this point in the history
Update shipments.go to have a string array
  • Loading branch information
Fichtme authored Jan 18, 2024
2 parents 3e34e78 + 906431e commit 9f646c4
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions ewhs/shipments.go
Original file line number Diff line number Diff line change
Expand Up @@ -46,12 +46,12 @@ type ShipmentLines struct {
}

type ShipmentListOptions struct {
OrderExternalReference string `url:"order_external_reference,omitempty"`
From string `url:"from,omitempty"`
To string `url:"to,omitempty"`
Limit int `url:"limit,omitempty"`
Direction string `url:"direction,omitempty"`
Page int `url:"page,omitempty"`
OrderExternalReference []string `url:"order_external_reference,omitempty"`
From string `url:"from,omitempty"`
To string `url:"to,omitempty"`
Limit int `url:"limit,omitempty"`
Direction string `url:"direction,omitempty"`
Page int `url:"page,omitempty"`
}

func (ss *ShipmentsService) List(ctx context.Context, opts *ShipmentListOptions) (list *[]Shipment, res *Response, err error) {
Expand Down

0 comments on commit 9f646c4

Please sign in to comment.