slince / shopify-api-php

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

PUT (update) does not work #34

Closed deventerKL closed 5 years ago

deventerKL commented 5 years ago

$ordersProcessing = $client->getOrderManager()->update(1090684911701, [ // set data 'financialStatus' => 'paid', ]);

Does not work. Neither does

 'financial_status' => 'paid',
slince commented 5 years ago

hello,Is there any error message? Does your app has permission to operate on orders?

deventerKL commented 5 years ago

No, sadly no error message. It seems to work fine, but doesn't have any effect on the status. And yes, the app has read/write permissions on orders.

slince commented 5 years ago

@deventerKL According to this article, financial_status cannot be updated https://community.shopify.com/c/Shopify-APIs-SDKs/Change-Status-of-Order/td-p/261839 https://help.shopify.com/en/api/reference/orders/order#update

image

Maybe you should try transaction