Update external service settings

Request

Updates external service settings.

Security
SecretApiKey or JWT
Bodyapplication/jsonrequired
quickBooksOnlineobject(QuickBooksOnlineExternalServiceSettings)

Settings for QuickBooks Online.

curl -i -X PUT \
  https://www.rebilly.com/_mock/catalog/all/external-services-settings \
  -H 'Content-Type: application/json' \
  -H 'REB-APIKEY: YOUR_API_KEY_HERE' \
  -d '{
    "quickBooksOnline": {
      "customer": {
        "sync": "manually",
        "displayName": "id"
      },
      "invoice": {
        "sync": "manually",
        "syncZeroInvoices": false,
        "unearnedRevenueAccountId": "jrn_acc_01H32J1C97KWGRCKF1E1JY0QG8",
        "taxesAccountId": "jrn_acc_01H32J1KGXSRDH0K8Q7YYA552T",
        "discountsAccountId": "jrn_acc_01H32J1KGXSRDH0K8Q7YYA552T",
        "department": "jrn_acc_01H32J1KGXSRDH0K8Q7YYA552T",
        "itemName": "string",
        "itemDescription": "string",
        "itemSku": "string",
        "itemLineDescription": "string",
        "taxName": "string",
        "taxDescription": "string",
        "taxSku": "string",
        "taxLineDescription": "string"
      },
      "transaction": {
        "syncPayments": "manually",
        "syncRefundReceipts": "manually",
        "depositAccountId": "jrn_acc_01H32J1C97KWGRCKF1E1JY0QG8",
        "department": "jrn_acc_01H32J1KGXSRDH0K8Q7YYA552T"
      },
      "journalEntry": {
        "sync": "manually"
      }
    }
  }'

Responses

External service settings updated.

Headers
X-RateLimit-Limitinteger

Total number of rate limit tokens for this request within a rate limit period. For more information, see Rate limits.

Example:3600
X-RateLimit-Remaininginteger

Remaining number of rate limit tokens for this request within the rate limit period. For example, in the sandbox environment, rate limits for non-GET endpoints are set at 3000 requests per 10 minutes.

Example:3600
Bodyapplication/json
quickBooksOnlineobject(QuickBooksOnlineExternalServiceSettings)

Settings for QuickBooks Online.

Response
{ "quickBooksOnline": { "customer": {}, "invoice": {}, "transaction": {}, "journalEntry": {} } }