Using the order timeline on the admin API

Highlighted
New Member
4 0 0

Add a note to order

PUT /admin/api/2019-10/orders/#{order_id}.json
{
  "order": {
    "id": 450789469,
    "note": "Customer contacted us about a custom engraving on this iPod"
  }
}
0 Likes
Highlighted
New Member
1 0 1

As of 4/22/2020, still nothing to update the timeline_comments except a slight possibility of posting to:

https://MY_STORE_NAME.myshopify.com/admin/orders/INSERT_ORDER_ID_HERE/timeline_comments

which I never figured out. 

You can inspect an order page and examine the POST to the "Timeline" using the "Leave a comment" textbox (F12 in chrome).  I had a work-around so I never tried all the header and cookie combinations it might take to use that endpoint.   It looks like you need a valid login or session to use the interface.

1 Like