Manually link a (channel, external_id) pair to a customer
POST /customers/{uuid}/links
POST
/customers/{uuid}/links
Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ” uuid
required
string format: uuid
Request Body
Section titled “Request Body ”object
channel
required
string
external_id
required
string
Responses
Section titled “ Responses ”Link created (or re-activated).
object
customer_uuid
required
string format: uuid
linked_via
required
string
status
required
string
Channel and external_id are required.
object
error
required
object
code
required
string
Example
not_found message
required
string
details
request_id
required
string
Example
req_9f8e7d6c5b4a3210Missing or invalid API key or OAuth credential.
object
error
required
object
code
required
string
Example
not_found message
required
string
details
request_id
required
string
Example
req_9f8e7d6c5b4a3210The credential lacks the loyalty:write scope — a publishable key (publishable_key_forbidden), or an OAuth token, which is always read-only in v1 (insufficient_scope).
object
error
required
object
code
required
string
Example
not_found message
required
string
details
request_id
required
string
Example
req_9f8e7d6c5b4a3210No such customer in this tenant.
object
error
required
object
code
required
string
Example
not_found message
required
string
details
request_id
required
string
Example
req_9f8e7d6c5b4a3210