cURL
curl --request POST \ --url https://api.lapyme.com.ar/api/v1/categories \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "name": "<string>", "parentId": "3c90c3cc-0d44-4b50-8888-8dd25736052a" } '
{ "success": true, "data": { "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "name": "<string>", "parentId": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "createdAt": "2023-11-07T05:31:56Z", "updatedAt": "2023-11-07T05:31:56Z" } }
Crea una nueva categoría de productos en la organización. El nombre es requerido, la categoría padre es opcional.
Incluí tu API key en el header Authorization con el prefijo Bearer
Nombre de la categoría
1 - 50
ID de la categoría padre (opcional)
Categoría creada exitosamente
true
false
Show child attributes
Was this page helpful?