Skip to navigation

Update partner configuration

Update partner configuration.

Credential: Partner secret

Before you call

  • A server-side partner secret for the owning partner. Do not send an Origin header.

Currency IDs must be globally enabled. blockedCurrencyIds replaces the whole list. An omitted list preserves the current list. The default currency cannot be blocked, including by the stored list when only the default changes. Invalid currency choices return 400 VALIDATION_ERROR.

Confirm with Sinbad that this endpoint is enabled in your environment.

Errors

StatusCodeWhat to do
400VALIDATION_ERRORCorrect the fields reported in details before retrying.
401UNAUTHENTICATEDCreate a new customer session or use a valid server credential.
403FORBIDDENCheck credential ownership, integration and the supplied Origin.
409CONFLICTRead the current state again before you prepare or retry.
503UPSTREAM_ERRORRetry with backoff; preserve the same idempotency key for a repeated mutation.

Authentication

AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

Request

This endpoint expects an object.
defaultCurrencyIdstring or nullOptional
defaultLocalestringOptional
blockedCurrencyIdslist of stringsOptional

Response

Updated configuration
partnerIdstring
defaultLocalestring
blockedCurrencyIdslist of strings
defaultCurrencyIdstringOptional

Errors

400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
409
Conflict Error
503
Service Unavailable Error