CreateOffer
Creates new offer.
Documentation Index
Fetch the complete documentation index at: https://docs.mottostreaming.com/llms.txt
Use this file to discover all available pages before exploring further.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Offer represents a collection of video content that end users can purchase. This can be used e.g. to define Entitlements against.
Name of the offer. This is an internal identifier and is not exposed to end users.
A map of localized titles for this offer. The key is the language code (ISO 639 - set 1), e.g. "en", "de", "fr", etc. If you want to localize the text for different regions of the same language, you can add the country code (ISO 3166-1 alpha-2), e.g. "en-US", "en-GB", etc.
A map of localized descriptions for this offer. The key is the language code (ISO 639 - set 1), e.g. "en", "de", "fr", etc. If you want to localize the text for different regions of the same language, you can add the country code (ISO 3166-1 alpha-2), e.g. "en-US", "en-GB", etc.
This offer applies to all videos in the project.
This offer applies to a specific set of videos, as defined by the target.
A map of localized logos for this offer. These should be small images with a transparent background. The key is the language code (ISO 639 - set 1), e.g. "en", "de", "fr", etc. If you want to localize the text for different regions of the same language, you can add the country code (ISO 3166-1 alpha-2), e.g. "en-US", "en-GB", etc. If not all languages are provided, the default language will be used.
A map of localized images for this offer. These should be large, visually attractive images. The key is the language code (ISO 639 - set 1), e.g. "en", "de", "fr", etc. If you want to localize the text for different regions of the same language, you can add the country code (ISO 3166-1 alpha-2), e.g. "en-US", "en-GB", etc. If not all languages are provided, the default language will be used.
An array of PriceOffers. When external_id is provided, pricing details are managed through a third-party system and this field should be empty.
The priority of the offer. Offers with higher priority will be shown first to the end user.
The amount of devices that can concurrently view the content associated with this offer from a single account. If not provided, there is no limit.
The visibility of the offer to end-users.
VISIBILITY_UNSPECIFIED, VISIBILITY_PUBLISHED, VISIBILITY_UNLISTED, VISIBILITY_HIDDEN Optional. If there is a video protection ruleset that should be kept in sync with this offer, the ID of that ruleset can be provided here.
This can be used to update the applicability of the ruleset when the applies_to field of the offer is updated.
This is primarily useful to ensure that authentication and entitlement rules are enforced for content that sits in this offer.
Note: the backend will NOT automatically apply these changes to the video protection ruleset. It is up to the client to apply the appropriate changes, using this field as a reference.
OK
Offer represents a collection of video content that end users can purchase. This can be used e.g. to define Entitlements against.