Attribute Templates
Bulk Create Attribute Templates
Creates multiple attribute templates in a single atomic operation. Each template can have custom fields defined. Returns lists of successful and failed creations with detailed error reasons.
POST
/
api
/
v1
/
{team_slug}
/
{app_slug}
/
attributes
/
bulk
Error
A valid request URL is required to generate request examples{
"data": {
"failed_creations": [
{
"input": {
"key": "<string>",
"name": "<string>",
"type": "<string>",
"fields": [
{
"key": "<string>",
"name": "<string>"
}
],
"filterable": true,
"resources": [
"<string>"
],
"translatable": true
},
"reason": "<string>"
}
],
"successful_creations": [
{
"attributes": [
{
"created_at": "<string>",
"description": "<string>",
"filterable": true,
"id": "<string>",
"key": "<string>",
"name": "<string>",
"template_key": "<string>",
"template_name": "<string>",
"translatable": true,
"translations": {
"description": [
{
"id": "<string>",
"locale": "<string>",
"value": "<string>"
}
],
"name": [
{
"id": "<string>",
"locale": "<string>",
"value": "<string>"
}
]
},
"updated_at": "<string>",
"values": {}
}
],
"created_at": "<string>",
"fields": [
{
"created_at": "<string>",
"id": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"updated_at": "<string>"
}
],
"filterable": true,
"id": "<string>",
"key": "<string>",
"name": "<string>",
"resources": [
"<string>"
],
"source_app_id": "<string>",
"source_id": "<string>",
"translatable": true,
"type": "<string>",
"updated_at": "<string>"
}
]
},
"details": [
"<string>"
],
"success": true
}{
"details": [
"<string>"
],
"message": "<string>",
"success": true
}{
"details": [
"<string>"
],
"message": "<string>",
"success": true
}{
"details": [
"<string>"
],
"message": "<string>",
"success": true
}Body
application/json
Attribute templates to create (max 50)
Maximum array length:
50Show child attributes
Show child attributes
⌘I
Error
A valid request URL is required to generate request examples{
"data": {
"failed_creations": [
{
"input": {
"key": "<string>",
"name": "<string>",
"type": "<string>",
"fields": [
{
"key": "<string>",
"name": "<string>"
}
],
"filterable": true,
"resources": [
"<string>"
],
"translatable": true
},
"reason": "<string>"
}
],
"successful_creations": [
{
"attributes": [
{
"created_at": "<string>",
"description": "<string>",
"filterable": true,
"id": "<string>",
"key": "<string>",
"name": "<string>",
"template_key": "<string>",
"template_name": "<string>",
"translatable": true,
"translations": {
"description": [
{
"id": "<string>",
"locale": "<string>",
"value": "<string>"
}
],
"name": [
{
"id": "<string>",
"locale": "<string>",
"value": "<string>"
}
]
},
"updated_at": "<string>",
"values": {}
}
],
"created_at": "<string>",
"fields": [
{
"created_at": "<string>",
"id": "<string>",
"key": "<string>",
"name": "<string>",
"type": "<string>",
"updated_at": "<string>"
}
],
"filterable": true,
"id": "<string>",
"key": "<string>",
"name": "<string>",
"resources": [
"<string>"
],
"source_app_id": "<string>",
"source_id": "<string>",
"translatable": true,
"type": "<string>",
"updated_at": "<string>"
}
]
},
"details": [
"<string>"
],
"success": true
}{
"details": [
"<string>"
],
"message": "<string>",
"success": true
}{
"details": [
"<string>"
],
"message": "<string>",
"success": true
}{
"details": [
"<string>"
],
"message": "<string>",
"success": true
}