Saltar al contenido principal
POST
/
v1
/
items
/
properties
/
{propertyReference}
/
options
Add an option to a property
curl --request POST \
  --url https://api.bold-factory.com/v1/items/properties/{propertyReference}/options \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "<string>",
  "externalReference": "<string>"
}
'
{
  "id": "<string>",
  "externalReference": "<string>",
  "name": "<string>",
  "propertyId": "<string>",
  "property": {
    "id": "<string>",
    "externalReference": "<string>",
    "name": "<string>",
    "createdAt": "2023-11-07T05:31:56Z",
    "createdBy": "<string>",
    "lastModifiedAt": "2023-11-07T05:31:56Z",
    "lastModifiedBy": "<string>"
  }
}

Autorizaciones

Authorization
string
header
requerido

Use a valid JWT token in the Authorization header with the format 'Bearer {token}'

Parámetros de ruta

propertyReference
string
requerido

Cuerpo

application/json
name
string
requerido
externalReference
null | string

Respuesta

Created

id
string
requerido
externalReference
null | string
requerido
name
string
requerido
propertyId
string
requerido
property
object
requerido