Skip to main content
POST
Create Item Variation

Authorizations

Authorization
string
header
required

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

FlowAuthorization Code
Authorization URL
https://auth.jtl-cloud.com/oauth2/auth
Token URL
https://auth.jtl-cloud.com/oauth2/token

Headers

x-runas
string

The User-Id (int or uuid) on whose behalf the request is executed. Requires scope 'Application.RunAs'.

x-tenant-id
string<uuid>
required

The tenant ID for the target ERP instance.

Path Parameters

itemId
integer<int32>
required

The id of the item that the supplier belong to.

Body

application/json

The ItemVariation to create.

Model Class: CreateItemVariation

Name
string
required

Name of a variation in the default language.

Type
enum<integer>
required

The type of variation.

Available options:
0,
1,
2,
3,
4,
5
Translations
object[]

Different terms for a variation in the non-default languages.

Response

The created ItemVariation.

Model Class: ItemVariation

Id
integer<int32>
required

Unique ID to identify a variation.

ItemId
integer<int32>
required

Unique ID to identify an item.

Name
string
required

Name of a variation in the default language.

Type
enum<integer>
required

The type of variation.

Available options:
0,
1,
2,
3,
4,
5
Translations
object[]
required

Different terms for a variation in the non-default languages.