slince / shopify-api-php

:rocket: Shopify API Client for PHP
MIT License
128 stars 48 forks source link

Trying to update total tax #49

Closed tone10 closed 4 years ago

tone10 commented 4 years ago

I am trying to send total tax to my order. Am I missing something.

Here is what I have for total tax for my order: $order = $client->getOrderManager()->put('$order_id', [ "total_tax" => "$total_tax", ]);

slince commented 4 years ago

Yes, https://github.com/slince/shopify-api-php/blob/master/src/Manager/Order/OrderManagerInterface.php You're using a method that doesn't exist; You can check the methods provided by the manager before you use them