# Inventory Generate Snapshot

**URL:** <https://community.shiphero.com/t/inventory-generate-snapshot/3637>\
**Category:** GraphQL API\
**Created:** [January 7, 2026, 4:15pm UTC](https://community.shiphero.com/t/inventory-generate-snapshot/3637 "2026-01-07T16:15:31Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![ajay](https://avatars.discourse-cdn.com/v4/letter/a/f4b2a3/32.png) [@ajay](https://community.shiphero.com/u/ajay)\
**Post date:** [January 7, 2026, 4:15pm UTC](https://community.shiphero.com/t/inventory-generate-snapshot/3637/1 "2026-01-07T16:15:31Z")

</div>

Hello ShipHero Team,

I am using the `inventory_generate_snapshot` GraphQL mutation, and the mutation executes successfully.

However, I am consistently seeing that **both `snapshot_url` and `post_url` are returned as `null` in the API response** , even though the snapshot is generated correctly and the **snapshot download URL is later delivered via email**.

**Mutation used:**

```auto
mutation {
  inventory_generate_snapshot(
    data: {
      customer_account_id: "QWNjdDo5MDQ1Nw=="
      warehouse_id: "V2FyZWhvEyNTQ3NA=="
      notification_email: "ajay@gmail.com"
      updated_from: "2025-12-31T00:00:00Z"
    }
  ) {
    request_id
    snapshot {
      snapshot_url
      post_url
      status
      created_at
    }
  }
}

```

**API Response :**

```auto
{
  "snapshot": {
    "post_url": null,
    "post_url_pre_check": true,
    "snapshot_url": null,
    "status": "InventorySnapshotStatus.enqueued",
    "created_at": "2026-01-07T13:30:39+00:00"
  }
}

```

Why are `snapshot_url` and `post_url` returned as `null` in the API response even after the snapshot is successfully generated?

Note: Customer id, warehouse id are not the originial, it just sample values.

Thank you,  
**Ajay**

---

<div class="post-metadata">

**Author:** ![Nathan-Rhodes](https://avatars.discourse-cdn.com/v4/letter/n/9dc877/32.png) [@Nathan-Rhodes](https://community.shiphero.com/u/Nathan-Rhodes)\
**Post date:** [January 7, 2026, 5:26pm UTC](https://community.shiphero.com/t/inventory-generate-snapshot/3637/2 "2026-01-07T17:26:17Z")

</div>

Hi ajay,

The snapshot is not fully generated at the instant the generate request is sent and so doesn’t yet have a valid URL. The URL is generated once the snapshot is complete and in the response you can see that the status is still enqueued. Even if the email seems to arrive nearly instantly there is still some amount of time between the generate request response and the snapshot generating. You will need to retrieve the URL by using the inventory\_snapshot query once the generation has been completed.

Thanks,

---

<div class="post-metadata">

**Author:** ![ajay](https://avatars.discourse-cdn.com/v4/letter/a/f4b2a3/32.png) [@ajay](https://community.shiphero.com/u/ajay)\
**Post date:** [January 7, 2026, 5:36pm UTC](https://community.shiphero.com/t/inventory-generate-snapshot/3637/3 "2026-01-07T17:36:14Z")

</div>

Got it @Nathan-Rhodes , Thanks!

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex020/uploads/shiphero/original/2X/8/83f2a5ec5d7908b156cb6999baa4c753fadfa85d.svg) [@system](https://community.shiphero.com/u/system)\
**Post date:** [April 7, 2026, 5:36pm UTC](https://community.shiphero.com/t/inventory-generate-snapshot/3637/4 "2026-04-07T17:36:47Z")

</div>

Closed on April 7, 2026, 5:36pm UTC

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
