---
title: "POST /api/packages/configs"
method: POST
path: "/api/packages/configs"
tags: ["api"]
---

# POST /api/packages/configs

`POST /api/packages/configs`

## Request body

- POSTApi
  - `active` boolean
  - `name` string, required
  - `slug` string
  - `description` string, nullable
  - `image` string, nullable
  - `headerImage` string, nullable
  - `sellerId` string
  - `variants` object[]
    - `_id` string, required
    - `name` string, required
    - `image` string, nullable
  - `components` object[]
    - `name` string, required
    - `description` string, nullable
    - `minOptions` number, float
    - `maxOptions` number, float
    - `options` object[], required
      - `_id` string, required
      - `eventId` string, required
      - `shopId` string
      - `variants` object[], required
        - `variantId` string, required
        - `ticketTypeId` string, required
        - `v` number, float — Ticket volume
        - `active` boolean — If ticket type related to variant is active
  - `tracking` object
    - `tagging` object, required
      - `tags` string[], required
  - `availableSelectionTypes` string[]
  - `sellStart` string, date-time, nullable — An ISO timestamp indicating when the package sale starts.
  - `sellEnd` string, date-time, nullable — An ISO timestamp indicating when the package sale ends.

## Response `201`

Created

- POSTApi201Response
  - `_id` string, required
  - `active` boolean, required
  - `name` string, required
  - `slug` string, required
  - `description` string, nullable
  - `image` string, nullable
  - `headerImage` string, nullable
  - `sellerId` string, required
  - `variants` object[], required
    - `_id` string, required
    - `name` string, required
    - `image` string, nullable
  - `components` object[], required
    - `_id` string, required
    - `name` string, required
    - `description` string, nullable
    - `minOptions` number, float
    - `maxOptions` number, float
    - `options` object[], required
      - `_id` string, required
      - `eventId` string, required
      - `shopId` string
      - `variants` object[], required
        - `variantId` string, required
        - `ticketTypeId` string, required
        - `v` number, float — Ticket volume
        - `active` boolean — If ticket type related to variant is active
  - `tracking` object, required
    - `tagging` object, required
      - `tags` string[], required
  - `availableSelectionTypes` string[]
  - `sellStart` string, date-time, nullable — An ISO timestamp indicating when the package sale starts.
  - `sellEnd` string, date-time, nullable — An ISO timestamp indicating when the package sale ends.
  - `archivedAt` string, date-time, nullable — An ISO timestamp indicating when the package config was archived.
  - `createdAt` string, date-time, required
  - `updatedAt` string, date-time, required

## Other responses

- `400` — Bad Request
- `401` — Unauthorized

---

[API](https://skmtc.net/vivenu/apis/vivenu-api.md) · [All operations](https://skmtc.net/vivenu/apis/vivenu-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/vivenu/vivenu-api/revisions/36be0dca14e7/schema)
