Saltar al contenido principal
PUT
/
v1
/
labels
/
templates
/
{templateId}
/
elements
/
{elementId}
Update an existing element within the template
curl --request PUT \
  --url https://api.bold-factory.com/v1/labels/templates/{templateId}/elements/{elementId} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "type": "Shape",
  "x": 123,
  "y": 123,
  "width": 123,
  "height": 123
}
'
{
  "type": "https://www.rfc-editor.org/rfc/rfc9110.html#name-401-unauthorized",
  "title": "Unauthorized",
  "status": 401,
  "detail": "You are not authenticated.",
  "instance": "GET /v1/items/skus"
}

Autorizaciones

Authorization
string
header
requerido

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

Parámetros de ruta

templateId
string
requerido
elementId
string
requerido

Cuerpo

application/json
type
enum<string>
requerido
Opciones disponibles:
Shape
x
integer<int32>
requerido
y
integer<int32>
requerido
width
integer<int32>
requerido
height
integer<int32>
requerido

Respuesta

OK