curl --request PATCH \
--url https://api.serverside.com/v1/organization \
--header 'X-API-KEY: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"name": "<string>",
"vatNumber": "<string>",
"address": {
"address1": "<string>",
"address2": "<string>",
"city": "<string>",
"region": "<string>",
"postalCode": "<string>",
"countryCode": "<string>"
},
"contact": {
"emailAddress": "ops@example.com",
"phoneNumber": "<string>"
}
}
'
{
"success": true,
"message": "<string>",
"exception": "<string>",
"code": "<string>",
"errors": {},
"traceId": "<string>",
"data": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"createdAt": "2026-01-15T09:30:00Z",
"name": "<string>",
"members": [
{
"userId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"joinedAt": "2026-01-15T09:30:00Z",
"user": {
"email": "<string>",
"firstName": "<string>",
"lastName": "<string>",
"twoFactorEnabled": true
},
"role": {
"name": "<string>"
},
"roleId": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
],
"currency": "<string>",
"vatNumber": "<string>",
"billingAddress": {
"address1": "<string>",
"address2": "<string>",
"city": "<string>",
"region": "<string>",
"postalCode": "<string>",
"countryCode": "<string>"
},
"billingContact": {
"emailAddress": "ops@example.com",
"phoneNumber": "<string>"
},
"paymentMethods": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"provider": "STRIPE",
"kind": "CARD",
"creditCardMeta": {
"last4": "<string>",
"brand": "<string>",
"expMonth": 123,
"expYear": 123
},
"walletMeta": {
"brand": "<string>",
"identifier": "<string>"
},
"primary": true
}
]
},
"pagination": {
"totalRecords": 123,
"currentPage": 123,
"pageSize": 123,
"totalPages": 123
}
}