amzn / selling-partner-api-models

This repository contains OpenAPI models for developers to use when developing software to call Selling Partner APIs.
Apache License 2.0
609 stars 732 forks source link

[BUG] IsReplacementOrder inside GetOrders response returns a string "False" when it should return a boolean False #2395

Closed AmrMashrah closed 2 years ago

AmrMashrah commented 2 years ago

Describe the issue

"Orders": [ "IsReplacementOrder": false

Documentation States that IsReplacementOrder returns a Boolean.

When trying to deserialize an error occurs because it seems to be coming back as a string. image image To solve this issue we change the IsReplacementOrder to a string public string? IsReplacementOrder { get; set; }

Links

https://developer-docs.amazon.com/sp-api/docs/orders-api-v0-reference#order https://developer-docs.amazon.com/sp-api/docs/orders-api-v0-model

adrian-amz commented 2 years ago

Hello @AmrMashrah,

In order to correctly resolve this issue, please open a support case, so we can pursue the investigation, as additional details are required from your end.

Thanks, Adrian C. Selling Partner API Developer Support