Manage Flexible Discounts

Partners can get flexible discounts for a product in a specific market segment and country. These discounts can be applied while placing the order or creating a subscription. For detailed guidance on managing Flexible Discounts through APIs, refer to Manage Flexible Discounts using APIs.

Testing flexible discounts in Sandbox

You can explore and test the Flexible Discounts feature in the Sandbox environment using the following options:

View the available flexible discounts

Go to Portal Resources > View Available Flex Discounts to view the available flexible discounts, as shown in the following figure:

Available Flexible Discounts

You can view Flexible Discounts applicable for all countries by selecting All Countries, as shown in the following figure:

All countries option

The UI displays a list of current discounts, including the following details:

You can use the discount code while placing an order using the Create Order API. This instruction applies to code-based flexible discounts only. Adobe Instant Deal Registration has no partner-visible code or ID and is applied automatically by Adobe.

Note: In the Sandbox environment, Flexible Discounts that include the term "FAILURE" in both the name and the code are specifically intended for validating failure scenarios. These codes are designed to always fail when used in PREVIEW and NEW order flows. Other discount codes can be used to validate successful application scenarios when all applicable eligibility criteria are met. Example:

Flex discounts with name and code with the term FAILURE in it

Test discount qualification criteria

Partner Sandbox supports additional qualification criteria for general discovery, customer-context discovery, and on-demand promotions. No new request parameter is required.

The Sandbox UI displays the same promotion-wide fields and grouped requirementSets as the API and includes a filter for error promotions.

Qualification-criteria Qualification-criteria

Review the qualification criteria returned for a discount and compare them with the test customer's VIPMP subscriptions and three-year commitment benefits. Use the documented renewal, commitment, and upgrade examples to guide your integration testing. Discovery does not guarantee that an order will qualify, so continue testing both successful and unsuccessful order-time qualification scenarios.

The additional qualification criteria do not introduce new 2141 reason codes or change Sandbox order qualification behavior.

Edit reusable flexible discounts

Reusable flexible discounts allow partners to continue using a discount for a customer even after the discount end date, provided the discount is still within its discount lock end date and the customer has already used the discount before the original end date.

The discount lock end date is exposed in the Get Flexible Discounts API response and in the UI for reusable flexible discounts:

Edit reusable flexible discounts

Partners can edit the end date of reusable flexible discounts of customers belong to them. This capability allows partners to continue using a reusable discount after its end date but before the discountLockEndDate. You can modify the end date of a reusable discount in the Edit Reusable Flex Discounts tab, as described in the workflow below. The updated end date must be later than the flexible discount start date and earlier than the discountLockEndDate.

Note: The time displayed in the UI, the Get Flexible Discounts API, and the Get Orders API is in UTC.

Workflow to reuse a flexible discount after its end date

To allow a customer to continue using a reusable flexible discount after its end date but before the discount lock end date, partners can perform the following steps:

  1. Discover reusable flexible discounts

    Use the Get Flexible Discounts API and identify reusable flexible discounts by checking the presence of the discount lock end date.

  2. Use the flexible discount before its end date

    Place an order for the customer using the reusable flexible discount before the discount end date.

  3. Update the discount end date using the UI

    After the order is completed, go to Portal Resources > View Available Flex Discounts > Edit Reusable Flex Discounts.

  4. Select the relevant reusable flexible discount and update its end date to a date that is later than the order creation date.

  5. Reuse the flexible discount after its end date

    Even though the discount end date has passed, the reusable flexible discount can still be used for the same customer as long as the current date is before the discount lock end date.

  6. Also customer can do PREVIEW_RENEWAL without line items to see how reusable discount is auto applied in preview renewal response, and can later enjoy same discount in Auto renewal order.

Example for editing the end date of reusable flexible discounts:

Note: The time displayed in the Edit Reusable Flex Discounts UI tab, the Get Flexible Discounts API, and the Get Orders API is in UTC.

Create, view, and manage closed discounts

Closed discounts are not returned by default in the Get Flexible Discounts API. However, you can retrieve a closed discount by searching with its specific discount code. Closed reusable discounts are listed separately in the Sandbox UI and are not returned by the Get Flexible Discount APIs.

In the Sandbox environment, you can browse closed discount templates, create and manage customer-specific codes, or select a listed closed reusable discount from the following tabs under Portal Resources > View Available Flex Discounts:

View closed discount templates

The Closed Discount Templates tab displays the closed discount templates available for closed discount creation. Select a market segment, such as COM, to view the templates available for that segment.

Closed discount templates

The list includes the following columns:

Note: Templates with FAILURE in the label are always-fail variants intended for validating failure of order scenarios.

View closed discount codes

The Closed Discounts (Customer-Specific) tab lists all closed discount codes created by your distributor, across all customers and statuses. The list includes the following columns:

Closed discount codes

Search and filter

You can search and filter closed discount codes by code, customer ID, label, template ID, or status. Searches are case-insensitive and support partial matches.

Create a closed discount code

To create a closed discount code:

  1. On the Closed Discounts (Customer-Specific) tab, select Create Closed Discount Code. The Create Closed Discount Code dialog opens.

    Closed Discount Dialog

  2. Complete the following fields:

    • Market Segment
    • Customer ID
    • Flex Discount Template
    • Expiry Date
    • Expiry Time
  3. Select Create.

  4. After the code is successfully created, the Closed Discount Code Created dialog displays the generated discount code and Customer ID, each with a copy button. Select Done to close the dialog.

    Closed discount code created

  5. If an active code already exists for that customer and template, the same code is returned with an Existing Code Returned message, showing the existing active code and customer ID.

    Existing code returned

    Code reuse message

You can use the generated code while placing an order using the Create Order API. Depending on the renewal preferences, you can also use the code with the Update Subscription API.

Note: Customer-specific closed discount codes are unique to a customer and can be used only by the customer for whom they were generated.

Delete a closed discount code

To delete a closed discount code, select Delete for the corresponding code in the Closed Discounts (Customer-Specific) tab.

You can delete closed discount codes in any redemption status, including ACTIVE, REDEEMED, and EXPIRED. Deleting unused or no longer needed codes helps free up available slots for creating new closed discount codes.

Note: A distributor can have a maximum of 20 closed discount codes in the Sandbox environment at any given time, across all customers and redemption statuses. If you reach this limit, delete one or more existing closed discount codes before creating additional codes.

Error messages

When creating a closed discount code, you may encounter the following validation errors:

View and apply closed reusable discounts

Closed reusable discounts are discounts that eligible customers can apply and reuse across terms. Similar to one-time codes, these are not listed on the APIs. They also do not have to be customer specific.

To view available closed reusable discounts, go to Portal Resources > View Available Flex Discounts > Closed Reusable Discounts to view the closed reusable discounts.

Closed Reusable Discounts tab with country, market segment, and renewal filters

Review the applicability labels and the comment above each displayed discount. The comment describes the criteria under which that discount can be applied. You must meet every criterion before selecting and applying the discount; matching the filters alone does not establish eligibility.

Each displayed discount object contains only code, outcomes, and qualification:

Example closed reusable discount showing applicability labels, criteria comment, code, qualification, and outcomes

Note: The code, country, currency, and discount value in this screenshot are illustrative Sandbox data, not production values or eligibility rules for other discounts. When applying closed reusable discount codes in sandbox, always review the criteria for the discount.

Once the discount is selected, use the code when placing an order, just as you would for other closed discounts. You do not need to generate a customer-specific code from a template for these listed discounts.

Closed reusable discounts can be reused in 3YC scenarios, but eligibility varies. Not all listed discounts apply to 3YC customers.

View flexible discounts applied to an Order

If a Flexible Discount is applied during order placement, its details can be viewed from the Order screen. For example, in Manage Records > Orders, the discount information appears within the lineItems section, as illustrated in the following figure:

View Flexible Discounts applied to an order

The flexDiscounts section displays the discount code and indicates whether it was successfully applied to the order.

View flexible discounts applied to a Subscription

In Manage Records > Customers, the subscription details display any flexible discounts applied for the upcoming renewal. Points to note:

Flexible discounts for 3YC and mid-term upgrades

You can test 3YC and mid-term upgrade (also known as anytime upgrade) discounts in Sandbox. Unlike the discounts that were originally on the sandbox that always succeed or always fail, these discounts will have slight validations associated with them to ensure you are integrating with the new criteria correctly.

Read more about the 3YC eligibility criteria and mid-term eligibility criteria.