Hi,
Is it possible to see the Sales Attribution field for an order through the Order REST API? I know you can use user_id to identify who processes the order, but I don’t see anything regarding the Sales attribution.
Hi,
Is it possible to see the Sales Attribution field for an order through the Order REST API? I know you can use user_id to identify who processes the order, but I don’t see anything regarding the Sales attribution.
Hey @JustinW - our team was able to do some digging into this and at the moment this is not an available query field through REST. EDIT: That said, it is possible to retrieve this information through GraphQL. You can surface this info on a specific line item for an order like this for example:
{
orders (first:1, reverse:true) {
edges {
node {
id
lineItems (first:2) {
edges {
node {
id
staffMember {
name
}
}
}
}
}
}
}
}
Access to the User resource is only available for Plus or Advanced plan shops, however. There is a bit more information here. Hope this helps!
Al | Shopify Developer Support