REST Admin Order API, name field can be set

Solved
Tourist
8 1 0

Greetings, 

 

According to the REST API documentation here:

The name field should be read only. However, I am able to set this field when I create orders with this API. Can someone confirm what the behavior should be? I'm hesitant to rely on setting this field since it's contrary to what the documentation says, but it does solve my immediate issue.

 

0 Likes

Success.

Shopify Staff
Shopify Staff
223 28 28

 

Hi @jbgrunewald 

 

Yes that is correct at this time you are able to POST an order with an order name. The field, however, can not be updated on an existing order and acts as a read only value in this case. Any behavior that changed this would be versioned and notified prior in our changelog, so I feel you should be able to rely on this. 

Vix | Developer Support @ Shopify
 - Was my reply helpful? Click Like to let me know! 
 - Was your question answered? Click Accept as Solution 


1 Like
Tourist
8 1 0

Thanks for the prompt response!

0 Likes
Highlighted
New Member
4 0 0

Hi 

 

0 Likes