Collection types

This list contains all query and input types for the collection endpoints.


Collection

Fields

  • Name
    created_at
    Label
    TimeStamp!
    Description

    Timestamp of when the collection was created. Arguments: format: String = "fromNow", suffix: Boolean = true

  • Name
    description
    Type
    String!
    Description

    The collection description.

  • Name
    id
    Type
    ID!
    Description

    Unique identifier for the collection.

  • Name
    image
    Label
    Image
    Description

    The collection image.

  • Name
    image_id
    Type
    ID
    Description

    The collection image unique identifier.

  • Name
    name
    Type
    String!
    Description

    The collection name.

  • Name
    productsCount
    Type
    Int!
    Description

    The collection products count.

  • Name
    products_ids
    Type
    [ID!]!
    Description

    The products unique identifiers for the collection.

  • Name
    result
    Label
    [CollectionResult!]!
    Description

    The collection result. Arguments: cursor: String

  • Name
    slug
    Type
    String!
    Description

    The collection slug.

  • Name
    tags_ids
    Type
    [String!]!
    Description

    The tags unique identifiers for the collection.

  • Name
    type
    Label
    CollectionType!
    Description

    The collection type.

  • Name
    uid
    Type
    ID!
    Description

    Unique identifier for the collection.

  • Name
    updated_at
    Label
    TimeStamp!
    Description

    Timestamp of when the collection was updated. Arguments: format: String = "fromNow", suffix: Boolean = true


CollectionResult

Fields

  • Name
    compare_at_price
    Type
    Float!
    Description

    The collection result compare at price.

  • Name
    cursor
    Type
    String!
    Description

    The collection result cursor.

  • Name
    link
    Type
    String
    Description

    The collection result link.

  • Name
    price
    Type
    Float!
    Description

    The collection result price.

  • Name
    reviews_value
    Type
    Float!
    Description

    The collection result reviews value.

  • Name
    slug
    Type
    String!
    Description

    The collection result slug.

  • Name
    thumbnail
    Type
    String
    Description

    The collection result thumbnail.

  • Name
    title
    Type
    String!
    Description

    The collection result title.


CollectionInput

Fields

  • Name
    description
    Type
    String!
    Description

    The collection description.

  • Name
    image_id
    Type
    ID
    Description

    The collection image unique identifier.

  • Name
    name
    Type
    String!
    Description

    The collection name.

  • Name
    products_ids
    Type
    [ID!]
    Description

    The products unique identifiers for the collection.

  • Name
    slug
    Type
    String!
    Description

    The collection slug.

  • Name
    tags_ids
    Type
    [ID!]
    Description

    The tags unique identifiers for the collection.

  • Name
    type
    Label
    CollectionType!
    Description

    The collection type.


CollectionUpdateInput

Fields

  • Name
    description
    Type
    String
    Description

    The collection description.

  • Name
    image_id
    Type
    ID
    Description

    The collection image unique identifier.

  • Name
    name
    Type
    String
    Description

    The collection name.

  • Name
    products_ids
    Type
    [ID!]
    Description

    The products unique identifiers for the collection.

  • Name
    slug
    Type
    String
    Description

    The collection slug.

  • Name
    tags_ids
    Type
    [ID!]
    Description

    The tags unique identifiers for the collection.

  • Name
    type
    Label
    CollectionType
    Description

    The collection type.


CollectionConnection

A connection to a list of items.

Fields

  • Name
    edges
    Label
    [CollectionEdge]
    Description

    A list of edges.

  • Name
    pageInfo
    Label
    PageInfo!
    Description

    Information to aid in pagination.


CollectionEdge

An edge in a connection.

Fields

  • Name
    cursor
    Type
    String!
    Description

    A cursor for use in pagination

  • Name
    node
    Label
    Collection
    Description

    The item at the end of the edge


CollectionType

Values

  • Name
    specific_products
    Description
  • Name
    specific_tags
    Description