Product facets are extended properties (values on product XP) designated to drive data to support faceted navigation. Buyer list endpoints for products will populate and return facets in the meta object, a collection of facet names, values, and counts. Counts represent the total results that would be returned if the current set were filtered on that facet value.
Security
OAuth2(Required scopes: FullAccessProductFacetAdminProductFacetReader)
- Production sever for Ordercloudhttps://api.ordercloud.io/v1/productfacets
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
curl -i -X GET \
'https://api.ordercloud.io/v1/productfacets?search=string&searchOn=ID&sortBy=ListOrder&page=1&pageSize=20&filters=' \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>'Response
{ "Items": [ { … } ], "Meta": { "Page": 0, "PageSize": 0, "TotalCount": 0, "TotalPages": 0, "ItemRange": [ … ], "NextPageKey": "string" } }