Additional YRN support
Previously, the YaaS Global Resource Name (YRN) concept was introduced in the Cart service to support the product YRN in the product attribute of the cart item.
To further support addtional YRNs, the Cart service now supports YRNs in the following locations:
- When you add an item to the cart, the response returns the item ID (itemId) and corresponding YRN (yrn).
- When you add an item to the cart, the request contains the price ID (priceId) and possibly the price YRN (yrn). It is not mandatory to include the price YRN in the request.
- When you create a new cart, the response returns the cart ID (cartId) and corresponding YRN (yrn).
- When you add a discount to the cart, the request contains the coupon code (code) and possibly the coupon YRN (couponYrn). It is not mandatory to include the coupon YRN in the request. The response returns the discount ID (discountId) and corresponding YRN (yrn).
For more information about YRN support, see the tutorials in the Cart service.
If you find any information that is unclear or incorrect, please let us know so that we can improve the Dev Portal content.
Use our private help channel. Receive updates over email and contact our specialists directly.
If you need more information about this topic, visit hybris Experts to post your own question and interact with our community and experts.