Skip to content

Get template details for given category mapping codes

Request

Returns template details and a category-to-template mapping for the specified category mapping codes.

Security
sessionAuth
Path
orgIdstringrequired

The ID of the organization.

Query
codeArray of stringsrequired

One or more category mapping codes. Can be repeated for multiple values.

limitedboolean

Set to "true" to return a limited projection of template attributes.

curl -i -X GET \
  'https://api.aipim.fynd.com/service/panel/templates/v1.0/org/{orgId}/category/mapping/template-details?code=string&limited=true' \
  -b cc.session=YOUR_API_KEY_HERE

Responses

Template details and category-to-template mapping.

Bodyapplication/json
category_template_mappingobject

Map of category mapping code to template ID.

templatesobject

Map of template ID to full template object.

Response
{ "category_template_mapping": {}, "templates": {} }