Skip to content

Conversation

@cpfk
Copy link
Contributor

@cpfk cpfk commented Oct 30, 2025

Summary

This PR updates and aligns the ShippingV2 models and services with the latest Amazon Shipping API v2 reference:

  • Updated EventCode to match the documented enum values from EventCode so tracking events map cleanly to the API contract.
  • Extended Event to serialize the optional shipmentType property per Event.
  • Introduced the ShipmentType enum (FORWARD, RETURNS) matching ShipmentType.
  • Updated .gitignore to exclude .DS_Store artifacts.
  • Added GetShipmentDocumentsAsync / GetShipmentDocuments helpers in ShippingServiceV2 for /shipping/v2/shipments/{shipmentId}/documents.

Testing

Changes were validated in production to confirm correct serialization and API compatibility.


Notes

This PR focuses on aligning the ShippingV2 models with current Amazon documentation and adding document retrieval helpers.
Some ShippingServiceV2 operations are still missing — this contribution only implements what was required for current production needs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant