Create a new category mapping with mapping code and other information.
Security
sessionAuth
- AIPIM Production Serverhttps://api.aipim.fynd.com/service/panel/templates/v1.0/org/{orgId}/category/mapping
curl -i -X POST \
'https://api.aipim.fynd.com/service/panel/templates/v1.0/org/{orgId}/category/mapping' \
-H 'Content-Type: application/json' \
-b cc.session=YOUR_API_KEY_HERE \
-d '{
"mapping": [
"code1",
"code2"
],
"code": "xyz"
}'Category mapping created successfully.
Response
{ "code": "string", "mapping": [ { … } ], "archive": true, "mapping_code": [ "string" ], "sales_id": [ { … } ], "x_org_id": "string", "created_by": "string", "modified_by": "string", "template": "060ce75e-87d6-4677-b330-eaee58e54138" }