---
title: "Update a pack"
method: PUT
path: "/1/videos/order"
tags: ["order"]
---

# Update a pack

`PUT /1/videos/order`

This endpoint allows you to update a Pack order.

## Query parameters

- `with` string
- `account_id` integer, required — Account identifier

## Request body

- object
  - `allowed_excess` integer — Specify a limit before the interruption of live events in case of overrun

## Response `200`

OK

- object
  - `result` 'success' | 'error' | 'asynchronous', required — Result of the HTTP request
  - `data` A57c9d69PackOrder
    - `package_commande_id` integer, required
    - `allowed_excess` integer, required — Define a limit before the interruption of live events in case of overrun
    - `ordered_at` integer, required — Timestamp PackOrder has ordered
    - `updated_at` integer, required — Timestamp `PackOrder` has been updated
    - `internal_name` string, required — Define a internal name for a package order
    - `terminated_at` integer, required
    - `next_datefor_exceeded_at` integer, required — Timestamp of the next overrun invoice
    - `end_echeance_at` integer, required — Timestamp of the next dead line
    - `free` boolean, required — This pack is free
    - `demo` boolean, required — This pack is a pack demo
    - `promo` boolean, required — This pack is offer with hosting or video
    - `pack` A57c9d69Pack
      - `id` integer, required — Unique identifier of the resource `Pack`
      - `name` string, required — Name of the resource `Pack`
      - `order_info` integer, required
      - `available_space_vod` integer, required — The archive storage space, is in GB
      - `max_auditors` integer, required — The max 'auditors' available.
      - `hide` boolean, required — Pack available
      - `details` string
    - `periodicity` A57c9d69Periodicity, required
      - `id` integer, required — Unique identifier of the resource `Periodicity`
      - `unite` integer, required
      - `value` 'MONTH' | 'YEAR', required — The `PackPrice` time range
    - `rights` unknown[] — The rights of the `PackOrder`
      - unknown
    - `channels` A57c9d69Channel[]
      - `id` string, required — Unique identifier of the resource `Channel`
      - `unique_id` integer, required — Unique identifier of the resource `Channel`
      - `channel_id` integer, required — Unique identifier of the `channel` that is related to the resource `Channel`
      - `name` string, required — Name of the resource `Channel`
      - `created_at` integer, required — Timestamp `Channel` has been created
      - `updated_at` integer, required — Timestamp `Channel` has been updated
      - `deleted_at` integer, required — Timestamp `Channel` has been deleted
      - `deleted` boolean, required — Boolean `Channel` has been deleted
      - `type` 'abr' | 'mono', required
      - `source_type` 'camip' | 'encoder' | 'maniak' | 'mobile' | 'webcam', required
      - `remember_to_config` boolean, required
      - `free` boolean, required
      - `blocked` boolean, required
      - `maintained` boolean, required
      - `blocked_at` integer, required
      - `maintained_at` integer, required
      - `is_pulled` boolean, required
      - `service_id` integer, required — Unique identifier of the `service` that is related to the resource `Channel`
      - `customer_name` string, required — Customer name of the resource `Channel`
      - `parent_id` integer, required
      - `tags` string
      - `rights` string
      - `live` A57c9d69Liveressource
        - `server_name` string, required
        - `application_instance` string, required
        - `bytes_in` integer, required
        - `bytes_out` integer, required
        - `bytes_in_rate` integer, required
        - `bytes_out_rate` integer, required
        - `total_connections` integer, required
      - `real_type` string, required
      - `status` unknown[] — Status of the resource `Channel`
        - unknown
      - `consumption` A57c9d69Fieldresource
        - `value` number, required — the current monthly consumption (Byte)
        - `from` integer, required — Timestamp `Field resource` from
        - `to` integer, required — Timestamp `Field resource` to
      - `recording_status` string
      - `options_orders` string
      - `options` unknown[]
        - unknown
      - `default_options` unknown[]
        - unknown
      - `streams` A57c9d69Stream[]
        - `stream_id` string, required — Unique identifier of the `stream` that is related to the resource `stream`
        - `original_stream_id` string, required
        - `rendered` boolean, required
        - `transcoding_option_id` integer, required — Unique identifier of the `Option transcoding` that is related to the resource `stream`
        - `url` string, required
        - `audio_bitrate` integer, required
        - `video_bitrate` integer, required
        - `language` string, required
        - `created_at` integer, required — Timestamp `stream` has been created
        - `interrupted_at` integer, required — Timestamp `stream` has been interrupted
        - `restrictions_id` integer, required — Unique identifier of the `restriction` that is related to the resource `stream`
        - `published` boolean, required
        - `resolution` integer, required
        - `recording_config_id` integer, required — Unique identifier of the `recording config` that is related to the resource `stream`
        - `username` string, required
        - `pass` string, required
        - `interrupted` boolean, required
        - `audio_codec` string, required
        - `frame_rate` string, required
        - `keyframe_rate` integer, required
        - `instant_connection` integer, required
        - `channel` A57c9d69Channel, required — recursive
      - `restriction` A57c9d69ViewersRestrictions
        - `restrictions_id` integer, required — Unique identifier of the `restriction` that is related to the resource `ViewersRestrictions`
        - `access_country` string, required
        - `allow_domain` string, required
        - `exception_ip` string, required
        - `forbidden_ip` string, required
        - `shared_key` string, required
        - `authorize_country` boolean, required
        - `player_token` string, required
      - `machines` A57c9d69Machine[]
        - `name` string, required — Name of the resource `Machine`
        - `ip` string, required
        - `url` string, required
        - `type` 'edge' | 'load-balancer' | 'master' | 'recorder' | 'time-shifter' | 'transcoder', required — Type of server
        - `pool_id` integer, required
        - `url_domain` string, required
      - `players` A57c9d69Player[]
        - `player_id` integer, required — Unique identifier of the `player` that is related to the resource `Player`
        - `name` string, required — Name of the ressource `Player` visible by final customer
        - `title` string, required — Name of the video stream
        - `description` string, required — Description of the stream
        - `buffer` string, required — Buffer memory enables the reduction of video interruptions if yours viewers connections become unstable by preloading
        - `auto_start` boolean, required — Start the video automatically (does not function on Android and iOS)
        - `allow_full_screen` boolean, required — Authorise full-screen mode
        - `is360` boolean, required — This option is required to display your 360 video streaming
        - `show_controls` boolean, required — Display the playback bar
        - `auto_hide_controls` boolean, required — Hide the playback bar after a few seconds
        - `time_before_hide_cb` integer, required
        - `show_viewers` boolean, required — Display the number of viewers
        - `show_viewers_after` integer, required — Display from the following number after {number} viewers
        - `ratio` string, required — Ratio of the player
        - `width` integer, required — The width used for render the `Player` (px)
        - `height` integer, required — The height used for render the `Player` (px)
        - `show_logo` boolean, required — Is the logo Infomaniak enabled?
        - `logo_img` string, required — The logo url of the `Player`
        - `logo_anchor` 'bottom left' | 'bottom right' | 'top left' | 'top right', required — is the position of logo
        - `logo_percentage` integer, required — The logo size in `Player`
        - `logo_margin_top` integer, required — The margin top log in `Player`
        - `logo_margin_left` integer, required — The margin left log in `Player`
        - `control_color` string, required — The background color used in the `Player`
        - `controlbar_color` string, required — The button color used in the `Player`
        - `control_active_color` string, required — The secondary color color used in the `Player`
        - `extract_preload_img` boolean, required
        - `use_preload_img` boolean, required — This image is displayed before the video is played.
        - `preload_img` string, required
        - `use_geo_ip_img` boolean, required
        - `geo_ip_img` string, required
        - `use_interrupt_img` boolean, required
        - `interrupt_img` string, required — This image is displayed if the viewer is not authorised to view the broadcast (IP, domain, unique hash code, etc.)
        - `use_restrict_img` boolean, required — This image is displayed if the viewer is located in an unauthorised geographic
        - `restrict_img` string, required — This image is displayed if the viewer is not authorised to view the broadcast (IP, domain, unique hash code, etc.)
        - `countdown` boolean, required — Is the countdown enabled?
        - `countdown_txt` string, required — Description of the countdown of the `Player` visible by final customer
        - `countdown_days` string, required — countdown days
        - `countdown_hours` string, required — hours days
        - `countdown_minutes` string, required — countdown minutes
        - `countdown_seconds` string, required — countdown seconde
        - `enable_embed_code` boolean, required — Authorise other users to intergrate your live event on their sites
        - `enable_facebook` boolean, required — Is the facebook embed link visible?
        - `facebook_back_link` string, required — The Twitter backlink used to facebook embed
        - `facebook_player_embed` boolean, required
        - `enable_twitter` boolean, required — Is the Twitter embed link visible?
        - `twitter_via` string, required
        - `twitter_back_link` string, required — The Twitter backlink used to twitter embed
        - `twitter_related` string, required — The Twitter hashtag used to Twitter embed
        - `created_at` integer, required — Timestamp `Player` has been created
        - `updated_at` integer, required — Timestamp `Player` has been updated
        - `ads_enabled` boolean, required — Is the ads enabled?
        - `show_controls_during_ads` boolean, required — Display the playback bar during the ads
        - `sound_enabled` boolean, required — Is the sound enabled?
        - `sound_percentage` integer, required — The volume used in the `Player`
        - `show_viewers_only_after` boolean, required
        - `chromecast` boolean, required — you need to use a player that supports https in order for chromecast to work correctly
        - `stereo_projection360` string, required
        - `ads_url` string, required — The ads url
        - `interrupted` boolean — There is an event currently interrupting the live;
        - `channel` A57c9d69Channel — recursive
        - `integrations` A57c9d69Integrationsressource[] — List all the raw integrations supported for the given channel.
          - `type` string, required
          - `url` string, required
          - `constant_url` boolean, required
          - `stream_id` string, required — Unique identifier of the `stream` that is related to the resource `Integrations ressource`
          - `dvr_available` boolean, required
          - `dvr_enabled` boolean, required
        - `countdown_stops_at` string
        - `thumbnail_url` string
        - `restrictions` string
        - `ads` string
      - `order` string
      - `account` string
      - `pool` string
      - `transcoders` A57c9d69Machine[]
        - `name` string, required — Name of the resource `Machine`
        - `ip` string, required
        - `url` string, required
        - `type` 'edge' | 'load-balancer' | 'master' | 'recorder' | 'time-shifter' | 'transcoder', required — Type of server
        - `pool_id` integer, required
        - `url_domain` string, required
    - `vod` A57c9d69VodProduct
      - `vod_id` integer, required — Unique identifier of the `vodProduct` that is related to the resource `VodProduct`
      - `name` string, required — Name of the resource `VodProduct`
    - `account` A57c9d69Account
      - `id` integer, required — Unique identifier of the resource `Account`
      - `name` string, required — Name of the resource `Account`
      - `legal_entity_type` 'company' | 'individual' | 'public_body' | 'restrict', required
      - `created_at` integer, required — Timestamp `Account` has been created
      - `addresses` A57c9d69Accountaddress[]
        - `id` integer, required — Unique identifier of the resource `Account address`
        - `street` string, required
        - `street2` string, required
        - `zip` string, required
        - `city` string, required
        - `type` string, required
        - `created_at` integer, required — Timestamp `Account address` has been created
        - `country` A57c9d69Geolocationressource, required
          - `locations` unknown[], required
            - unknown
          - `from` integer, required — Timestamp `Geolocation ressource` from
          - `to` integer, required — Timestamp `Geolocation ressource` to
        - `for_invoice` boolean
      - `timezone` string
      - `website` string
      - `phone` string
      - `fax` string
      - `language` string
      - `locale` string, required — Represents a language identifier and a region identifier
      - `language_id` integer, required — Unique identifier of the `language` that is related to the resource `Account`
      - `logo` string
      - `order` object
        - `waiting_payment` integer, required
        - `in_process` integer, required
        - `blocked_order_id` unknown[], required
          - unknown
      - `beta` boolean, required
      - `type` string
      - `billing` boolean
      - `mailing` boolean
      - `billing_mailing` boolean
      - `workspace_only` boolean
      - `no_access` boolean
      - `is_blocked` boolean
      - `blocked_at` integer
      - `vat_number` string
      - `field1` string
      - `field2` string
      - `tags` A57c9d69Tag[]
        - `id` integer, required — Unique identifier of the resource `Tag`
        - `name` string, required — Name of the resource `Tag`
        - `color` integer, required
        - `product_count` integer — Product count related to the resource `Tag`
      - `services_already_demo` unknown[]
        - unknown
      - `customization_url` object
      - `nb_invitations` integer
      - `nb_users` integer
    - `consumption` A57c9d69Fieldresource
      - `value` number, required — the current monthly consumption (Byte)
      - `from` integer, required — Timestamp `Field resource` from
      - `to` integer, required — Timestamp `Field resource` to
    - `prices` unknown[]
      - unknown

---

[API](https://skmtc.dev/infomaniak/apis/api-reference-developer-tools.md) · [All operations](https://skmtc.dev/infomaniak/apis/api-reference-developer-tools/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/infomaniak/api-reference-developer-tools/revisions/667aae28fec6/schema)
