Sitecore Ordercloud

Get a list of spec product assignments

GET
/specs/productassignments

Roles

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

FullAccess
ProductAdmin
ProductReader

Parameters

NameTypeDescriptionPossible Values
searchstringWord or phrase to search for.---
searchOnarrayComma-delimited list of fields to search on.SpecID, ProductID
sortByarrayComma-delimited list of fields to sort by.SpecID, ProductID, DefaultOptionID, DefaultValue, !SpecID, !ProductID, !DefaultOptionID, !DefaultValue
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.???'---

Response Body

PropertyTypeFormatMax LengthPossible Values
Itemsarray---------
PropertyTypeFormatMax LengthPossible Values
SpecIDstring---------
ProductIDstring---------
DefaultValuestring---2000 characters---

DefaultOptionIDstring---------

Metaobject---------
PropertyTypeFormatMax LengthPossible Values
Pageintegerint32------
PageSizeintegerint32------
TotalCountintegerint32------
TotalPagesintegerint32------
ItemRangearray---------
NextPageKeystring---------