Shopify Fulfillment Update Issue - Location_id (2 replies)
Patched supplied with facility to specify location_id on fulfilment.
The Shopify Update worked! Just so you know, I downloaded all of our test orders from our Shopify site and only a few of them had a value in the location_id. The field was blank for quite a few of the orders. So I built a formula and hardcoded the location id into it. When I did the Fulfillment update, I posted the location id for every order shipped - and it seemed to work without issue.
I’m having issues with the Shopify Order Fulfillment update. I’m posting the id field as the Shopify order id, and the detail id field as optional fields in the Sage 300 order header/details.
I’ve now created a job to update the Shopify site and change the order to Fulfilled. Per your example, I’m using the id (order header opt field) as the order_id field. I’ve also include the tracking #, tracking company (carrier), and I’m using my invoice # as the id field (I’m assuming this is a shipment id field) in the header.
On the line items, I’m only updating qty and using the line id field to update the id.
I'm getting an error when I refresh the Shopify Fulfillment screen: Error [ProtocolError]: [The remote server returned an error: (422) Unprocessable Entity.]. [{"error":"location_id" must be specified when creating fulfillments."}]
There is a location_id in the header section of the order fields that gets downloaded, but not every order has a value for this field. I also don’t see anything in the Shopify Fulfillment connector that allows me to post data to this field on the site. Is this due to the updates you did to my Shopify connector?
(Screenshots of error and shopify fulfillment attached.)