My Oracle Support Banner

When Retrieving A Collection (Category) Is It Possible To Set The Sort Directive To Random (Doc ID 2424662.1)

Last updated on JULY 18, 2018

Applies to:

Oracle Commerce Cloud Service - Version N/A and later
Information in this document applies to any platform.

Goal

When using 'GET /ccstore/v1/products' -or- GET /ccstore/v1/collections, to retrieve a list of Products or Collections (categories) respectively, is it possible to set the sort directive to Random?

EXAMPLE
/ccstore/v1/products?sort=id:rand


 

Solution

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.