Tags
, ,

Shopify Order Count and List APIs Do Not Return Correct Data

Well, not 100%, but it’s partially incorrect in my experience.

I was working on a Shopify-related project to make live integration for order fulfilment (in Shopify) with one of the shipping companies in Indonesia. One of the goal I want to achieve is to display the number of orders and list of orders. They should be filtered by two parameters: orders are paid, but not yet fulfilled.

I am not sure about the problem, because previously everything worked without any issues. If the count shows 5 orders, I can see the list of 5 orders. Previously, I used the 2020-07 API version. But, using the latest version (2020-10), I got the same results.

Order APIs

To retrieve the number of total orders, we can use /admin/api/2020-10/orders/count.json API endpoint. Because I need to get the paid and unfulfilled orders, I add two parameters: financial_status=paid and fulfillment_status=unfulfilled. I got this following response:

{
"count": 4
}

To retrieve list of orders with the filters I want, I use /admin/api/2020-10/orders.json API endpoint. Adding same parameters (financial_status=paid and fulfillment_status=unfulfilled), I expect to get all paid and unfulfilled orders. But I got nothing in the response.

{
"orders": []
}

It does not always empty, but sometime the API gives less number of orders. Maybe I should check again with different parameters.

Tags
, , , , , ,

Tumbleweed: Tumblr Desktop Client

Tumblweed Screenshot
After I decided to start a tumblelog (again), the first thing I did was finding a desktop client. For now, Tumblr does not support XML-RPC protocol, but they do have API.
I’m not familiar with API, so I searched for solution. Luckily, I found Tumbleweed. Login using Tumblr account, and you can start writing. If you have web camera, you can also capture using it, and post it as photo. What I like from Tumblweed:

  • The interface is clean, easy to understand.
  • Support multiple tumble format — of course!
  • It also support tags and timestamp modification
  • Support multiple tumblelogs from Tumblr, using Tumblr domain or custom domain.

But, there are some limitations (it’s more about my personal preferences):

  • When writing a “Quote”, there is no textarea to write the description. It’s only an “input” type.
  • Entry history. If you have many contents, you only see your last 20 entries.
  • Inline editing. All posted contents can’t be edited from the interface.

Those features seems not available for now — based on my observation. But, I’m fine with that since this is the best Tumblr desktop client I found so far. If you have any recommendation, please share.
Anyway, if you want to install Tumblweed, you need to have Adobe AIR installed first.