Update Buyer
Last updated
Was this helpful?
Last updated
Was this helpful?
Update the Buyer object. You can only update the logo and contact fields only.
Json representation of the buyer
curl -L \
--request PUT \
--url 'https://api.platform.softwareone.com/public/v1/accounts/buyers/{id}' \
--header 'Content-Type: multipart/form-data' \
--form 'buyer=[object Object]' \
--form 'logo=binary'
{
"id": "text",
"audit": {
"created": {
"at": "2025-04-01T21:41:54.635Z",
"by": "[Circular Reference]"
},
"updated": {
"at": "2025-04-01T21:41:54.635Z",
"by": "[Circular Reference]"
},
"activated": {
"at": "2025-04-01T21:41:54.635Z",
"by": "[Circular Reference]"
},
"unassigned": {
"at": "2025-04-01T21:41:54.635Z",
"by": "[Circular Reference]"
}
},
"$meta": {
"omitted": [
"text"
]
},
"href": "text",
"contact": {
"name": "text",
"firstName": "text",
"lastName": "text",
"email": "name@gmail.com",
"phone": {
"prefix": "text",
"number": "text"
},
"user": {
"id": "text",
"audit": "[Circular Reference]",
"$meta": {
"omitted": [
"text"
]
},
"email": "text",
"status": "text",
"phone": {
"prefix": "text",
"number": "text"
},
"firstName": "text",
"lastName": "text",
"lastLoginAt": "2025-04-01T21:41:54.635Z",
"settings": {
"cultureCode": "text",
"languageCode": "text"
},
"name": "text",
"accounts": "[Circular Reference]",
"currentAccount": "[Circular Reference]"
},
"type": "text"
},
"externalIds": {
"erpCompanyContact": "text",
"erpCustomer": "text",
"accountExternalId": "text"
},
"status": "Active",
"icon": "text",
"address": {
"addressLine1": "text",
"addressLine2": "text",
"postCode": "text",
"city": "text",
"state": "text",
"country": "text"
},
"taxId": "text",
"account": {
"id": "text",
"audit": {
"created": "[Circular Reference]",
"updated": "[Circular Reference]"
},
"$meta": {
"omitted": [
"text"
]
},
"href": "text",
"externalIds": {
"pyraTenantId": "123e4567-e89b-12d3-a456-426614174000"
},
"externalId": "text",
"externalName": "text",
"type": "Client",
"status": "Active",
"serviceLevel": "Express",
"address": {
"addressLine1": "text",
"addressLine2": "text",
"postCode": "text",
"city": "text",
"state": "text",
"country": "text"
},
"icon": "text",
"technicalSupportEmail": "name@gmail.com",
"website": "text",
"description": "text",
"name": "text",
"groups": [
"[Circular Reference]"
]
},
"name": "text",
"errors": [
{
"id": "text",
"message": "text",
"parameters": null
}
],
"sellers": [
{
"id": "text",
"audit": "[Circular Reference]",
"$meta": {
"omitted": [
"text"
]
},
"href": "text",
"externalId": "text",
"status": "Active",
"icon": "text",
"currencies": [
"text"
],
"address": {
"addressLine1": "text",
"addressLine2": "text",
"postCode": "text",
"city": "text",
"state": "text",
"country": "text"
},
"name": "text"
}
]
}
OK