Skip to main content
PATCH
Save Shop Base Data

Authorizations

Authorization
string
header
required

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

Headers

Idempotency-Key
string

Optional, client-generated key for deduplicating repeated write requests. A repeated request with the same key returns the originally recorded result instead of executing the effect again.

Required string length: 1 - 255
x-tenant-id
string<uuid>
required

The tenant ID for the target ERP instance.

Path Parameters

salesChannelId
string
required

Sales channel id of the Wawi-managed shop whose base data is updated (composite id, ADR-69), tenant-local, not a UUID.

Body

application/json

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

name
string

Name of the shop. Omit to leave unchanged.

url
string

URL of the shop. Omit to leave unchanged.

isActive
boolean

Shop is active. Omit to leave unchanged.

isLocked
boolean

Shop is locked. Omit to leave unchanged.

companyId
string<uuid>

ID of the company the shop belongs to. Must reference an existing company. Omit to leave unchanged.

Example:

"b45f6432-2462-4c6f-b00f-1d9d01000000"

rootCategoryId
string<uuid>

ID of the shop's root category. Must reference an existing category. Omit to leave unchanged.

Example:

"b45f6432-2462-4c6f-b00f-1d9d01000000"

orderAsOffer
boolean

Orders imported from this shop are created as offers rather than as sales orders. Omit to leave unchanged.

useShopOrderNumber
boolean

The shop's own order number is used instead of a Wawi-generated one. Omit to leave unchanged.

Response

The shop's base data was updated.