Create merchant

View as Markdown

Provision a merchant; idempotent on domain, safe to retry.

Authentication

x-api-keystring
API Key authentication via header

Request

This endpoint expects an object.
domainstringRequired
The merchant's storefront domain
namestring or nullOptional

Merchant display name (inferred when omitted)

Response

Successful Response
customer_idstring
Channel3 customer id for this merchant
createdboolean
False when the domain already resolved to an existing merchant
namestring or null

Errors

401
Unauthorized Error
403
Forbidden Error
422
Unprocessable Entity Error
500
Internal Server Error