Admin API / Types

UpdateProductCollectionsInput

Input

The listings and the collection changes. addCollectionIds and removeCollectionIds each hold at most 100 IDs, each at most once, share no ID, and are not both empty. Else the call fails with VALIDATION_ERROR.

input UpdateProductCollectionsInput

Input fields

FieldTypeDescription
addCollectionIds[ID!]Manual listing collections that get each listing. Null or empty: none.
productIds[ID!]!1 to 100 listing IDs, each at most once. None, more than 100, or a repeated ID fails with VALIDATION_ERROR.
removeCollectionIds[ID!]Manual listing collections that lose each listing. Null or empty: none. A few older collections share their memberships with another collection: a removal from one also removes the listing from the other.