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.

Headers

x-companyid
string

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

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"