---
title: >-
  Sale attribution edits now can be subscribed via Orders/updated webhook -
  Shopify developer changelog
description: >-
  Shopify’s developer changelog documents all changes to Shopify’s platform.
  Find the latest news and learn about new platform opportunities.
source_url:
  html: >-
    https://shopify.dev/changelog/sale-attribution-edits-now-can-be-subscribed-via-orders-updated-webhook
  md: >-
    https://shopify.dev/changelog/sale-attribution-edits-now-can-be-subscribed-via-orders-updated-webhook.md
metadata:
  effectiveApiVersion: 2023-07
  affectedApi: []
  primaryTag:
    displayName: API
    handle: api
  secondaryTag:
    displayName: New
    handle: new
  indicatesActionRequired: false
  createdAt: '2023-04-13T21:35:18-04:00'
  postedAt: '2023-04-20T00:00:00-04:00'
  updatedAt: '2024-12-13T17:24:37-05:00'
  effectiveAt: '2023-04-20T00:00:00-04:00'
---

April 20, 2023

Tags:

* API
* 2023-07

# Sale attribution edits now can be subscribed via Orders/updated webhook

As of API version **2023-07**, you can now subscribe to the **orders/updated** webhook to be notified of any sale attribution edits to an order. When a staff attribution edit is made on POS, the **orders/updated** webhook will fire. The payload will include a new **attributed\_staffs** field under **line\_items**. This new field will reflect the new attributions on the order after the edit.

> "line\_items": \[ { "id":111, "attributed\_staffs": \[ { "id": "gid://shopify/StaffMember/123", "quantity": 1 } ] } ]

A user can edit the staff attributions on multiple line items at once on POS. In this case, the webhook payload could include multiple updated line items with different attributions applied to them.

Note that the payload in the **orders/create** webhook will also be updated to include attributed\_staffs.

Learn more about webhook on [Shopify.dev](https://shopify.dev/docs/api/admin-rest/unstable/resources/webhook#event-topics).
