Skip to content

Get a template by ID

Request

Retrieve a template by its unique ID for the specified organization.

Security
sessionAuth
Path
orgIdstringrequired

The ID of the organization.

idstringrequired

The unique ID of the template.

Query
skip_attribute_overridesboolean

Set to "true" to skip merging List attribute overrides in the response.

curl -i -X GET \
  'https://api.aipim.fynd.com/service/panel/templates/v1.0/org/{orgId}/template/{id}?skip_attribute_overrides=true' \
  -b cc.session=YOUR_API_KEY_HERE

Responses

The template found by ID.

Bodyapplication/json
namestringrequired

The name of the template.

Example:"Example Template"
descriptionstring

The description of the template.

activeboolean

Indicates whether the template is active.

Example:true
publicboolean

Indicates whether the template is public.

Example:false
groupsArray of objects

An array of template groups associated with the template.

attributesArray of objects(Attribute)required

List of ungrouped attributes.

Example:
[ { "name": "Sample Attribute", "active": true, "code": "sample_attribute", "auto_sync_to_prod": true, "description": "This is a sample attribute", "vms_visible": false, "vms_editable": false, "store_filter": false, "store_display_plp": true, "store_display_pdp": true, "store_search": false, "store_compare": false, "tags": [ … ], "type": "Short Text", "mandatory": true, "jsonata": "payload.key", "limit": 10, "formatting": "None" } ]
Response
{ "name": "Example Template", "description": "string", "active": true, "public": false, "groups": [ { … } ], "attributes": [ { … } ] }