cURL
curl --request POST \ --url https://public-api-demo.clearline.me/pos/{posSystemId}/company/{posCompanyId}/import/productCategories \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json-patch+json' \ --data ' { "items": [ { "name": "Category 1", "posProductParentCategoryId": "10", "posProductCategoryId": "2", "posCatalogId": "1" } ] } '
{ "data": { "status": "<string>", "createdCount": 123, "updatedCount": 123, "errors": [ { "entityId": "<string>", "rowNumber": 123, "errorMessage": "<string>", "errorDetails": "<string>" } ], "warnings": [ { "entityId": "<string>", "rowNumber": 123, "message": "<string>", "details": "<string>" } ] } }
JWT Authorization header using the Bearer scheme.
Enter JWT Bearer token only in the text input below.
Represents product items import category request for POS
Items to add
Show child attributes
Success
Results of import