Brandon

Results 3 issues of Brandon

Shopify is a bit inconsistent with their error responses. In particular: while calling [cancelOrder](https://github.com/signifly/laravel-shopify/blob/master/src/REST/Actions/ManagesOrders.php#L67) I found that they don't return an array of `errors`, but just a single line attribute...

When calling `$this->shopify->updateCustomerAddress(...)`, I would get this error: > Undefined array key "address" As per the [docs](https://shopify.dev/docs/api/admin-rest/2023-04/resources/customer-address#put-customers-customer-id-addresses-address-id), the response has `customer_address` and not `address`, as the code was looking for....

When calling `$this->shopify->adjustInventoryLevel(...)`, I would get this error: > TypeError > > Signifly\Shopify\REST\Resources\ApiResource::__construct(): Argument #1 ($attributes) must be of type array, null given, called in /app/musora-web-platform/vendor/signifly/laravel-shopify/src/REST/Actions/ManagesInventory.php on line 56 After...