i want change shipping address after order has been submitted. possible, have been looking ways seems no 1 has ever had issue... wish via api call. want customers able change shipping address of order.
please let me know if possible.
yes it's possible api call.
using shopify order api call update order. example below
put => /admin/orders/#{id}.json { "order": { "id": 450789469, "shipping_address": { "first_name": "jane", "last_name": "smith", "address1": "123 fake street", "phone": "777-777-7777", "city": "fakecity", "province": "ontario", "country": "canada", "zip": "k2p 1l4" } } }
this should update order.
note : haven't tested while creating order, works way.
Comments
Post a Comment