Skip to content

Commit

Permalink
Merge pull request #51 from fond-of-vertigo/fix/order-unmarshal2
Browse files Browse the repository at this point in the history
fix: change order.IsReplacementOrder from string to bool
  • Loading branch information
adankb authored Feb 7, 2024
2 parents 236fbea + a76f96d commit 05430d4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apis/orders/model.go
Original file line number Diff line number Diff line change
Expand Up @@ -328,7 +328,7 @@ type Order struct {
// The order ID value for the order that is being replaced. Returned only if IsReplacementOrder = true.
ReplacedOrderId *string `json:"ReplacedOrderId,omitempty"`
// When true, this is a replacement order.
IsReplacementOrder *string `json:"IsReplacementOrder,omitempty"`
IsReplacementOrder *bool `json:"IsReplacementOrder,omitempty"`
// Indicates the date by which the seller must respond to the buyer with an estimated ship date. Returned only for Sourcing on Demand orders.
PromiseResponseDueDate *string `json:"PromiseResponseDueDate,omitempty"`
// When true, the estimated ship date is set for the order. Returned only for Sourcing on Demand orders.
Expand Down

0 comments on commit 05430d4

Please sign in to comment.