Skip to main content
POST
/
api
/
property-definitions
/
{key}
/
values
Add Property Definition Value
curl --request POST \
  --url https://api.merchantops.ai/api/property-definitions/{key}/values \
  --header 'Content-Type: application/json' \
  --data '
{
  "value": "<string>"
}
'
{}

Headers

authorization
string | null
X-Organization-ID
string | null

Path Parameters

key
string
required

Cookies

stytch_session
string | null

Body

application/json

Request to add a new value to an enum property definition.

value
string
required

The value to add

Minimum string length: 1

Response

Successful Response

The response is of type Response Add Property Definition Value Api Property Definitions Key Values Post · object.