API

Crear categoría

Changed on

Crea una categoría para organizar productos y asociar actividad económica predeterminada.

post/api/v1/categories

Request

  • Base URL
    https://api.lapyme.com.ar
  • URL
    https://api.lapyme.com.ar/api/v1/categories
  • Auth
    HTTP bearer

Headers

Idempotency-Keystring required

Request body

namestring required
parent_idstring uuid nullable
default_economic_activitystring nullable

Response

Categoría creada exitosamente

request_idstring required

Changes

    • breaking

      for the header request parameter Idempotency-Key, the minLength was increased from 0 to 1

    • breaking

      the request property's minLength was increased from 0 to 1

    • breaking

      the response property // became nullable for the status

    • warning

      for the header request parameter Idempotency-Key, the maxLength was set to 255

    • warning

      the request property's maxLength was set to 100

    • info

      added the non-success response with the status

    • info

      added the optional property /// to the response with the status

    • info

      added the optional property /// to the response with the status

    • info

      added the optional property /// to the response with the status

    • info

      added the optional property /// to the response with the status

    • info

      added the optional property /// to the response with the status

    • info

      response property data/category/default_economic_activity list-of-types was narrowed by removing types null from media type application/json of response 200