Skip to content

Conversation

@jswift
Copy link
Collaborator

@jswift jswift commented Dec 31, 2021

Add Get Order, Get Orders, and Get Order Count from the V2 API.

Resolves #101

@jswift jswift requested review from Zigr1 and jp052 December 31, 2021 02:16
@jswift jswift marked this pull request as ready for review December 31, 2021 02:17
@jswift jswift changed the base branch from main to release/1.7.0 December 31, 2021 02:35
{
$response = $this->getResource();

return new OrderResponse(json_decode($response->getBody()));
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

doesn't handle non-existent orders very well, errors with a 404 exception.

@jswift jswift requested a review from AdamJHall January 4, 2022 04:23
Copy link

@AdamJHall AdamJHall left a comment

Choose a reason for hiding this comment

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

Looks good :)

@jswift jswift merged commit a4abd4f into release/1.7.0 Jan 7, 2022
@jswift jswift deleted the feature/102-get-order branch February 24, 2023 03:37
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.

Implement Get / Get All Orders V2

3 participants