Skip to content

Bulk map category mappings to a template

Request

Bulk map multiple category mappings to a template within the organization.

Security
sessionAuth
Path
orgIdstringrequired

The ID of the organization.

Bodyapplication/jsonrequired

The request body containing the template and category mapping IDs.

templatestring

The ID or name of the template to map the category mappings to.

categoryMappingIdArray of strings

An array of unique IDs of the category mappings to map to the template.

curl -i -X POST \
  'https://api.aipim.fynd.com/service/panel/templates/v1.0/org/{orgId}/category/mapping/map/template' \
  -H 'Content-Type: application/json' \
  -b cc.session=YOUR_API_KEY_HERE \
  -d '{
    "template": "string",
    "categoryMappingId": [
      "string"
    ]
  }'

Responses

Category mappings successfully mapped to the template.

Bodyapplication/json
successboolean
Response
{ "success": true }