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

Customer create, read and update functions throws errors #223

Open
jofomah opened this issue Jul 9, 2018 · 1 comment
Open

Customer create, read and update functions throws errors #223

jofomah opened this issue Jul 9, 2018 · 1 comment

Comments

@jofomah
Copy link

jofomah commented Jul 9, 2018

Expected behavior

getCustomers(), getCustomer(customer_id) etc should return appropriate result.

Actual behavior

These throws Bigcommerce/Api/Error see full error stack below:

PHP Error:  Wrong parameters for Bigcommerce/Api/ClientError([string $message [, long $code [, Throwable $previous = NULL]]]) in /home/jofomah/brandlabs/bigcommerce-spire-sync/vendor/bigcommerce/api/src/Bigcommerce/Api/Error.php on line 16

Steps to reproduce behavior

  1. use Bigcommerce\Api\Client as Bigcommerce;
  2. call any of Bigcommerce::getCustomer(1); or Bigcommerce::getCustomers();

Note: other resources such as products, orders e.g Bigcommerce::getOrder(order_id);, Bigcommerce::getOrders(); are working as expected.

@jofomah jofomah closed this as completed Jul 9, 2018
@akowalz
Copy link

akowalz commented Apr 5, 2019

@jofomah what was the resolution here? Is this fixed in a later version of the plugin?

@jofomah jofomah reopened this Nov 4, 2019
carsonreinke added a commit to carsonreinke/bigcommerce-api-php that referenced this issue Nov 4, 2019
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