Register a buyer

Allows a user to register a buyer, which may result in creating a new buyer (201 Created) or updating an existing buyer (200 OK), depending on identity matching.

If a new buyer is created:

  • Values for name, phone, and email found in the request payload will automatically create a contact and set that contactID as the primaryContactID. The address on this contact will not be populated and must be updated via the appropriate endpoint.
  • Status and substatus are both set to "Active".

If an existing buyer is updated:

  • See "Update a buyer" for additional details on updating.
  • Partial updates are not supported. The user of this API must supply all buyer fields in order to avoid omitted fields being deleted.

Upon success, the details of the created or updated buyer will be returned.

Log in to see full request history
Body Params

Buyer

activeAuthorizedThirdParties
array of objects

Subresource of buyer and acted on with its own set of endpoints

activeAuthorizedThirdParties
contacts
object
required

BuyerContactMap represents a mapping of buyer contact IDs to contacts

date-time
required

The timestamp value formatted per RFC3339. This does not allow nulls.

employment
object

Optional. Employment represents the buyer's employment.

identity
object
required

Identity represents the identity of a buyer

string
required
length ≥ 2

The two language code as defined in ISO 639-1 along with subtags tag if applicable.

string

Status represents buyer status as string. Options available will depend
on tenant level configurations

string

SubStatus represents buyer sub status as constant string. Options
available will depend on status value and tenant level configurations

uuid
required

ID of the tenant associated with this buyer.

boolean

Indicates if the buyer is a member of the armed forces.

bankruptcy
object

Bankruptcy represents a buyer's bankruptcy information

boolean

Indicates if the buyer has preference for their data not to be shared

primaryContact
object

BuyerContact represents a set of contact information.

date-time

The timestamp value formatted per RFC3339. This does not allow nulls.

date-time
required

The timestamp value formatted per RFC3339. This does not allow nulls.

Responses

Language
Credentials
URL
Click Try It! to start a request and see the response here! Or choose an example:
application/json
text/plain