Offer manifest reference¶
Creating Snowflake offers programmatically requires a manifest, written in YAML (https://yaml.org/spec/). Use the information provided here to learn about the parameters available in the offer manifest.
Offer manifest¶
Offer parameters¶
The parameters within the offer manifest allow you to create offers that meet your specific business requirements. Required and optional parameters are identified.
- access_start_date_preference
Required. String. The preferred offer start date. Accepted values are SPECIFIC_DATE or OFFER_ACCEPTED_DATE.
- comment
Optional. String. Comments about the offer that are only visible to providers.
- contract_type
Required. String. The contract type. Accepted values are SUBSCRIPTION or LIMITED_TIME.
- contract_duration_months
Required. Long. The contract duration in months.
- invoice_end_time
Required. Long. Invoice end date and time in milliseconds since Unix epoch.
- invoice_start_date_preference
Required. String. The preferred invoice start date. Accepted values include the following:
OFFER_ACCEPTED_DATE: Use with flat-fee plans.SPECIFIC_DATE: Use with flat-fee plans or (less commonly) with usage-based plans.FIRST_DAY_NEXT_MONTH: Use with flat fee plans or with new usage-based plans.TWO_DAYS_AFTER_OFFER_ACCEPTED_DATE: Use when allowing a consumer to accept a new usage-based plan that replaces an existing usage-based plan. In this case, it can take up to 2 days for the new usage-based pricing plan to take effect.
- invoice_start_time
Required. Long. The time the invoice was created.
- is_default
Required. Boolean. When TRUE, specifies that a default offer is included with the pricing plan. The default is FALSE.
- offer_display_name
Optional. String. The offer name visible to consumers.
- offer_expiration_time
Optional. Long. The offer expiration time.
- payment_terms
Required. Provides additional pricing plan parameters. You can specify the following parameters.
String. The pricing plan payment types. Accepted values are INVOICE and CREDIT_CARD.
String. The pricing plan installment schedule.
List. The allowed pricing plan payment methods. Accepted values are INVOICE and CREDIT_CARD.
- pricing_plan_name
Required. String. The pricing plan name.
- access_end_time
Required. Long. The time the consumer loses access to a trial listing.
- access_start_time
Required. Long. The time a consumer can access a listing.
- discount
Optional. Double. The offer discount.
- target_consumer
Optional. String. The target consumer for the offer. The format is
organization_name.account_name.- terms_of_service
Required. Provides additional pricing plan terms of service. You can specify the following parameters.
String. The terms of service type. Accepted values are CUSTOM, DEFAULT, and OFFLINE.
String. A link to custom terms of service.
- additional_information
Optional. Additional offer information.
Examples¶
The following example defines a limited-time offer that’s tied to a PRICING_PLAN_V2 pricing plan.