Subir Categorias

Endpoint: /api/upload-category

  • Método HTTP: POST

  • URL: https://site.com/api/upload-category

  • Headers:

    • Content-Type: application/json

  • Body: (JSON)

    {
        "apikey": "your_api_key",
        "parent_id": 0,
        "name": "New Category",
        "description": "Description of the category"
    }

Ejemplo de Solicitud en Postman

  1. Método HTTP: POST

  2. URL: https://site.com/api/upload-category

  3. Headers:

    • Content-Type: application/json

  4. Body:

    • Selecciona raw y JSON en el dropdown.

    • Pega el JSON de ejemplo en el cuerpo de la solicitud.

Respuesta de Ejemplo

  • Éxito:

  • Error:

  • Error:

Last updated