Inventory_items/update webhooks do not contain weight field

2024-07’s products/update webhooks are removing these fields (Product Variant Field Cleanup — Shopify developer changelog):

  • fulfillment_service
  • inventory_management
  • grams
  • weight
  • weight_unit
  • requires_shipping

But 2024-07’s inventory_items/update webhooks do not seem to contain these removed fields (Webhook - REST).

Could we please add these removed fields to the inventory_items webhooks, so that we need not make a separate GraphQL API call to retrieve these fields?

Can anyone from Shopify chime in? @Liam-Shopify

The changelog states “duplicates of the linked Inventory Item will be removed from the Product Variant model, input types, and webhooks”, but these to-be-removed fields (e.g. weight) are not already present in the inventory_items webhooks.

Hello @thl,

Here’s what we can let you know about these fields that were removed from the variant webhook:

  • fulfillment_service: Use the inventory_levels/connect, inventory_levels/disconnect, inventory_levels/update topics instead to see when an inventory item has for locations. This is because inventory item can be stocked by more than one fulfilment_service / merchant managed location(s).
  • inventory_management: Use the tracked field on the inventory_items topic instead.
  • grams: We do not plan to introduce this field as weight ones will cover this.
  • weight, weight_unit: Good call out. There is no equivalent right now. We will give this feedback to the team responsible and get this corrected.
  • requires_shipping: This is already present on the inventory_items topic.


Thank you!
C Bella

@cbella Thank you! Including weight and weight_unit in the inventory_items webhooks would be very helpful.

Hi @cbella ,

Has the team responsible provided a timeline for the correction (i.e. weight and weight_unit in inventory items webhooks)?

Would really appreciate the quick fix, as it would allow me to upgrade to 2024-07 and plan ahead.

Thanks.

@thl No, we don’t have dates as to when this will be added.
It is on the teams radar and they are aware of it.
I can update you if I hear back about any dates.

@cbella Ok thank you. Please update here when you have more information. I appreciate it!