Importing historical orders via REST API works but showing as "On its way" in customer dashboard

Importing historical orders via REST API works but showing as "On its way" in customer dashboard

cfx
Shopify Partner
31 2 15

As mentioned I'm using the REST API to create some historical orders. It seems that no matter what I try, when I log in as the customer that the orders are associated with their dashboard does say that the order is fully paid, however on the customer orders page it lists the order as "On its way" with a truck icon. When clicking into the order, on the top left, the status says "On its way". Perhaps most frustrating is that in the admin order grid, the "Delivery status" column shows the order as "Delivered." This is the data I'm using to create the order:

 

 

{
  "order": {
    "billing_address": {
      "first_name": "Test",
      "last_name": "Customer",
      "address1": "123 Test Address",
      "city": "Testville",
      "country": "United States",
      "country_code": "US",
      "province": "New York",
      "province_code": "NY",
      "zip": "10021"
    },
    "shipping_address": {
      "first_name": "Test",
      "last_name": "Customer",
      "address1": "123 Test Address",
      "city": "Testville",
      "country": "United States",
      "country_code": "US",
      "province": "New York",
      "province_code": "NY",
      "zip": "10021"
    },
    "created_at": "2024-03-24T22:22:22-05:00",
    "name": "#00001337",
    "customer": {
      "email": "email@address.com"
    },
    "fulfillment_status": "fulfilled",
    "fulfillments": [{
      "location_id": 72587542745,
      "shipment_status": "delivered",
      "status": "success"
    }],
    "line_items": [{
      "variant_id": 45157337432281,
      "quantity": 1
    }, {
      "variant_id": 45157337497817,
      "quantity": 2
    }]
  }
}

 

 

Any help getting this to display as delivered in the customer's dashboard would be great (or no delivery details at all?) because the orders I'll be importing go several years back and importing detailed shipping information is unnecessary. Tagging @Liam because he's helped with the <code>Orders</code> API before. Thank you!
Replies 0 (0)