---
agentTools:
  projectIndex: https://wiwink.readme.io/llms.txt
---

# Create Product

# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "Wiwink API",
    "version": "1.0"
  },
  "servers": [
    {
      "url": "https://developers.wiwink.com/api"
    }
  ],
  "components": {
    "securitySchemes": {
      "sec0": {
        "type": "apiKey",
        "in": "header",
        "name": "Authorization",
        "x-bearer-format": "bearer",
        "x-default": "<your-api-key>"
      }
    }
  },
  "security": [
    {
      "sec0": []
    }
  ],
  "paths": {
    "/products": {
      "post": {
        "summary": "Create Product",
        "description": "",
        "operationId": "create-product",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "name"
                ],
                "properties": {
                  "name": {
                    "type": "string",
                    "description": "Name."
                  },
                  "excerpt": {
                    "type": "string",
                    "description": "Small description."
                  },
                  "description": {
                    "type": "string",
                    "description": "Full description."
                  },
                  "reference": {
                    "type": "string",
                    "description": "Reference."
                  },
                  "code_ean13": {
                    "type": "string",
                    "description": "EAN-13 code."
                  },
                  "code_upc": {
                    "type": "string",
                    "description": "UPC code."
                  },
                  "code_isbn": {
                    "type": "string",
                    "description": "ISBN code."
                  },
                  "tax_percent": {
                    "type": "number",
                    "description": "Percentage of taxes.",
                    "default": 0,
                    "format": "float"
                  },
                  "price_retail": {
                    "type": "number",
                    "description": "Retail price, without taxes.",
                    "default": 0,
                    "format": "float"
                  },
                  "price_reduced": {
                    "type": "number",
                    "description": "Reduced price, without taxes.",
                    "default": 0,
                    "format": "float"
                  },
                  "price_cost": {
                    "type": "number",
                    "description": "Cost price, without taxes.",
                    "default": 0,
                    "format": "float"
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "200",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{\n    \"data\": {\n        \"id\": 164,\n        \"name\": \"Dominio\",\n        \"excerpt\": null,\n        \"description\": null,\n        \"reference\": null,\n        \"code_ean13\": null,\n        \"code_upc\": null,\n        \"code_isbn\": null,\n        \"tax_percent\": 21,\n        \"price_retail\": 44.9,\n        \"price_retail_final\": 54.33,\n        \"price_reduced\": 0,\n        \"price_reduced_final\": 0,\n        \"price_cost\": 0,\n        \"price_cost_final\": 0\n    }\n}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "object",
                      "properties": {
                        "id": {
                          "type": "integer",
                          "example": 164,
                          "default": 0
                        },
                        "name": {
                          "type": "string",
                          "example": "Dominio"
                        },
                        "excerpt": {},
                        "description": {},
                        "reference": {},
                        "code_ean13": {},
                        "code_upc": {},
                        "code_isbn": {},
                        "tax_percent": {
                          "type": "integer",
                          "example": 21,
                          "default": 0
                        },
                        "price_retail": {
                          "type": "number",
                          "example": 44.9,
                          "default": 0
                        },
                        "price_retail_final": {
                          "type": "number",
                          "example": 54.33,
                          "default": 0
                        },
                        "price_reduced": {
                          "type": "integer",
                          "example": 0,
                          "default": 0
                        },
                        "price_reduced_final": {
                          "type": "integer",
                          "example": 0,
                          "default": 0
                        },
                        "price_cost": {
                          "type": "integer",
                          "example": 0,
                          "default": 0
                        },
                        "price_cost_final": {
                          "type": "integer",
                          "example": 0,
                          "default": 0
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "400",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {}
                }
              }
            }
          }
        },
        "deprecated": false
      }
    }
  },
  "x-readme": {
    "headers": [
      {
        "key": "Accept",
        "value": "application/json"
      }
    ],
    "explorer-enabled": false,
    "proxy-enabled": false
  },
  "x-readme-fauxas": true,
  "_id": "5fc95bf5cedbb60012732d63:60c99f0f380c610031a26e1a"
}
```