Retrieve Buyer Details
GET/buyers/{buyer-id}
Retrieves the Buyer details.
Request
Path Parameters
Possible values: <= 255 characters
Unique identifier of the customer in your system.
Responses
- 200
OK
- application/json
- Schema
- Example (from schema)
Schema
buyer
object
buyerDetails
object
required
Possible values: <= 30 characters
Sarah
Possible values: <= 40 characters
Fon Schwartz
Possible values: <= 100 characters
LLC Bean
Possible values: <= 5 characters
en-US
Possible values: <= 18 characters
972528882468
Possible values: <= 18 characters
972528882468
Possible values: <= 18 characters
972528882468
The user’s national ID number.
Possible values: <= 25 characters
221685479
billingAddress
object
required
Possible values: <= 60 characters
Possible values: <= 60 characters
Possible values: <= 60 characters
Possible values: <= 10 characters
Possible values: <= 30 characters
Possible values: <= 6 characters
AZ
Possible values: >= 2 characters
and <= 2 characters
DE
Possible values: <= 18 characters
972528882468
false
shippingAddress
object
false
Possible values: <= 60 characters
Possible values: <= 60 characters
Possible values: <= 60 characters
Possible values: <= 10 characters
Possible values: <= 30 characters
Possible values: <= 6 characters
AZ
Possible values: >= 2 characters
and <= 2 characters
DE
Possible values: <= 30 characters
Sarah
Possible values: <= 40 characters
Fon Schwartz
Possible values: <= 18 characters
972528882468
Possible values: <= 18 characters
972528882468
result
object
required
Possible values: [success
, error
]
errors
object
If an error occurred on the request side, an error code is returned in this parameter.
Possible values: <= 11 characters
7000.1000
If an error occurred on the request side, then an error reason is returned in this parameter.
Possible values: <= 400 characters
Unexpected error
{
"buyer": {
"buyerId": "[email protected]",
"buyerDetails": {
"firstName": "Sarah",
"lastName": "Fon Schwartz",
"companyName": "LLC Bean",
"locale": "en-US",
"dateOfBirth": "2024-07-29",
"email": "[email protected]",
"phone": 972528882468,
"phone2": 972528882468,
"workPhone": 972528882468,
"nationalIdentificationNumber": "221685479",
"billingAddress": {
"address": "string",
"addressLine2": "string",
"addressLine3": "string",
"zip": "string",
"city": "string",
"state": "AZ",
"countryCode": "DE",
"phone": 972528882468,
"addressMatch": false
},
"shippingAddress": {
"sameAsBilling": false,
"address": "string",
"addressLine2": "string",
"addressLine3": "string",
"zip": "string",
"city": "string",
"state": "AZ",
"countryCode": "DE",
"firstName": "Sarah",
"lastName": "Fon Schwartz",
"phone": 972528882468,
"phone2": 972528882468
}
}
},
"result": {
"status": "success",
"errors": {
"code": "7000.1000",
"reason": "Unexpected error"
}
}
}