What an ownership controls
Commission. When an order is commissioned, each commission program on the team picks who is paid, in this order:- A commission override on the order’s customer, company, or location.
- An ownership of the order’s customer, company, or location in the program’s team.
- The territory that contains the order’s shipping postal code.
origin: ownership on the commissions endpoint.
Account priority. An order can carry a customer, a company, and a location at once. The Account Priorities
setting in Velocity ranks them, and the highest-ranked one with an ownership in the team wins.
Rep Portal visibility. The owner and the managers above them in the team can see the owned customer, company,
or location in the Rep Portal, along with its addresses and orders. Reps with permission to view all accounts see it
regardless.
Requires a commission program. A team with no commission program has nothing to pay, so its ownerships have no
effect on commission or visibility until a program is added.
Deleting an ownership returns the resource to territory matching for that team and removes the visibility it
granted. Velocity can also create ownerships itself when the Automatic Ownership setting is on: reps then own the
customers, companies, and locations they onboard in the Rep Portal.
Creating an ownership
Creating one takes three IDs:1
Find the team
Search teams by name and note the
id. rep_levels is ordered from the top of the hierarchy down; the last
entry is the lowest level, and only rep links on that level can own resources.Request
Response
2
Find the rep
Skip this step if you already know which rep should own the resource. Otherwise search reps and note the
id.
alignments lists the teams the rep belongs to.Request
Response
3
Find the rep link
Retrieve the team hierarchy. It is a tree of rep links, each with a Here Jane’s rep link is
rep and children. Walk the tree to
the link whose rep.id matches your rep and whose rep_level_id is the team’s lowest level. Its id is the
rep_link_id.A rep link is not a rep. The same rep has a different link in every team they belong to.Request
Response
7f8a9b0c-1d2e-4f3a-8b4c-5d6e7f8a9b0c.4
Create the ownership
Send the team, the rep link, and exactly one of
customer_id, company_id, or location_id. Use the numeric
part of the Shopify GID: gid://shopify/Customer/6417313005602 is 6417313005602.Request
Response
Changing or removing an owner
A resource has one owner per team, so creating a second ownership for the same resource and team returns400.
To reassign, list the ownerships for the resource,
delete the existing one, then create the new one.
List
Delete

