Skip to main content
PUT
Set Scx Item Attribute Values

Authorizations

Authorization
string
header
required

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

Scopes

scxoffers.write
oauth2-authorization-code

Grants permission to write SCX offer data, such as refreshing attribute definitions.

scxoffers.write
oauth2-client-credentials

Grants permission to write SCX offer data, such as refreshing attribute definitions.

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 SCX seller/account. Opaque, tenant-local composite identifier (not a UUID); use the id returned by "GET /v2/sales-channels".

itemId
string<uuid>
required

ID of the item. Id of an item.

Example:

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

Body

application/json

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

attributeValues
object[]
required

The complete list of attribute values with an attribute code that the item has afterwards. Required; an empty list deletes all of them.

Response

The attribute values were replaced. Returns the stored values with an attribute code of the item; a value whose entry sent a client id carries it.

attributeValues
object[]
required

The attribute values with an attribute code that the item has after the call, read after the change was saved.