Country where the organization is located, in ISO Alpha-2 code format.
Security
SecretApiKey or JWT
Example:"America/New_York"
- 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}
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
}
]
}'Headers
Maximum number of requests available at one time for this rate limit. For more information, see Rate limits.
Example:500
Number of requests still available for this rate limit. For more information, see Rate limits.
Example:499
Unique organization identifier. An organization is an entity that represents a company. For more information, see Obtain an organization ID.
Example:"org_0YVDM8RC7GDADADSBSMW124JA8"
Country where the organization is located, in ISO Alpha-2 code format.
Example:"America/New_York"
Example:"USD"
Response
{ "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": { … }, "security": { … }, "annualComplianceScreening": { … }, "payoutRequestAllocationOrder": [ … ] }, "taxNumbers": [ { … } ], "features": [ { … } ], "createdTime": "2019-08-24T14:15:22Z", "updatedTime": "2019-08-24T14:15:22Z", "_links": [ { … } ] }