Auto-fulfill GraphQL API

Hi,

I’m using the GraphQL API to retrieve information for a specific SKU. Specifically, I’m trying to access the dropship and auto-fulfill states of a product.

Here’s the query I’m currently using:

query {
  product(sku: "{sku}") {
    request_id
    complexity
    data {
      id
      sku
      name
      dropship
    }
  }
}

This successfully returns the dropship field, but I’m not sure how to retrieve the auto-fulfill information. Do you know how I can modify the query to include that?

Thanks in advance for your help!

Hi carla,

Unfortunately there is not currently a field to pull the Auto-fulfill flag via the API. Depending on your configuration and use case you may be able to pursue a workaround using order tags.

Just wanted to share a workaround I used since I was also trying to use the auto_fulfill field via the GraphQL API, but found out it’s not supported.

If you go to Inventory > Bulk Edit in ShipHero, you can export all your products as a CSV. In that file, you’ll see a column called Auto Fulfill, where values are either 0 or 1.

You can update that field for the SKUs you want to auto-fulfill, then re-upload the same file in the same Bulk Edit section to apply the changes.

Not sure if that’s exactly what you’re looking for, but it worked for me — hope it helps you too!