---
updatedAt: 2026-02-04T17:17:16.000Z
agentTools:
  projectIndex: https://dev.helloasso.com/llms.txt
---

# Create product resource

# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "Plus Billetterie API",
    "version": "1.0.0",
    "description": "Authentication: send your API key in the Authorization header using the format `X-API-KEY YOUR_API_KEY`.\n\nEach API key is tied to a single organization. A key cannot manage multiple organizations.\n\nAPI keys can be generated from the organization dashboard (Developer tab)."
  },
  "tags": [
    {
      "name": "product resource",
      "description": "API endpoints for managing product resources",
      "x-tag-schema": {
        "$ref": "#/components/schemas/product"
      },
      "x-tag-schema-example": {
        "name": "string",
        "taxRate": 5.5,
        "_id": "64b7f8b6f23a4a4f3d0a9b12",
        "_createdAt": "2024-01-01T00:00:00.000Z"
      }
    }
  ],
  "security": [
    {
      "ApiKeyAuth": []
    }
  ],
  "paths": {
    "/v1/organizers/{organizerId}/events/{eventId}/products": {
      "post": {
        "tags": [
          "product resource"
        ],
        "summary": "Create product resource",
        "responses": {
          "201": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/product"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "organizerId",
            "in": "path",
            "required": true,
            "description": "Resource identifier.",
            "schema": {
              "type": "string",
              "format": "objectId"
            },
            "example": "64b7f8b6f23a4a4f3d0a9b12"
          },
          {
            "name": "eventId",
            "in": "path",
            "required": true,
            "description": "Resource identifier.",
            "schema": {
              "type": "string",
              "format": "objectId"
            },
            "example": "64b7f8b6f23a4a4f3d0a9b12"
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/productCreate"
              },
              "example": {
                "name": "string",
                "maxCount": -9007199254740991
              }
            }
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "product": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "example": "string"
          },
          "maxCount": {
            "nullable": true,
            "type": "integer",
            "minimum": -9007199254740991,
            "maximum": 9007199254740991,
            "example": -9007199254740991
          },
          "media": {
            "nullable": true
          },
          "formId": {
            "nullable": true
          },
          "emissionStartDate": {
            "nullable": true
          },
          "dateIntervalIds": {
            "nullable": true,
            "type": "array",
            "items": {}
          },
          "referenceHandler": {
            "nullable": true,
            "type": "object",
            "properties": {
              "regex": {
                "type": "string",
                "minLength": 1,
                "example": "x"
              },
              "hint": {
                "type": "string",
                "minLength": 1,
                "example": "x"
              }
            },
            "required": [
              "regex",
              "hint"
            ],
            "additionalProperties": false
          },
          "defaultLocale": {
            "nullable": true,
            "type": "string",
            "enum": [
              "fr",
              "en",
              "es"
            ],
            "example": "fr"
          },
          "localeDetails": {
            "nullable": true,
            "type": "object",
            "additionalProperties": {
              "nullable": true,
              "type": "object",
              "properties": {
                "name": {
                  "nullable": true,
                  "type": "string",
                  "minLength": 1,
                  "example": "x"
                },
                "description": {
                  "nullable": true,
                  "type": "string",
                  "minLength": 1,
                  "example": "x"
                },
                "salesDetails": {
                  "nullable": true,
                  "type": "object",
                  "properties": {
                    "orderConfirmationText": {
                      "nullable": true,
                      "type": "string",
                      "example": "string"
                    },
                    "refundPolicy": {
                      "nullable": true,
                      "type": "string",
                      "example": "string"
                    },
                    "terms": {
                      "nullable": true,
                      "type": "string",
                      "example": "string"
                    }
                  },
                  "additionalProperties": false
                }
              },
              "additionalProperties": false
            },
            "required": [
              "fr",
              "en",
              "es"
            ]
          },
          "salesDetails": {
            "nullable": true,
            "type": "object",
            "properties": {
              "orderConfirmationText": {
                "nullable": true,
                "type": "string",
                "example": "string"
              },
              "refundPolicy": {
                "nullable": true,
                "type": "string",
                "example": "string"
              },
              "terms": {
                "nullable": true,
                "type": "string",
                "example": "string"
              }
            },
            "additionalProperties": false
          },
          "needConfirmation": {
            "nullable": true,
            "type": "boolean",
            "example": true
          },
          "description": {
            "nullable": true,
            "type": "string",
            "example": "string"
          },
          "taxRate": {
            "default": 5.5,
            "type": "number",
            "minimum": 0
          },
          "type": {
            "nullable": true,
            "type": "string",
            "enum": [
              "ticket",
              "good"
            ],
            "example": "ticket"
          },
          "contentIds": {
            "nullable": true
          },
          "distributionRuleId": {
            "nullable": true
          },
          "_id": {
            "type": "string",
            "format": "objectId",
            "example": "64b7f8b6f23a4a4f3d0a9b12"
          },
          "_createdAt": {
            "type": "string",
            "format": "date-time",
            "example": "2024-01-01T00:00:00.000Z"
          },
          "_updatedAt": {
            "type": "string",
            "format": "date-time",
            "nullable": true,
            "example": "2024-01-01T00:00:00.000Z"
          },
          "_reference": {
            "type": "string",
            "nullable": true,
            "example": "string"
          }
        },
        "required": [
          "name",
          "taxRate",
          "_id",
          "_createdAt"
        ],
        "additionalProperties": false
      },
      "productCreate": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "example": "string"
          },
          "maxCount": {
            "nullable": true,
            "type": "integer",
            "minimum": -9007199254740991,
            "maximum": 9007199254740991,
            "example": -9007199254740991
          },
          "media": {
            "nullable": true
          },
          "formId": {
            "nullable": true
          },
          "emissionStartDate": {
            "nullable": true
          },
          "dateIntervalIds": {
            "nullable": true,
            "type": "array",
            "items": {}
          },
          "referenceHandler": {
            "nullable": true,
            "type": "object",
            "properties": {
              "regex": {
                "type": "string",
                "minLength": 1,
                "example": "x"
              },
              "hint": {
                "type": "string",
                "minLength": 1,
                "example": "x"
              }
            },
            "required": [
              "regex",
              "hint"
            ],
            "additionalProperties": false
          },
          "defaultLocale": {
            "nullable": true,
            "type": "string",
            "enum": [
              "fr",
              "en",
              "es"
            ],
            "example": "fr"
          },
          "localeDetails": {
            "nullable": true,
            "type": "object",
            "additionalProperties": {
              "nullable": true,
              "type": "object",
              "properties": {
                "name": {
                  "nullable": true,
                  "type": "string",
                  "minLength": 1,
                  "example": "x"
                },
                "description": {
                  "nullable": true,
                  "type": "string",
                  "minLength": 1,
                  "example": "x"
                },
                "salesDetails": {
                  "nullable": true,
                  "type": "object",
                  "properties": {
                    "orderConfirmationText": {
                      "nullable": true,
                      "type": "string",
                      "example": "string"
                    },
                    "refundPolicy": {
                      "nullable": true,
                      "type": "string",
                      "example": "string"
                    },
                    "terms": {
                      "nullable": true,
                      "type": "string",
                      "example": "string"
                    }
                  },
                  "additionalProperties": false
                }
              },
              "additionalProperties": false
            },
            "required": [
              "fr",
              "en",
              "es"
            ]
          },
          "salesDetails": {
            "nullable": true,
            "type": "object",
            "properties": {
              "orderConfirmationText": {
                "nullable": true,
                "type": "string",
                "example": "string"
              },
              "refundPolicy": {
                "nullable": true,
                "type": "string",
                "example": "string"
              },
              "terms": {
                "nullable": true,
                "type": "string",
                "example": "string"
              }
            },
            "additionalProperties": false
          },
          "needConfirmation": {
            "nullable": true,
            "type": "boolean",
            "example": true
          },
          "description": {
            "nullable": true,
            "type": "string",
            "example": "string"
          },
          "contentIds": {
            "nullable": true
          },
          "distributionRuleId": {
            "nullable": true
          }
        },
        "additionalProperties": false
      }
    },
    "securitySchemes": {
      "ApiKeyAuth": {
        "type": "apiKey",
        "in": "header",
        "name": "X-API-KEY",
        "description": "Use the format `X-API-KEY YOUR_API_KEY`. Each key is tied to a single organization."
      }
    }
  },
  "servers": [
    {
      "url": "https://api.plusbilletterie.helloasso.com"
    }
  ],
  "x-readme": {}
}
```