Skip to main content
PUT
Save Shop Currencies

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Headers

x-tenant-id
string<uuid>
required

The tenant ID for the target ERP instance.

Path Parameters

salesChannelId
string
required

Sales channel id of the JTL-Wawi-managed online shop whose currencies are replaced. Opaque, tenant-local composite identifier (not a UUID); use the value returned by a sales channel listing.

Body

application/json

Request model for SaveShopCurrencies command endpoint. Route parameters bind from the route, query parameters from the query string, everything else from the body.

currencies
object[]
required

The complete desired set of currencies for the shop. Any currency currently assigned but not contained in this list is unassigned. Must contain at least one entry, exactly one of which is marked as the default.

Response

Successfully replaced the shop currencies. Returns the resulting assignments with their canonical codes and resolved display names.

Replaces the complete set of currencies assigned to a shop. The request describes the desired state: listed currencies are assigned, all others are unassigned. The call is idempotent, so it is safe to retry. The list must not be empty, and exactly one currency must be marked as default. Returns the resulting assignments, with each code normalized to its canonical form (uppercase for ISO codes, lowercase for x- codes) and its display name resolved. Concurrency: last write wins. The endpoint does not support "If-Match" or another concurrency check, so concurrent calls for the same shop overwrite each other without a conflict error. - Response

currencies
object[]
required

The persisted currency assignments, in the order submitted, with each code normalized to its canonical form and its display name resolved from JTL-Wawi's currency master data.