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 endpoint to get order from quote id #305

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

nicolenorman
Copy link
Contributor

Add a new endpoint to allow getting an order from a quote_id

*/
public function getOrder(int $quoteId): OrderInterface
{
$searchCriteria = $this->searchCriteriaBuilder
Copy link
Member

Choose a reason for hiding this comment

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

We may want to confirm with a Magento expert if quote id's are long lived. I thought I had heard something in the past that quote id's expire or can be cleared out by the merchant. If so, this may result in this endpoint being a new failure point for Bold.

Copy link
Contributor

Choose a reason for hiding this comment

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

Calin is correct, to the best of my knowledge.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

With the change in approach for the ticket this was related to it looks like this endpoint won't be needed. That on top of it sounding like this isn't a stable approach anyway I'll be closing this once the PR in the other project has been merged. Thank you both!

@nicolenorman nicolenorman marked this pull request as draft August 8, 2024 19:11
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.

4 participants