Skip to main content
POST
Adds a new variation (e.g., color, size) to an existing item. Variations allow customers to select different product options.

Authorizations

Authorization
string
header
required

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

Scopes

items.write
oauth2-authorization-code

Grants permission to create and modify item data.

items.write
oauth2-client-credentials

Grants permission to create and modify item data.

Headers

x-companyid
string

The Company-Id (int or uuid) of the company on whose behalf the request is executed.

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

itemId
string<uuid>
required
Example:

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

Body

application/json

Request parameters

Adds a new variation (e.g., color, size) to an existing item. Variations allow customers to select different product options. - Request

variation
object
required

The variation to add including type (selectbox, radio, etc.), descriptions in multiple languages, and optional variation values.

Response

Variation was successfully added to the item.

Adds a new variation (e.g., color, size) to an existing item. Variations allow customers to select different product options. - Response

variationId
string<uuid>
required

Unique ID of the newly added variation.

Example:

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