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

Add Amazon shipping endpoint #353

Draft
wants to merge 3 commits into
base: master
Choose a base branch
from
Draft

Add Amazon shipping endpoint #353

wants to merge 3 commits into from

Conversation

jchen293
Copy link
Member

Description

Routes AmazonShippingAccount create/update requests to the new /register_oauth endpoint

Testing

Added new unit tests

Pull Request Type

Please select the option(s) that are relevant to this PR.

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Improvement (fixing a typo, updating readme, renaming a variable name, etc)

@ejachang ejachang marked this pull request as ready for review November 20, 2024 00:04
@ejachang ejachang requested a review from a team as a code owner November 20, 2024 00:04
@jchen293 jchen293 marked this pull request as draft November 20, 2024 00:06
@jchen293 jchen293 marked this pull request as ready for review December 17, 2024 17:48
@jchen293 jchen293 changed the title [WIP] Add Amazon shipping endpoint Add Amazon shipping endpoint Dec 17, 2024
@@ -36,6 +36,9 @@
"FedexAccount",
"FedexSmartpostAccount",
]
_CARRIER_ACCOUNT_TYPES_WITH_CUSTOM_OAUTH = [
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

question: do we know if other carriers will reuse this same endpoint? Otherwise this name may be too generic

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't know; there could be a carrier that uses this endpoint in the future. This name is similar to what we have for FedEx _CARRIER_ACCOUNT_TYPES_WITH_CUSTOM_WORKFLOWS

@jchen293 jchen293 requested a review from nwithan8 December 17, 2024 20:47
@jchen293 jchen293 marked this pull request as draft December 23, 2024 18:02
@jchen293
Copy link
Member Author

Putting this PR to draft until we finalize the update endpoint in Q1

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.

3 participants