contentDeclarationsByParent
Accepts parentId, businessUnitGroupId, businessUnitId, parentType arguments.
By default excludes Content Declarations with DELETED status, i.e deleted using soft-delete.
Returns: All/filtered Content Declarations for specified Business Unit or Business Unit Group parent entity.
contentDeclarationsByParent(
parentId: String!
businessUnitGroupId: String
businessUnitId: String
parentType: ContentDeclarationParentType
): [ContentDeclaration]
Arguments
contentDeclarationsByParent.parentId
● String!
non-null scalar
The ID of the parent entity.
contentDeclarationsByParent.businessUnitGroupId
● String
scalar
The ID of the Business Unit Group.
contentDeclarationsByParent.businessUnitId
● String
scalar
The ID of the Business Unit.
contentDeclarationsByParent.parentType
● ContentDeclarationParentType
enum
The type of the parent entity the content declarations belong to.
Type
ContentDeclaration
object
The content declaration will hold nutritional and allergens information about an item.
The content declaration can come from different sources, and should be handled accordingly. If the content declaration is from a Recipe it might be less accurate and trustworthy than one from a Supplier.