Managing Integration and API Updates

Using Commerce OCC API Enhancements

Objective

After completing this lesson, you will be able to describe commerce OCC API enhancements, including wishlist bulk operations, subscription billing endpoints, password reset validation, and ASM session retrieval

Enhancements to Wishlist OCC APIs

The Wishlist OCC API has been extended with RESTful endpoints for efficient bulk wishlist management: search product codes across multiple wishlists, retrieve all product codes via a lightweight endpoint, and add multiple products in a single request. Additionally, wishlists now support storing product codes regardless of whether the product exists in the system — controlled by a store-level toggle — extending wishlist support to coming-soon and externally-managed products.

Update storefront wishlist components to use the new bulk add and cross-wishlist search endpoints. Use the lightweight product code endpoint for wishlist badge counts and quick checks. Enable the store-level toggle if your implementation needs to support external or coming-soon products in wishlists.

Enhancements to Wishlist OCC API

External Products Support in Wishlists

Enhancements to Subscription OCC APIs

Via the subscriptionocc extension, new OCC endpoints retrieve a list of subscription bills and detailed information for individual bills, surfacing SAP Subscription Billing data through the standard OCC API layer. Subscription billing data was previously only accessible via backend integrations — these OCC endpoints enable storefront self-service billing history pages without custom backend development.

Implement billing history and invoice detail pages in the storefront using these new endpoints. Ensure your SAP Subscription Billing integration is correctly configured to supply data to these endpoints.

Enhancements to Subscription OCC API

Password Reset Validation

The password reset OCC flow now validates the new password against the configured password policy before accepting the reset token. The password reset endpoint returns an error message related to a PasswordValidationError if the new password violates policy. Update storefront error handling to display specific policy violation messages rather than a generic error.

Password Reset Validation

ASM Recent Customer Sessions Endpoint

A new ASM OCC endpoint returns the list of customer sessions recently handled by the logged-in agent. The endpoint requires the assistedservicewebservices extension and a valid ASM agent OAuth token.

Use this endpoint in custom agent dashboards to surface recent customer interaction history.

ASM Recent Customer Sessions Endpoint

Lesson Summary

  • Wishlist OCC APIs now support bulk operations and cross-wishlist search; a store-level toggle enables wishlists to store product codes for coming-soon and externally-managed products.
  • New subscription OCC endpoints surface billing history and invoice details for storefront self-service pages.
  • Password reset validation now enforces the configured password policy via the OCC endpoint.
  • A new ASM endpoint retrieves recent customer sessions for agent dashboards.