Skip to main content

SupplierProductContentItem

This has a many to one relationship with SupplierProduct, and provides a connection to the CDN items.

type SupplierProductContentItem {
alt: String
category: String
contentItemId: ID!
contentKey: String!
contentType: SupplierProductContentType!
createdAt: Date!
position: Int
sourceDetail: String!
sourceType: SupplierProductContentItemSourceType!
status: SupplierProductContentItemStatus!
supplierId: ID!
supplierProductId: ID!
updatedAt: Date!
updatedBy: String!
}

Fields

SupplierProductContentItem.alt ● String scalar

SupplierProductContentItem.category ● String scalar

SupplierProductContentItem.contentItemId ● ID! non-null scalar

SupplierProductContentItem.contentKey ● String! non-null scalar

The key to the file in the CDN

SupplierProductContentItem.contentType ● SupplierProductContentType! non-null enum

SupplierProductContentItem.createdAt ● Date! non-null scalar

SupplierProductContentItem.position ● Int scalar

Used to determine what order the content comes out in. Positive Integers are allowed, up to 9,999,999,999, and it does not have to be unique or sequential.

SupplierProductContentItem.sourceDetail ● String! non-null scalar

The original URL, or some kind of file pointer, based on sourceType

SupplierProductContentItem.sourceType ● SupplierProductContentItemSourceType! non-null enum

How did we receive this content item?

SupplierProductContentItem.status ● SupplierProductContentItemStatus! non-null enum

SupplierProductContentItem.supplierId ● ID! non-null scalar

SupplierProductContentItem.supplierProductId ● ID! non-null scalar

SupplierProductContentItem.updatedAt ● Date! non-null scalar

SupplierProductContentItem.updatedBy ● String! non-null scalar

Returned by

associateSupplierProductContentItem mutation ● createSupplierProductImageFromUrl mutation ● updateSupplierProductContentItem mutation

Member of

SupplierProduct object ● SupplierProductContentItemConnection object ● SupplierProductContentItemEdge object ● SupplierProductImageFromFileResponse object ● SupplierVariant object