Skip to content
New issue

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

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

Already on GitHub? # to your account

Changed date time format during deserialization #218

Merged
merged 2 commits into from
Jul 19, 2022

Conversation

owsiakl
Copy link
Contributor

@owsiakl owsiakl commented Jul 19, 2022

Change Log

Added

Fixed

Changed

  • Changed date time format during deserialization to zulu

Removed

Deprecated

Security


Description

Looks like amazon expects date time to be in ISO8601 in Zulu format, i.e. `2022-07-19T15:41:18.000Z`. Passing format with offset like `2022-07-19T15:41:18+00:00` returns invalid input error.

For sure it works like that in orders(query params in getOrder endpoint) and outbound(createFulfillmentOrder) APIs. I've also checked expected sandbox requests and it's the same format there.

@norberttech norberttech merged commit 27c918d into amazon-php:4.x Jul 19, 2022
@sw-Oldeu
Copy link
Contributor

Nice, now I can remove my workaround because of that :)

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants