Skip to main content
POST
Create Buyer Profile

Authorizations

X-API-KEY
string
header
required

Client-side API key (ck_...) with the agent-checkouts.* scopes.

Authorization
string
header
required

JWT identifying the end user, issued by an external auth provider your project trusts.

Body

application/json
shipping
object
required

Global shipping address. administrativeAreaCode and postalCode are nullable for global-address compatibility.

label
string

Optional human-readable label for the profile.

Required string length: 1 - 120
name
object

Optional buyer name. Both parts are optional.

contact
object

Optional buyer contact details.

Response

The buyer profile was created.

The full buyer profile, returned by create, get, list items, and update.

id
string<uuid>
required

The buyer profile id. Pass it as buyerProfileId when creating a checkout.

shipping
object
required

Global shipping address. administrativeAreaCode and postalCode are nullable for global-address compatibility.

createdAt
string<date-time>
required
updatedAt
string<date-time>
required
label
string

Optional human-readable label for the profile.

Required string length: 1 - 120
name
object

Optional buyer name. Both parts are optional.

contact
object

Optional buyer contact details.