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

Order Transactions #247

Open
travisfisher opened this issue Mar 12, 2019 · 1 comment
Open

Order Transactions #247

travisfisher opened this issue Mar 12, 2019 · 1 comment

Comments

@travisfisher
Copy link

Expected behavior

I would expect to be able to retrieve an order's transaction details.

See: https://developer.bigcommerce.com/api-reference/orders/orders-transactions-api

Actual behavior

Call to undefined method Bigcommerce\Api\Resources\Order::getTransactions()

Steps to reproduce behavior

$order = Bigcommerce\Api\Client::getOrder();
$transactions = $order->getTransactions();
@karen-white
Copy link

karen-white commented Mar 12, 2019

Hey @travisfisher , this client is configured for v2 API requests only (although this is something we want to address in the near future). Order Transactions is a v3 endpoint and not supported by this client. These are all of the resources you can access currently:
https://github.com/bigcommerce/bigcommerce-api-php/tree/master/src/Bigcommerce/Api/Resources

Thanks for opening the issue, and pull requests are welcome if this is something you're interested in contributing to :)

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

No branches or pull requests

2 participants