Have your say in Community Polls: What was/is your greatest motivation to start your own business?

Can the Storefront API fetch order fulfillment dates for specific products?

Can the Storefront API fetch order fulfillment dates for specific products?

BrainStation23
Shopify Partner
413 62 60
This is my query for orders
const ordersQuery = gql`
                query {
                  customer(customerAccessToken: "${accessToken}") {
                    orders(first: 250, sortKey: PROCESSED_AT, reverse: ${sort}) {
                      edges {
                        node {
                          id
                          name
                         
                          fulfillmentStatus

                          successfulFulfillments (first: 250) {
                            
                            fulfillmentLineItems(first: 250) {
                                edges {
                                    node {
                                    quantity
                                    lineItem {
                                        variant {
                                        product{
                                            id
                                        }
                                       
                                        }
                                    }
                                    }
                                }
                            }

                          }
                          lineItems(first: 250) {
                            edges {
                              node {
                                title
                                quantity
                                currentQuantity
                              
                                variant {

                                    id
                                    title
                                    weight
                                    weightUnit

                                    image{
                                        src
                                        altText
                                    }
                                    price {
                                        amount
                                        currencyCode
                                       }
                                    product{
                                           id
                                           title
                                           vendor
                                           featuredImage{
                                               src
                                               altText
                                             }
                                            description
                                            metafield(namespace: "custom",key: "bucket") {
                                                       key
                                                       value
                                                       namespace
                                                  }
                                       }
                                       unitPrice {
                                        amount
                                        currencyCode
                                       }
                                }
                                originalTotalPrice{
                                        amount
                                        currencyCode
                                       }
                              }
                            }
                          }
                        }
                      }
                    }
                  }
                }
              `;




Now, we want order fulfillment date.
Suppose in one order we have 3 products. Product #1 is fulfilled, now we need the fulfillment date of the product.
Is it possible with the above query? Or else what can be the alternative solution for this? How to find order fulfillment date?
If more clarification needs, please let us know.

Thanks in advance.

Brain Station 23 PLC (Mail: js.sbu@brainstation-23.com)
- Was your question answered? Mark it as an Accepted Solution
- Did the solution not address your concern? We kindly request that share or mail your store URL with us this will enable us to collaborate more closely.
- Explore our Shopify public apps
Replies 0 (0)