When I try to update a fulfillment tracking info with shopify_api ruby version, I meet the following errors
ActiveResource::ResourceInvalid (Failed. Response code = 422. Response message = Unprocessable Entity (Tracking information update failed.).):
tracking_info = { number: tracking_number, url: tracking_url, company: 'other' }
fulfillment = ShopifyAPI::Fulfillment.find(fulfillment_id, params: { order_id: order_id })
fulfillment.update_tracking(tracking_info: tracking_info, notify_customer: false)
Hey @ericfreeman
Can you pass me the order ID for the request that is failing? My guess is there is something about the request that is malformed, but need to see our logs to figure out what.
Kevin_A | Developer Support @ Shopify
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Click Accept as Solution
User | Count |
---|---|
26 | |
7 | |
7 | |
6 | |
5 |