Skip to main content
POST
/
v1
/
items
/
{itemId}
/
properties
Create Item Property
curl --request POST \
  --url https://api.jtl-cloud.com/erp/v1/items/{itemId}/properties \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --header 'x-tenant-id: <x-tenant-id>' \
  --data '
{
  "PropertyValueId": 123
}
'
{
  "PropertyId": 123,
  "PropertyValueId": 123
}

Authorizations

Authorization
string
header
required

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

Headers

x-tenant-id
string<uuid>
required

The tenant ID for the target ERP instance.

x-runas
string

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

x-companyid
string

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

Path Parameters

itemId
integer<int32>
required

The id of the item that the property values belong to.

Body

application/json

The ItemPropertyValue to create.

Model Class: CreateItemPropertyValue

PropertyValueId
integer<int32>
required

A unique property value ID for an item.

Response

The created ItemPropertyValue.

Model Class: ItemPropertyValue

PropertyId
integer<int32>
required

A unique property ID for an item.

PropertyValueId
integer<int32>
required

A unique property value ID for an item.