User_id field in Order Transaction API - POST Call

6 0 0

Hi Team,
As part of the request payload for POST Order Transcation API /admin/api/2019-10/orders/#{order_id}/transactions.json, unable to provide user_id value (which is NOT a Read-Only value), even though we provide value for user_id in the request, response doesnt contain the value but instead has null.Could anyone please suggest why we see this is happening and where can I find the value for user_id in my Shopify Store.



Shopify Partner
1061 118 170

Was the order created through Shopify POS? The reason I am asking is because of this:


user_id - The ID for the user who was logged into the Shopify POS device when the order was processed, if applicable.

For any other case the value will be equal to null. Also, I am not sure one can pass user_id to the transactions request. What did you mean by this?

Sergiu Svinarciuc | CTO @
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution!
- To learn more about the awesome stuff we do head over to or our blog
1 Like
6 0 0

Ok I got what you meant by Shopify POS. Since we are not using it through POS, we will not need to give a user_id value. Thank you for your help!