Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove Shipment Address required values #723

Merged
merged 2 commits into from
Jun 12, 2024

Conversation

dpash
Copy link
Contributor

@dpash dpash commented Jun 6, 2024

Data fetched from Amazon for shipments can be missing values. This results in deserialisation errors when Amazon returns data with those fields missing.

Fixes #703

@dpash
Copy link
Contributor Author

dpash commented Jun 6, 2024

Ideally we would have a separate Address types for requests and responses, but given FBA Inbound v0 is deprecated to be removed at the end of the year, I don't think it's worth implementing

@dpash
Copy link
Contributor Author

dpash commented Jun 6, 2024

I've added an additional field in the GetShipments call that's marked as required, but missing in response from Amazon

@jlevers
Copy link
Owner

jlevers commented Jun 9, 2024

Is the AreCasesRequired field always missing from the GetShipments call? If so, we could remove it entirely.

Data fetched from Amazon for shipments can be missing values. This
results in deserialisation errors when Amazon returns data with those
fields missing.

Fixes jlevers#703
Responses from Amazon are missing this column
@dpash dpash force-pushed the make-shipments-address-not-required branch from 1a2de50 to 2a74e60 Compare June 12, 2024 09:20
@dpash
Copy link
Contributor Author

dpash commented Jun 12, 2024

I don't have enough data to say for certain yet.

I've updated the PR to resolve conflicts

@jlevers jlevers merged commit 6b2dfd2 into jlevers:main Jun 12, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants