Update Payout Finance Settings
PUT/api/shopify/:integrationInstance/payout-finance-settings
Updates the payout finance settings for the integration instance. All fields are optional; omitted fields keep their current values, and nullable fields can be set to null to clear them. Returns the resolved settings after the update.
Authentication: Requires Bearer token.
Request body:
- fallback_revenue_nominal_code_id (optional, nullable, integer): account for unmapped revenue lines; must reference an existing general-ledger account.
- fallback_expense_nominal_code_id (optional, nullable, integer): account for unmapped expense lines; must reference an existing general-ledger account.
- clearing_nominal_code_id (optional, nullable, integer): clearing account that payout documents settle against; must reference an existing general-ledger account.
- accounting_sync_mode (optional, string): one of per_order, per_payout.
- payout_accounting_start_date (optional, nullable, date): payouts dated before this are not posted to accounting.
Request
Responses
- 200
- 401
- 403
- 404
- 422
- 429
OK
Response Headers
Unauthenticated — the bearer token is missing, revoked, expired, or malformed. Never retry automatically; fix the credential. See the Errors guide.
Forbidden — the token lacks a required scope, the endpoint is not available to API tokens, or the user behind the token lacks the permission. A human must adjust the token scopes or user permissions; do not retry.
Not found — no record with the given identifier (or the route does not exist). Verify the ID before retrying.
Unprocessable Entity
Response Headers
Rate limited — platform limit is 1,000 requests/min; individual tokens may carry lower limits. Honor the Retry-After header before retrying. See the Rate Limits guide.