Updates an organization with a specified organization ID.
Update Organization Request.
Country where the organization is located, in ISO Alpha-2 code format.
Tax label of the organization. This information is displayed on the invoice.
Specifies the time zone to display on an invoice. UTC is used by default.
- Mock serverhttps://www.rebilly.com/_mock/catalog/all/organizations/{id}
- Sandbox serverhttps://api-sandbox.rebilly.com/organizations/{organizationId}/organizations/{id}
- Live serverhttps://api.rebilly.com/organizations/{organizationId}/organizations/{id}
- SecretApiKey
- JWT
curl -i -X PATCH \
'https://www.rebilly.com/_mock/catalog/all/organizations/{id}' \
-H 'Content-Type: application/json' \
-H 'REB-APIKEY: YOUR_API_KEY_HERE' \
-d '{
"name": "string",
"address": "string",
"address2": "string",
"city": "string",
"region": "string",
"country": "string",
"postalCode": "string",
"phoneNumbers": [
{
"label": "main",
"value": "1-512-777-0269",
"primary": true
}
],
"emails": [
{
"label": "main",
"value": "rebilly@example.com",
"primary": true
}
],
"taxDescriptor": "string",
"invoiceTimeZone": "America/New_York",
"questionnaire": {
"role": "string",
"monthlyTransactions": "string",
"products": [
"string"
],
"integrationType": "string",
"launchTiming": "string"
},
"settings": {
"defaultTaxCalculator": {
"type": "taxjar",
"rate": 0
},
"billing": {
"pendingOrderTtl": "P7D",
"orderDelinquencyPeriod": "P7D",
"subtractRecurringDiscountsFromMrr": true,
"subtractOneTimeDiscountsFromMrr": true
},
"taxLocations": [
{
"address": "string",
"city": "string",
"region": "string",
"country": "string",
"postalCode": "string"
}
],
"notifications": {
"notifyOnUserAccessChanges": false,
"notifyOnApiKeyAccessChanges": false,
"notificationEmailAddresses": []
},
"annualComplianceScreening": {
"enabled": false,
"monthDay": "02-15"
},
"payoutRequestAllocationOrder": [
"payment-card",
"alternative-payment-methods",
"selected-payment-instrument"
]
},
"taxNumbers": [
{
"type": "eu-vat",
"value": "GB980780684",
"isDefault": true
}
]
}'Organization updated.
Total number of rate limit tokens for this request within a rate limit period. For more information, see Rate limits.
Unique organization identifier. An organization is an entity that represents a company. For more information, see Obtain an organization ID.
Country where the organization is located, in ISO Alpha-2 code format.
Tax label of the organization. This information is displayed on the invoice.
Specifies the time zone to display on an invoice. UTC is used by default.
Currency to use for conversion in reports. This value cannot be changed.
Date and time when the resource is created. This value is set automatically when the resource is created.
Date and time when the resource is updated. This value is set automatically when the resource is updated.
{ "id": "org_0YVDM8RC7GDADADSBSMW124JA8", "name": "string", "address": "string", "address2": "string", "city": "string", "region": "string", "country": "string", "postalCode": "string", "phoneNumbers": [ { … } ], "emails": [ { … } ], "taxDescriptor": "string", "invoiceTimeZone": "America/New_York", "reportCurrency": "USD", "questionnaire": { "role": "string", "monthlyTransactions": "string", "products": [ … ], "integrationType": "string", "launchTiming": "string" }, "settings": { "defaultTaxCalculator": { … }, "billing": { … }, "taxLocations": [ … ], "notifications": { … }, "annualComplianceScreening": { … }, "payoutRequestAllocationOrder": [ … ] }, "taxNumbers": [ { … } ], "features": [ { … } ], "createdTime": "2019-08-24T14:15:22Z", "updatedTime": "2019-08-24T14:15:22Z", "_links": [ { … } ] }