Skip to main content
POST
Create ownership

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
alignment_id
string<uuid>
required

The team the ownership belongs to.

The owning rep's link in the team's hierarchy.

customer_id
integer

Exactly one of customer_id, company_id, or location_id is required.

company_id
integer

Exactly one of customer_id, company_id, or location_id is required.

location_id
integer

Exactly one of customer_id, company_id, or location_id is required.

Response

200 - application/json
id
string<uuid>
required
read-only
alignment_id
string<uuid>
required

The team the ownership belongs to.

The owning rep's link in the team's hierarchy.

customer_id
integer | null
required
read-only

The numeric Shopify ID of the owned customer.

company_id
integer | null
required
read-only

The numeric Shopify ID of the owned company.

location_id
integer | null
required
read-only

The numeric Shopify ID of the owned company location.