Skip to content
Coritan Docs

Organization API: Organizations & Members: Customer link

The 3 Organization API operations for customer link.

View as Markdown

Part of Organizations & Members.

Method Path Summary
GET /api/v1/orgs/{org_slug}/members/{member_id}/customer-link The storefront customer account this member is on, if any
PUT /api/v1/orgs/{org_slug}/members/{member_id}/customer-link Set member customer link
DELETE /api/v1/orgs/{org_slug}/members/{member_id}/customer-link Make the member console-only; the customer account itself is untouched
Section titled The storefront customer account this member is on, if any

GET /api/v1/orgs/{org_slug}/members/{member_id}/customer-link

The storefront customer account this member is on, if any.

Name In Type Required
member_id path integer yes
org_slug path string yes
Status Meaning
200 Success.
422 The request is not valid. detail lists each problem.

PUT /api/v1/orgs/{org_slug}/members/{member_id}/customer-link

Attach an existing customer account to the member (existing + customer_id) or make one with their email (create).

Name In Type Required
member_id path integer yes
org_slug path string yes

application/json (required)

Field Type Required
mode string no
customer_id integer or null no
Status Meaning
200 Success.
422 The request is not valid. detail lists each problem.
Section titled Make the member console-only; the customer account itself is untouched

DELETE /api/v1/orgs/{org_slug}/members/{member_id}/customer-link

Make the member console-only; the customer account itself is untouched.

Name In Type Required
member_id path integer yes
org_slug path string yes
Status Meaning
200 Success.
422 The request is not valid. detail lists each problem.