Review types

This list contains all query and inputs types for the review endpoints.


Review

Fields

  • Name
    id
    Type
    ID!
    Description

    Unique identifier for the review.

  • Name
    uid
    Type
    ID!
    Description

    Unique identifier for the review.

  • Name
    created_at
    Label
    TimeStamp!
    Description

    Timestamp of when the review was created.

  • Name
    updated_at
    Label
    TimeStamp!
    Description

    Timestamp of when the review was updated.

  • Name
    content
    Type
    String!
    Description

    The review content.

  • Name
    rate
    Type
    Int!
    Description

    The review rate.

  • Name
    name
    Type
    String!
    Description

    The review name.

  • Name
    email
    Type
    String!
    Description

    The review email.

  • Name
    published
    Type
    Boolean!
    Description

    The review published.

  • Name
    product_id
    Type
    ID!
    Description

    The review product id.

  • Name
    avatar
    Type
    String!
    Description

    The review avatar.

  • Name
    images
    Label
    [Image!]!
    Description

    The review images.

  • Name
    images_ids
    Type
    [ID!]!
    Description

    The review image ids.

  • Name
    product
    Label
    Product!
    Description

    The review product.

  • Name
    date
    Label
    TimeStamp!
    Description

    The review date.

    Arguments
  • Name
    format
    Type
    String
    Description

    the reviews format argument string defaults to "fromNow" (ImmutableJS) value.

  • Name
    suffix
    Type
    Boolean
    Description

    the reviews suffix argument boolean defaults to true.


InputReview

Fields

  • Name
    content
    Type
    String!
    Description

    The review content.

  • Name
    rate
    Type
    Int!
    Description

    The review rate.

  • Name
    name
    Type
    String!
    Description

    The review name.

  • Name
    email
    Type
    String
    Description

    The review email.

  • Name
    date
    Label
    TimeStamp
    Description

    The review date.

  • Name
    published
    Type
    Boolean
    Description

    The review published.

  • Name
    images
    Type
    [ID!]
    Description

    The review images.


InputUpdateReview

Fields

  • Name
    content
    Type
    String
    Description

    The review content.

  • Name
    rate
    Type
    Int
    Description

    The review rate.

  • Name
    name
    Type
    String
    Description

    The review name.

  • Name
    email
    Type
    String
    Description

    The review email.

  • Name
    date
    Type
    TimeStamp
    Description

    The review date.

  • Name
    published
    Type
    Boolean
    Description

    The review published.

  • Name
    images
    Type
    [ID!]
    Description

    The review images.


ReviewConnection

Fields

  • Name
    pageInfo
    Type
    PageInfo!
    Description

    Review connection page info.

    type PageInfo {
    	hasNextPage: Boolean!
    	hasPreviousPage: Boolean!
    	startCursor: String
    	endCursor: String
    }
    
  • Name
    edges
    Type
    [ReviewEdge]
    Description

    The Review connection edges.

    type ReviewEdge {
    	node: Review
    	cursor: String!
    }