Sitecore OrderCloud Documentation

docs

Portal login

Get a list of products visible to this user.

GET

/me/products

200

Description

Only available to Buyer Users.

Roles

At least one of the roles below is required to access this endpoint.

FullAccessShopper

Parameters

NameTypeDescriptionPossible Values
catalogIDstringID of the catalog.---
categoryIDstringID of the category.---
depthstringIndicates how deep down the category hierarchy to return results. Valid values are a number of 1 or greater, or 'all'. Relative to CategoryID if specified, otherwise top level of the Catalog. Default is 'all'.---
searchstringWord or phrase to search for.---
searchOnarrayComma-delimited list of fields to search on.ID, ParentID, Name, Description
searchTypestringType of search to perform. Possible values: AnyTerm (default), AllTermsAnyField, AllTermsSameField, ExactPhrase, ExactPhrasePrefix.AnyTerm, AllTermsAnyField, AllTermsSameField, ExactPhrase, ExactPhrasePrefix
sortByarrayComma-delimited list of fields to sort by.OwnerID, Name, ID, ParentID, !OwnerID, !Name, !ID, !ParentID
pageintegerPage of results to return. Default: 1. When paginating through many items (> page 30), we recommend the "Last ID" method, as outlined in the Advanced Querying documentation.---
pageSizeintegerNumber of results to return per page. Default: 20, max: 100.---
filtersobjectAn object or dictionary representing key/value pairs to apply as filters. Valid keys are top-level properties of the returned model or 'xp.???'---
sellerIDstringID of the seller.---

Response Body

PropertyTypeFormatMax LengthPossible Values
Itemsarray---------
Metaobject---------

Get a list of products visible to this user.

GET

/me/products

200

Description

Only available to Buyer Users.

Roles

At least one of the roles below is required to access this endpoint.

FullAccessShopper

Parameters

NameTypeDescriptionPossible Values
catalogIDstringID of the catalog.---
categoryIDstringID of the category.---
depthstringIndicates how deep down the category hierarchy to return results. Valid values are a number of 1 or greater, or 'all'. Relative to CategoryID if specified, otherwise top level of the Catalog. Default is 'all'.---
searchstringWord or phrase to search for.---
searchOnarrayComma-delimited list of fields to search on.ID, ParentID, Name, Description
searchTypestringType of search to perform. Possible values: AnyTerm (default), AllTermsAnyField, AllTermsSameField, ExactPhrase, ExactPhrasePrefix.AnyTerm, AllTermsAnyField, AllTermsSameField, ExactPhrase, ExactPhrasePrefix
sortByarrayComma-delimited list of fields to sort by.OwnerID, Name, ID, ParentID, !OwnerID, !Name, !ID, !ParentID
pageintegerPage of results to return. Default: 1. When paginating through many items (> page 30), we recommend the "Last ID" method, as outlined in the Advanced Querying documentation.---
pageSizeintegerNumber of results to return per page. Default: 20, max: 100.---
filtersobjectAn object or dictionary representing key/value pairs to apply as filters. Valid keys are top-level properties of the returned model or 'xp.???'---
sellerIDstringID of the seller.---

Response Body

PropertyTypeFormatMax LengthPossible Values
Itemsarray---------
Metaobject---------
Sitecore Logo

© Copyright 2024, Sitecore OrderCloud®. All rights reserved.

Contact Us
Privacy Policy
Sitecore