Skip to content

Commit

Permalink
fix(order): set IsReplacementOrder to string
Browse files Browse the repository at this point in the history
+ the type is supposed to be a boolean, however the response is a string

Example:
"HasRegulatedItems": false,
"IsReplacementOrder": "false",
  • Loading branch information
Coffeeri committed Dec 22, 2023
1 parent 56351e4 commit 83d7dbe
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 *bool `json:"IsReplacementOrder,omitempty"`
IsReplacementOrder *string `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 83d7dbe

Please sign in to comment.