ruby on rails - Updating "Receipt" comments on a Shopify Order using ShopifyAPI::Fulfillment -


i'm trying update receipt attribute of order using shopifyapi::fulfillment

i'm doing this:

fulfill = shopifyapi::fulfillment.find(351144xxxx, :params =>  {:order_id =>  426199xxxx}) joe = fulfill.receipt joe.response_status = "accepted" joe.response_comment = "your order received yo mama" fulfill.save 

it saves it, order doesn't keep save.. not sure i'm doing wrong, if anything.

you should save receipt

joe = fulfill.receipt joe.response_status = "accepted" joe.response_comment = "your order received yo mama" joe.save 

Comments

Popular posts from this blog

java - Jasper subreport showing only one entry from the JSON data source when embedded in the Title band -

mapreduce - Resource manager does not transit to active state from standby -

serialization - Convert Any type in scala to Array[Byte] and back -