FulfillmentOrders doesn't reflect changes on orders

Shopify Partner
4 0 0

Hi

When updating the order recipient address in the admin, I don't get the address updates reflected in the assignedFulfillmentOrders.destination object.

Does anyone has faced the same problem, any solution ?

Steps to reproduce :

  1. Creates an order without recipient address (with products that belongs to a fulfillment service with fulfillmentOrderOptIn = true)
  2. Do fulfillment request
  3. Edit the order address
  4. Cancel the fulfillment request
  5. Do another fulfillment request
  6. Run the graphql query below and see that the destination didn't update
  7.  

 

{
  shop {
    assignedFulfillmentOrders(first: 10, assignmentStatus: FULFILLMENT_REQUESTED) {
      edges {
        node {
          id
          destination{
            address1
            address2
            company
            countryCode
            lastName
            firstName
            city
            zip
            province
            email
            phone
          }
        }
      }
    }
  }
}

 

 

0 Likes