LiveMart GraphQL based headless eCommerce API API Reference

Sell Anywhere with Custom Storefront & Checkout

API Endpoints
Production:
https://api.livemart.store

Authentication

store-key

Provides Access to API

type
string
name
Store Admin/App Key
in
header

store-secret

Provides Access to API

type
string
name
Store Admin/App Secret
in
header

access-token

Provides Access to API

type
string
name
User/Customer access token
in
header

Store

Store endpoints

Store Update

Update Store

id:
string

(no description)

(no description)

Example

Request Content-Types: application/json
Query
mutation updateStore($id: String!, $params: UpdateStoreParams!){
  updateStore(id: $id, params: $params)
}
Variables
{
  "id": "string",
  "params": {
    "name": "string",
    "title": "string",
    "description": "string",
    "tags": [
      "string"
    ],
    "metaName": "string",
    "metaDescription": "string",
    "metaTags": [
      "string"
    ],
    "logo": "string",
    "favicon": "string",
    "bannerImage": "string",
    "isOpen": "boolean",
    "isCustomerLoyaltyEnabled": "boolean",
    "currency": "string",
    "website": "string",
    "supportEmail": "string",
    "supportPhone": "string",
    "street": "string",
    "streetOptional": "string",
    "city": "string",
    "state": "string",
    "postcode": "string",
    "locationID": "string"
  }
}
Try it now
200 OK

Successful operation

type
boolean
Response Content-Types: application/json
Response Example (200 OK)
{
  "data": {
    "updateStore": "boolean"
  }
}

Store Get by Secret

Get store by Secret

Example

Request Content-Types: application/json
Query
query storeBySecret{
  storeBySecret{
    name
    title
    description
    tags
    metaName
    metaDescription
    metaTags
    logo
    favicon
    bannerImage
    isOpen
    currency
    website
    supportEmail
    supportPhone
    createdAt
    updatedAt
    street
    streetOptional
    city
    state
    postcode
  }
}
Try it now
Response Content-Types: application/json
Response Example (200 OK)
{
  "data": {
    "storeBySecret": {
      "name": "string",
      "title": "string",
      "description": "string",
      "tags": [
        "string"
      ],
      "metaName": "string",
      "metaDescription": "string",
      "metaTags": [
        "string"
      ],
      "logo": "string",
      "favicon": "string",
      "bannerImage": "string",
      "isOpen": "boolean",
      "website": "string",
      "supportEmail": "string",
      "supportPhone": "string",
      "createdAt": "string",
      "updatedAt": "string",
      "street": "string",
      "streetOptional": "string",
      "city": "string",
      "state": "string",
      "postcode": "string"
    }
  }
}

Store Payment Methods

List Store Payment Methods

Example

Request Content-Types: application/json
Query
query paymentMethods{
  paymentMethods{
    id
    displayName
    currencyName
    currencySymbol
    isDigitalPayment
  }
}
Try it now
Response Content-Types: application/json
Response Example (200 OK)
{
  "data": {
    "paymentMethods": [
      {
        "id": "string",
        "displayName": "string",
        "currencyName": "string",
        "currencySymbol": "string",
        "isDigitalPayment": "boolean"
      }
    ]
  }
}

Calculate Payment Processing Fee

Calculate Payment Processing Fee

paymentMethodId:
string

(no description)

cartId:
string

(no description)

shippingMethodId:
string

(no description)

Example

Request Content-Types: application/json
Query
query checkPaymentProcessingFee($paymentMethodId: String!, $cartId: String!, $shippingMethodId: String){
  checkPaymentProcessingFee(paymentMethodId: $paymentMethodId, cartId: $cartId, shippingMethodId: $shippingMethodId)
}
Variables
{
  "paymentMethodId": "string",
  "cartId": "string",
  "shippingMethodId": "string"
}
Try it now
200 OK

Successful operation

type
integer
Response Content-Types: application/json
Response Example (200 OK)
{
  "data": {
    "checkPaymentProcessingFee": "integer"
  }
}

Store Media

Store Media endpoints

Store Media New

New Store Media

bucket:
string

(no description)

contentFile:
object

(no description)

Example

Request Content-Types: application/json
Query
mutation newMedia($bucket: String!, $contentFile: Upload!){
  newMedia(bucket: $bucket, contentFile: $contentFile)
}
Variables
{
  "bucket": "string"
}
Try it now
200 OK

Successful operation

type
string
Response Content-Types: application/json
Response Example (200 OK)
{
  "data": {
    "newMedia": "string"
  }
}

Store Media List

List Store Media

sort:

(no description)

pagination:

(no description)

Example

Request Content-Types: application/json
Query
query mediaByAdmin($sort: Sort, $pagination: Pagination){
  mediaByAdmin(sort: $sort, pagination: $pagination){
    path
  }
}
Variables
{
  "sort": {
    "by": "string",
    "direction": "string"
  },
  "pagination": {
    "perPage": "number",
    "page": "number"
  }
}
Try it now
Response Content-Types: application/json
Response Example (200 OK)
{
  "data": {
    "mediaByAdmin": [
      {
        "path": "string"
      }
    ]
  }
}

Store Media Delete

Delete Store Media

path:
string

(no description)

Example

Request Content-Types: application/json
Query
mutation deleteMedia($path: String!){
  deleteMedia(path: $path)
}
Variables
{
  "path": "string"
}
Try it now
200 OK

Successful operation

type
boolean
Response Content-Types: application/json
Response Example (200 OK)
{
  "data": {
    "deleteMedia": "boolean"
  }
}

Collection

Product collection endpoints

Collection New

New Collection

(no description)

Example

Request Content-Types: application/json
Query
mutation newCollection($params: NewCollectionParams!){
  newCollection(params: $params){
    id
    name
    slug
    isPublished
    description
    image
    createdAt
    updatedAt
    productCount
    position
  }
}
Variables
{
  "params": {
    "name": "string",
    "slug": "string",
    "isPublished": "boolean",
    "description": "string",
    "image": "string",
    "position": "number"
  }
}
Try it now
Response Content-Types: application/json
Response Example (200 OK)
{
  "data": {
    "newCollection": {
      "id": "string",
      "name": "string",
      "slug": "string",
      "isPublished": "boolean",
      "description": "string",
      "image": "string",
      "createdAt": "string",
      "updatedAt": "string",
      "productCount": "integer",
      "position": "integer"
    }
  }
}

Collection Update

Update Collection

id:
string

(no description)

(no description)

Example

Request Content-Types: application/json
Query
mutation updateCollection($id: String!, $params: UpdateCollectionParams!){
  updateCollection(id: $id, params: $params){
    id
    name
    slug
    isPublished
    description
    image
    createdAt
    updatedAt
    productCount
    position
  }
}
Variables
{
  "id": "string",
  "params": {
    "name": "string",
    "slug": "string",
    "isPublished": "boolean",
    "description": "string",
    "image": "string",
    "position": "number"
  }
}
Try it now
Response Content-Types: application/json
Response Example (200 OK)
{
  "data": {
    "updateCollection": {
      "id": "string",
      "name": "string",
      "slug": "string",
      "isPublished": "boolean",
      "description": "string",
      "image": "string",
      "createdAt": "string",
      "updatedAt": "string",
      "productCount": "integer",
      "position": "integer"
    }
  }
}

Collection by Admin

Get Collection by ID as Admin

id:
string

(no description)

Example

Request Content-Types: application/json
Query
query collectionByAdmin($id: String!){
  collectionByAdmin(id: $id){
    id
    name
    slug
    isPublished
    description
    image
    createdAt
    updatedAt
    productCount
    position
  }
}
Variables
{
  "id": "string"
}
Try it now
Response Content-Types: application/json
Response Example (200 OK)
{
  "data": {
    "collectionByAdmin": {
      "id": "string",
      "name": "string",
      "slug": "string",
      "isPublished": "boolean",
      "description": "string",
      "image": "string",
      "createdAt": "string",
      "updatedAt": "string",
      "productCount": "integer",
      "position": "integer"
    }
  }
}

Collections by Admin

List collections as Admin

search:

(no description)

sort:

(no description)

pagination:

(no description)

Example

Request Content-Types: application/json
Query
query collectionsByAdmin($search: Search, $sort: Sort, $pagination: Pagination){
  collectionsByAdmin(search: $search, sort: $sort, pagination: $pagination){
    id
    name
    slug
    isPublished
    description
    image
    createdAt
    updatedAt
    productCount
    position
  }
}
Variables
{
  "search": {
    "query": "string",
    "filters": [
      {
        "key": "string",
        "value": "string"
      }
    ]
  },
  "sort": {
    "by": "string",
    "direction": "string"
  },
  "pagination": {
    "perPage": "number",
    "page": "number"
  }
}
Try it now
Response Content-Types: application/json
Response Example (200 OK)
{
  "data": {
    "collectionsByAdmin": [
      {
        "id": "string",
        "name": "string",
        "slug": "string",
        "isPublished": "boolean",
        "description": "string",
        "image": "string",
        "createdAt": "string",
        "updatedAt": "string",
        "productCount": "integer",
        "position": "integer"
      }
    ]
  }
}

Collection

Get collection by ID

id:
string

(no description)

Example

Request Content-Types: application/json
Query
query collection($id: String!){
  collection(id: $id){
    id
    name
    slug
    description
    image
    productCount
    position
  }
}
Variables
{
  "id": "string"
}
Try it now
Response Content-Types: application/json
Response Example (200 OK)
{
  "data": {
    "collection": {
      "id": "string",
      "name": "string",
      "slug": "string",
      "description": "string",
      "image": "string",
      "productCount": "integer",
      "position": "integer"
    }
  }
}

Collections

List collections

search:

(no description)

sort:

(no description)

pagination:

(no description)

Example

Request Content-Types: application/json
Query
query collections($search: Search, $sort: Sort, $pagination: Pagination){
  collections(search: $search, sort: $sort, pagination: $pagination){
    id
    name
    slug
    description
    image
    productCount
    position
  }
}
Variables
{
  "search": {
    "query": "string",
    "filters": [
      {
        "key": "string",
        "value": "string"
      }
    ]
  },
  "sort": {
    "by": "string",
    "direction": "string"
  },
  "pagination": {
    "perPage": "number",
    "page": "number"
  }
}
Try it now
Response Content-Types: application/json
Response Example (200 OK)
{
  "data": {
    "collections": [
      {
        "id": "string",
        "name": "string",
        "slug": "string",
        "description": "string",
        "image": "string",
        "productCount": "integer",
        "position": "integer"
      }
    ]
  }
}

Collection Add products

Add products to collection

collectionId:
string

(no description)

productIds:
string[]

(no description)

Example

Request Content-Types: application/json
Query
mutation collectionAddProducts($collectionId: String!, $productIds: [String!]!){
  collectionAddProducts(collectionId: $collectionId, productIds: $productIds)
}
Variables
{
  "collectionId": "string",
  "productIds": [
    "string"
  ]
}
Try it now
200 OK

Successful operation

type
boolean
Response Content-Types: application/json
Response Example (200 OK)
{
  "data": {
    "collectionAddProducts": "boolean"
  }
}

Collection Remove products

Remove products from collection

collectionId:
string

(no description)

productIds:
string[]

(no description)

Example

Request Content-Types: application/json
Query
mutation collectionRemoveProducts($collectionId: String!, $productIds: [String!]!){
  collectionRemoveProducts(collectionId: $collectionId, productIds: $productIds)
}
Variables
{
  "collectionId": "string",
  "productIds": [
    "string"
  ]
}
Try it now
200 OK

Successful operation

type
boolean
Response Content-Types: application/json
Response Example (200 OK)
{
  "data": {
    "collectionRemoveProducts": "boolean"
  }
}

Category

Product categories

Category New

New Category

(no description)

Example

Request Content-Types: application/json
Query
mutation newCategory($params: NewCategoryParams!){
  newCategory(params: $params){
    id
    name
    slug
    isPublished
    description
    image
    createdAt
    updatedAt
    productCount
    position
  }
}
Variables
{
  "params": {
    "name": "string",
    "slug": "string",
    "isPublished": "boolean",
    "description": "string",
    "image": "string",
    "position": "number"
  }
}
Try it now
Response Content-Types: application/json
Response Example (200 OK)
{
  "data": {
    "newCategory": {
      "id": "string",
      "name": "string",
      "slug": "string",
      "isPublished": "boolean",
      "description": "string",
      "image": "string",
      "createdAt": "string",
      "updatedAt": "string",
      "productCount": "integer",
      "position": "integer"
    }
  }
}

Category Update

Update Category

id:
string

(no description)

(no description)

Example

Request Content-Types: application/json
Query
mutation updateCategory($id: String!, $params: UpdateCategoryParams!){
  updateCategory(id: $id, params: $params){
    id
    name
    slug
    isPublished
    description
    image
    createdAt
    updatedAt
    productCount
    position
  }
}
Variables
{
  "id": "string",
  "params": {
    "name": "string",
    "slug": "string",
    "isPublished": "boolean",
    "description": "string",
    "image": "string",
    "position": "number"
  }
}
Try it now
Response Content-Types: application/json
Response Example (200 OK)
{
  "data": {
    "updateCategory": {
      "id": "string",
      "name": "string",
      "slug": "string",
      "isPublished": "boolean",
      "description": "string",
      "image": "string",
      "createdAt": "string",
      "updatedAt": "string",
      "productCount": "integer",
      "position": "integer"
    }
  }
}

Category by Admin

Get Category by ID as Admin

id:
string

(no description)

Example

Request Content-Types: application/json
Query
query categoryByAdmin($id: String!){
  categoryByAdmin(id: $id){
    id
    name
    slug
    isPublished
    description
    image
    createdAt
    updatedAt
    productCount
    position
  }
}
Variables
{
  "id": "string"
}
Try it now
Response Content-Types: application/json
Response Example (200 OK)
{
  "data": {
    "categoryByAdmin": {
      "id": "string",
      "name": "string",
      "slug": "string",
      "isPublished": "boolean",
      "description": "string",
      "image": "string",
      "createdAt": "string",
      "updatedAt": "string",
      "productCount": "integer",
      "position": "integer"
    }
  }
}

Categories by Admin

List categories as Admin

search:

(no description)

sort:

(no description)

pagination:

(no description)

Example

Request Content-Types: application/json
Query
query categoriesByAdmin($search: Search, $sort: Sort, $pagination: Pagination){
  categoriesByAdmin(search: $search, sort: $sort, pagination: $pagination){
    id
    name
    slug
    isPublished
    description
    image
    createdAt
    updatedAt
    productCount
    position
  }
}
Variables
{
  "search": {
    "query": "string",
    "filters": [
      {
        "key": "string",
        "value": "string"
      }
    ]
  },
  "sort": {
    "by": "string",
    "direction": "string"
  },
  "pagination": {
    "perPage": "number",
    "page": "number"
  }
}
Try it now
Response Content-Types: application/json
Response Example (200 OK)
{
  "data": {
    "categoriesByAdmin": [
      {
        "id": "string",
        "name": "string",
        "slug": "string",
        "isPublished": "boolean",
        "description": "string",
        "image": "string",
        "createdAt": "string",
        "updatedAt": "string",
        "productCount": "integer",
        "position": "integer"
      }
    ]
  }
}

Category

Get category by ID

id:
string

(no description)

Example

Request Content-Types: application/json
Query
query category($id: String!){
  category(id: $id){
    id
    name
    slug
    description
    image
    productCount
    position
  }
}
Variables
{
  "id": "string"
}
Try it now
Response Content-Types: application/json
Response Example (200 OK)
{
  "data": {
    "category": {
      "id": "string",
      "name": "string",
      "slug": "string",
      "description": "string",
      "image": "string",
      "productCount": "integer",
      "position": "integer"
    }
  }
}

Categories

List categories

search:

(no description)

sort:

(no description)

pagination:

(no description)

Example

Request Content-Types: application/json
Query
query categories($search: Search, $sort: Sort, $pagination: Pagination){
  categories(search: $search, sort: $sort, pagination: $pagination){
    id
    name
    slug
    description
    image
    productCount
    position
  }
}
Variables
{
  "search": {
    "query": "string",
    "filters": [
      {
        "key": "string",
        "value": "string"
      }
    ]
  },
  "sort": {
    "by": "string",
    "direction": "string"
  },
  "pagination": {
    "perPage": "number",
    "page": "number"
  }
}
Try it now
Response Content-Types: application/json
Response Example (200 OK)
{
  "data": {
    "categories": [
      {
        "id": "string",
        "name": "string",
        "slug": "string",
        "description": "string",
        "image": "string",
        "productCount": "integer",
        "position": "integer"
      }
    ]
  }
}

Product

Store product endpoints

Product New

Creates new product

params:

(no description)

Example

Request Content-Types: application/json
Query
mutation newProduct($params: NewProduct!){
  newProduct(params: $params){
    id
    name
    slug
    description
    isPublished
    sku
    stock
    maxItemPerOrder
    price
    cost
    images
    isDigitalProduct
    views
    createdAt
    weight
    weightUnit
    productUnit
    updatedAt
    productSpecificDiscount
  }
}
Variables
{
  "params": {
    "name": "string",
    "slug": "string",
    "description": "string",
    "isPublished": "boolean",
    "sku": "string",
    "stock": "number",
    "maxItemPerOrder": "number",
    "price": "number",
    "cost": "number",
    "weight": "number",
    "weightUnit": "string",
    "productUnit": "string",
    "images": [
      "string"
    ],
    "isDigitalProduct": "boolean",
    "categoryId": "string",
    "productSpecificDiscount": "number"
  }
}
Try it now
Response Content-Types: application/json
Response Example (200 OK)
{
  "data": {
    "newProduct": {
      "id": "string",
      "name": "string",
      "slug": "string",
      "description": "string",
      "isPublished": "boolean",
      "sku": "string",
      "stock": "integer",
      "maxItemPerOrder": "integer",
      "price": "integer",
      "cost": "integer",
      "images": [
        "string"
      ],
      "isDigitalProduct": "boolean",
      "views": "integer",
      "createdAt": "string",
      "weight": "number",
      "updatedAt": "string",
      "productSpecificDiscount": "integer"
    }
  }
}

Product Update

Update an existing product by ID

productId:
string

(no description)

params:

(no description)

Example

Request Content-Types: application/json
Query
mutation updateProduct($productId: String!, $params: UpdateProduct!){
  updateProduct(productId: $productId, params: $params){
    id
    name
    slug
    description
    isPublished
    sku
    stock
    maxItemPerOrder
    price
    cost
    images
    isDigitalProduct
    views
    createdAt
    weight
    weightUnit
    productUnit
    updatedAt
    productSpecificDiscount
  }
}
Variables
{
  "productId": "string",
  "params": {
    "name": "string",
    "slug": "string",
    "description": "string",
    "isPublished": "boolean",
    "sku": "string",
    "stock": "number",
    "maxItemPerOrder": "number",
    "price": "number",
    "cost": "number",
    "weight": "number",
    "weightUnit": "string",
    "productUnit": "string",
    "images": [
      "string"
    ],
    "isDigitalProduct": "boolean",
    "categoryId": "string",
    "productSpecificDiscount": "number"
  }
}
Try it now
Response Content-Types: application/json
Response Example (200 OK)
{
  "data": {
    "updateProduct": {
      "id": "string",
      "name": "string",
      "slug": "string",
      "description": "string",
      "isPublished": "boolean",
      "sku": "string",
      "stock": "integer",
      "maxItemPerOrder": "integer",
      "price": "integer",
      "cost": "integer",
      "images": [
        "string"
      ],
      "isDigitalProduct": "boolean",
      "views": "integer",
      "createdAt": "string",
      "weight": "number",
      "updatedAt": "string",
      "productSpecificDiscount": "integer"
    }
  }
}

Product as Admin

Get single product by ID as Admin

productId:
string

(no description)

Example

Request Content-Types: application/json
Query
query productByAdmin($productId: String!){
  productByAdmin(productId: $productId){
    id
    name
    slug
    description
    isPublished
    sku
    stock
    maxItemPerOrder
    price
    cost
    images
    isDigitalProduct
    views
    createdAt
    weight
    weightUnit
    productUnit
    updatedAt
    productSpecificDiscount
  }
}
Variables
{
  "productId": "string"
}
Try it now
Response Content-Types: application/json
Response Example (200 OK)
{
  "data": {
    "productByAdmin": {
      "id": "string",
      "name": "string",
      "slug": "string",
      "description": "string",
      "isPublished": "boolean",
      "sku": "string",
      "stock": "integer",
      "maxItemPerOrder": "integer",
      "price": "integer",
      "cost": "integer",
      "images": [
        "string"
      ],
      "isDigitalProduct": "boolean",
      "views": "integer",
      "createdAt": "string",
      "weight": "number",
      "updatedAt": "string",
      "productSpecificDiscount": "integer"
    }
  }
}

Products as Admin

List all products as Admin

search:

(no description)

sort:

(no description)

pagination:

(no description)

Example

Request Content-Types: application/json
Query
query productsByAdmin($search: Search, $sort: Sort, $pagination: Pagination){
  productsByAdmin(search: $search, sort: $sort, pagination: $pagination){
    id
    name
    slug
    description
    isPublished
    sku
    stock
    maxItemPerOrder
    price
    cost
    images
    isDigitalProduct
    views
    createdAt
    weight
    weightUnit
    productUnit
    updatedAt
    productSpecificDiscount
  }
}
Variables
{
  "search": {
    "query": "string",
    "filters": [
      {
        "key": "string",
        "value": "string"
      }
    ]
  },
  "sort": {
    "by": "string",
    "direction": "string"
  },
  "pagination": {
    "perPage": "number",
    "page": "number"
  }
}
Try it now
Response Content-Types: application/json
Response Example (200 OK)
{
  "data": {
    "productsByAdmin": [
      {
        "id": "string",
        "name": "string",
        "slug": "string",
        "description": "string",
        "isPublished": "boolean",
        "sku": "string",
        "stock": "integer",
        "maxItemPerOrder": "integer",
        "price": "integer",
        "cost": "integer",
        "images": [
          "string"
        ],
        "isDigitalProduct": "boolean",
        "views": "integer",
        "createdAt": "string",
        "weight": "number",
        "updatedAt": "string",
        "productSpecificDiscount": "integer"
      }
    ]
  }
}

Search products as Admin

Search products as Admin

search:

(no description)

sort:

(no description)

pagination:

(no description)

Example

Request Content-Types: application/json
Query
query productSearchByAdmin($search: Search, $sort: Sort, $pagination: Pagination){
  productSearchByAdmin(search: $search, sort: $sort, pagination: $pagination){
    id
    name
    slug
    description
    isPublished
    sku
    stock
    maxItemPerOrder
    price
    cost
    images
    isDigitalProduct
    views
    createdAt
    weight
    weightUnit
    productUnit
    updatedAt
    productSpecificDiscount
  }
}
Variables
{
  "search": {
    "query": "string",
    "filters": [
      {
        "key": "string",
        "value": "string"
      }
    ]
  },
  "sort": {
    "by": "string",
    "direction": "string"
  },
  "pagination": {
    "perPage": "number",
    "page": "number"
  }
}
Try it now
Response Content-Types: application/json
Response Example (200 OK)
{
  "data": {
    "productSearchByAdmin": [
      {
        "id": "string",
        "name": "string",
        "slug": "string",
        "description": "string",
        "isPublished": "boolean",
        "sku": "string",
        "stock": "integer",
        "maxItemPerOrder": "integer",
        "price": "integer",
        "cost": "integer",
        "images": [
          "string"
        ],
        "isDigitalProduct": "boolean",
        "views": "integer",
        "createdAt": "string",
        "weight": "number",
        "updatedAt": "string",
        "productSpecificDiscount": "integer"
      }
    ]
  }
}

Search products

Search products

search:

(no description)

sort:

(no description)

pagination:

(no description)

Example

Request Content-Types: application/json
Query
query productSearch($search: Search, $sort: Sort, $pagination: Pagination){
  productSearch(search: $search, sort: $sort, pagination: $pagination){
    id
    name
    slug
    description
    sku
    stock
    maxItemPerOrder
    price
    images
    isDigitalProduct
    views
    productUnit
    createdAt
    updatedAt
    productSpecificDiscount
  }
}
Variables
{
  "search": {
    "query": "string",
    "filters": [
      {
        "key": "string",
        "value": "string"
      }
    ]
  },
  "sort": {
    "by": "string",
    "direction": "string"
  },
  "pagination": {
    "perPage": "number",
    "page": "number"
  }
}
Try it now
Response Content-Types: application/json
Response Example (200 OK)
{
  "data": {
    "productSearch": [
      {
        "id": "string",
        "name": "string",
        "slug": "string",
        "description": "string",
        "sku": "string",
        "stock": "integer",
        "maxItemPerOrder": "integer",
        "price": "integer",
        "images": [
          "string"
        ],
        "isDigitalProduct": "boolean",
        "views": "integer",
        "createdAt": "string",
        "updatedAt": "string",
        "productSpecificDiscount": "integer"
      }
    ]
  }
}

Get single product by ID

Get single product using ID

productId:
string

(no description)

Example

Request Content-Types: application/json
Query
query product($productId: String!){
  product(productId: $productId){
    id
    name
    slug
    description
    sku
    stock
    maxItemPerOrder
    price
    images
    isDigitalProduct
    views
    productUnit
    createdAt
    updatedAt
    productSpecificDiscount
  }
}
Variables
{
  "productId": "string"
}
Try it now
Response Content-Types: application/json
Response Example (200 OK)
{
  "data": {
    "product": {
      "id": "string",
      "name": "string",
      "slug": "string",
      "description": "string",
      "sku": "string",
      "stock": "integer",
      "maxItemPerOrder": "integer",
      "price": "integer",
      "images": [
        "string"
      ],
      "isDigitalProduct": "boolean",
      "views": "integer",
      "createdAt": "string",
      "updatedAt": "string",
      "productSpecificDiscount": "integer"
    }
  }
}

Get single product by Slug

Get single product using Slug

productSlug:
string

(no description)

Example

Request Content-Types: application/json
Query
query productBySlug($productSlug: String!){
  productBySlug(productSlug: $productSlug){
    id
    name
    slug
    description
    sku
    stock
    maxItemPerOrder
    price
    images
    isDigitalProduct
    views
    productUnit
    createdAt
    updatedAt
    productSpecificDiscount
  }
}
Variables
{
  "productSlug": "string"
}
Try it now
Response Content-Types: application/json
Response Example (200 OK)
{
  "data": {
    "productBySlug": {
      "id": "string",
      "name": "string",
      "slug": "string",
      "description": "string",
      "sku": "string",
      "stock": "integer",
      "maxItemPerOrder": "integer",
      "price": "integer",
      "images": [
        "string"
      ],
      "isDigitalProduct": "boolean",
      "views": "integer",
      "createdAt": "string",
      "updatedAt": "string",
      "productSpecificDiscount": "integer"
    }
  }
}

Products

List all products

search:

(no description)

sort:

(no description)

pagination:

(no description)

Example

Request Content-Types: application/json
Query
query products($search: Search, $sort: Sort, $pagination: Pagination){
  products(search: $search, sort: $sort, pagination: $pagination){
    id
    name
    slug
    description
    sku
    stock
    maxItemPerOrder
    price
    images
    isDigitalProduct
    views
    productUnit
    createdAt
    updatedAt
    productSpecificDiscount
  }
}
Variables
{
  "search": {
    "query": "string",
    "filters": [
      {
        "key": "string",
        "value": "string"
      }
    ]
  },
  "sort": {
    "by": "string",
    "direction": "string"
  },
  "pagination": {
    "perPage": "number",
    "page": "number"
  }
}
Try it now
Response Content-Types: application/json
Response Example (200 OK)
{
  "data": {
    "products": [
      {
        "id": "string",
        "name": "string",
        "slug": "string",
        "description": "string",
        "sku": "string",
        "stock": "integer",
        "maxItemPerOrder": "integer",
        "price": "integer",
        "images": [
          "string"
        ],
        "isDigitalProduct": "boolean",
        "views": "integer",
        "createdAt": "string",
        "updatedAt": "string",
        "productSpecificDiscount": "integer"
      }
    ]
  }
}

Attribute Add

Add new attribute to a product

productId:
string

(no description)

(no description)

Example

Request Content-Types: application/json
Query
mutation productAddAttribute($productId: String!, $params: AddAttributeParams!){
  productAddAttribute(productId: $productId, params: $params){
    id
    name
    values
    isRequired
    createdAt
    updateAt
  }
}
Variables
{
  "productId": "string",
  "params": {
    "name": "string",
    "values": [
      "string"
    ],
    "isRequired": "boolean"
  }
}
Try it now
Response Content-Types: application/json
Response Example (200 OK)
{
  "data": {
    "productAddAttribute": {
      "id": "string",
      "name": "string",
      "values": [
        "string"
      ],
      "isRequired": "boolean",
      "createdAt": "string",
      "updateAt": "string"
    }
  }
}

Attribute Update

Update Attribute

productId:
string

(no description)

attributeId:
string

(no description)

(no description)

Example

Request Content-Types: application/json
Query
mutation productUpdateAttribute($productId: String!, $attributeId: String!, $params: UpdateAttributeParams!){
  productUpdateAttribute(productId: $productId, attributeId: $attributeId, params: $params){
    id
    name
    values
    isRequired
    createdAt
    updateAt
  }
}
Variables
{
  "productId": "string",
  "attributeId": "string",
  "params": {
    "name": "string",
    "values": [
      "string"
    ],
    "isRequired": "boolean"
  }
}
Try it now
Response Content-Types: application/json
Response Example (200 OK)
{
  "data": {
    "productUpdateAttribute": {
      "id": "string",
      "name": "string",
      "values": [
        "string"
      ],
      "isRequired": "boolean",
      "createdAt": "string",
      "updateAt": "string"
    }
  }
}

Attribute Remove

Remove Attribute

productId:
string

(no description)

attributeId:
string

(no description)

Example

Request Content-Types: application/json
Query
mutation productRemoveAttribute($productId: String!, $attributeId: String!){
  productRemoveAttribute(productId: $productId, attributeId: $attributeId)
}
Variables
{
  "productId": "string",
  "attributeId": "string"
}
Try it now
200 OK

Successful operation

type
boolean
Response Content-Types: application/json
Response Example (200 OK)
{
  "data": {
    "productRemoveAttribute": "boolean"
  }
}

Variation Add

Add new variation to product

productId:
string

(no description)

(no description)

Example

Request Content-Types: application/json
Query
mutation productAddVariation($productId: String!, $params: AddVariationParams!){
  productAddVariation(productId: $productId, params: $params){
    id
    name
    price
    cost
    sku
    stock
  }
}
Variables
{
  "productId": "string",
  "params": {
    "name": "string",
    "price": "number",
    "cost": "number",
    "sku": "string",
    "stock": "number",
    "weight": "number",
    "weightUnit": "string"
  }
}
Try it now
Response Content-Types: application/json
Response Example (200 OK)
{
  "data": {
    "productAddVariation": {
      "id": "string",
      "name": "string",
      "price": "integer",
      "cost": "integer",
      "sku": "string",
      "stock": "integer"
    }
  }
}

Variation Update

Update Variation

productId:
string

(no description)

variationId:
string

(no description)

(no description)

Example

Request Content-Types: application/json
Query
mutation productUpdateVariation($productId: String!, $variationId: String!, $params: UpdateVariationParams!){
  productUpdateVariation(productId: $productId, variationId: $variationId, params: $params){
    id
    name
    price
    cost
    sku
    stock
  }
}
Variables
{
  "productId": "string",
  "variationId": "string",
  "params": {
    "name": "string",
    "price": "number",
    "cost": "number",
    "sku": "string",
    "stock": "number",
    "weight": "number",
    "weightUnit": "string"
  }
}
Try it now
Response Content-Types: application/json
Response Example (200 OK)
{
  "data": {
    "productUpdateVariation": {
      "id": "string",
      "name": "string",
      "price": "integer",
      "cost": "integer",
      "sku": "string",
      "stock": "integer"
    }
  }
}

Variation Remove

Remove Variation

productId:
string

(no description)

variationId:
string

(no description)

Example

Request Content-Types: application/json
Query
mutation productRemoveVariation($productId: String!, $variationId: String!){
  productRemoveVariation(productId: $productId, variationId: $variationId)
}
Variables
{
  "productId": "string",
  "variationId": "string"
}
Try it now
200 OK

Successful operation

type
boolean
Response Content-Types: application/json
Response Example (200 OK)
{
  "data": {
    "productRemoveVariation": "boolean"
  }
}

Digital Item Add

Add new digital to product

productId:
string

(no description)

(no description)

Example

Request Content-Types: application/json
Query
mutation productAddDigitalItem($productId: String!, $params: AddDigitalItemParams!){
  productAddDigitalItem(productId: $productId, params: $params){
    id
    title
    description
    position
  }
}
Variables
{
  "productId": "string",
  "params": {
    "title": "string",
    "description": "string",
    "position": "number"
  }
}
Try it now
Response Content-Types: application/json
Response Example (200 OK)
{
  "data": {
    "productAddDigitalItem": {
      "id": "string",
      "title": "string",
      "description": "string",
      "position": "integer"
    }
  }
}

Digital Item Update

Update Digital Item

productId:
string

(no description)

itemId:
string

(no description)

(no description)

Example

Request Content-Types: application/json
Query
mutation productUpdateDigitalItem($productId: String!, $itemId: String!, $params: UpdateDigitalItemParams!){
  productUpdateDigitalItem(productId: $productId, itemId: $itemId, params: $params){
    id
    title
    description
    position
  }
}
Variables
{
  "productId": "string",
  "itemId": "string",
  "params": {
    "title": "string",
    "description": "string",
    "position": "number"
  }
}
Try it now
Response Content-Types: application/json
Response Example (200 OK)
{
  "data": {
    "productUpdateDigitalItem": {
      "id": "string",
      "title": "string",
      "description": "string",
      "position": "integer"
    }
  }
}

Digital Item Remove

Remove Digital Item

productId:
string

(no description)

itemId:
string

(no description)

Example

Request Content-Types: application/json
Query
mutation productRemoveDigitalItem($productId: String!, $itemId: String!){
  productRemoveDigitalItem(productId: $productId, itemId: $itemId)
}
Variables
{
  "productId": "string",
  "itemId": "string"
}
Try it now
200 OK

Successful operation

type
boolean
Response Content-Types: application/json
Response Example (200 OK)
{
  "data": {
    "productRemoveDigitalItem": "boolean"
  }
}

Digital Content Add

Add new digital content to product

productId:
string

(no description)

itemId:
string

(no description)

(no description)

Example

Request Content-Types: application/json
Query
mutation productAddDigitalContent($productId: String!, $itemId: String!, $params: AddDigitalContentParams!){
  productAddDigitalContent(productId: $productId, itemId: $itemId, params: $params){
    id
    title
    contentType
    isTrialAllowed
    contentText
    contentUrl
    updatedAt
    position
  }
}
Variables
{
  "productId": "string",
  "itemId": "string",
  "params": {
    "title": "string",
    "contentType": "string",
    "isTrialAllowed": "boolean",
    "contentText": "string",
    "contentFile": "object",
    "position": "number"
  }
}
Try it now
Response Content-Types: application/json
Response Example (200 OK)
{
  "data": {
    "productAddDigitalContent": {
      "id": "string",
      "title": "string",
      "isTrialAllowed": "boolean",
      "contentText": "string",
      "contentUrl": "string",
      "updatedAt": "string",
      "position": "integer"
    }
  }
}

Digital Content Update

Update Digital Content

productId:
string

(no description)

itemId:
string

(no description)

contentId:
string

(no description)

(no description)

Example

Request Content-Types: application/json
Query
mutation productUpdateDigitalContent($productId: String!, $itemId: String!, $contentId: String!, $params: UpdateDigitalContentParams!){
  productUpdateDigitalContent(productId: $productId, itemId: $itemId, contentId: $contentId, params: $params){
    id
    title
    contentType
    isTrialAllowed
    contentText
    contentUrl
    updatedAt
    position
  }
}
Variables
{
  "productId": "string",
  "itemId": "string",
  "contentId": "string",
  "params": {
    "title": "string",
    "contentType": "string",
    "isTrialAllowed": "boolean",
    "contentText": "string",
    "contentFile": "object",
    "position": "number"
  }
}
Try it now
Response Content-Types: application/json
Response Example (200 OK)
{
  "data": {
    "productUpdateDigitalContent": {
      "id": "string",
      "title": "string",
      "isTrialAllowed": "boolean",
      "contentText": "string",
      "contentUrl": "string",
      "updatedAt": "string",
      "position": "integer"
    }
  }
}

Digital Content Remove

Remove Digital Content

productId:
string

(no description)

itemId:
string

(no description)

contentId:
string

(no description)

Example

Request Content-Types: application/json
Query
mutation productRemoveDigitalContent($productId: String!, $itemId: String!, $contentId: String!){
  productRemoveDigitalContent(productId: $productId, itemId: $itemId, contentId: $contentId)
}
Variables
{
  "productId": "string",
  "itemId": "string",
  "contentId": "string"
}
Try it now
200 OK

Successful operation

type
boolean
Response Content-Types: application/json
Response Example (200 OK)
{
  "data": {
    "productRemoveDigitalContent": "boolean"
  }
}

Coupon Code

Store coupon code endpoints

New coupon code

New coupon code

(no description)

Example

Request Content-Types: application/json
Query
mutation newCouponCode($params: NewCouponCodeParams!){
  newCouponCode(params: $params){
    id
    code
    amount
    minOrderAmount
    maxDiscountAmount
    isActive
    isFlatDiscount
    isForNewUsersOnly
    isUserSpecific
    maxUsage
    maxUsagePerUser
    discountType
    description
    image
    startAt
    endAt
    createdAt
    updatedAt
  }
}
Variables
{
  "params": {
    "code": "string",
    "amount": "number",
    "minOrderAmount": "number",
    "maxDiscountAmount": "number",
    "isActive": "boolean",
    "isFlatDiscount": "boolean",
    "isForNewUsersOnly": "boolean",
    "isUserSpecific": "boolean",
    "maxUsage": "number",
    "maxUsagePerUser": "number",
    "discountType": "string",
    "description": "string",
    "image": "string",
    "startAt": "string",
    "endAt": "string",
    "customers": [
      "string"
    ]
  }
}
Try it now
Response Content-Types: application/json
Response Example (200 OK)
{
  "data": {
    "newCouponCode": {
      "id": "string",
      "code": "string",
      "amount": "integer",
      "minOrderAmount": "integer",
      "maxDiscountAmount": "integer",
      "isActive": "boolean",
      "isFlatDiscount": "boolean",
      "isForNewUsersOnly": "boolean",
      "isUserSpecific": "boolean",
      "maxUsage": "integer",
      "maxUsagePerUser": "integer",
      "description": "string",
      "image": "string",
      "startAt": "string",
      "endAt": "string",
      "createdAt": "string",
      "updatedAt": "string"
    }
  }
}

Update coupon code

Update coupon code

id:
string

(no description)

(no description)

Example

Request Content-Types: application/json
Query
mutation updateCouponCode($id: String!, $params: UpdateCouponCodeParams!){
  updateCouponCode(id: $id, params: $params){
    id
    code
    amount
    minOrderAmount
    maxDiscountAmount
    isActive
    isFlatDiscount
    isForNewUsersOnly
    isUserSpecific
    maxUsage
    maxUsagePerUser
    discountType
    description
    image
    startAt
    endAt
    createdAt
    updatedAt
  }
}
Variables
{
  "id": "string",
  "params": {
    "code": "string",
    "amount": "number",
    "minOrderAmount": "number",
    "maxDiscountAmount": "number",
    "isActive": "boolean",
    "isFlatDiscount": "boolean",
    "isForNewUsersOnly": "boolean",
    "isUserSpecific": "boolean",
    "maxUsage": "number",
    "maxUsagePerUser": "number",
    "discountType": "string",
    "description": "string",
    "image": "string",
    "startAt": "string",
    "endAt": "string",
    "customers": [
      "string"
    ]
  }
}
Try it now
Response Content-Types: application/json
Response Example (200 OK)
{
  "data": {
    "updateCouponCode": {
      "id": "string",
      "code": "string",
      "amount": "integer",
      "minOrderAmount": "integer",
      "maxDiscountAmount": "integer",
      "isActive": "boolean",
      "isFlatDiscount": "boolean",
      "isForNewUsersOnly": "boolean",
      "isUserSpecific": "boolean",
      "maxUsage": "integer",
      "maxUsagePerUser": "integer",
      "description": "string",
      "image": "string",
      "startAt": "string",
      "endAt": "string",
      "createdAt": "string",
      "updatedAt": "string"
    }
  }
}

Delete coupon code

Delete coupon code

id:
string

(no description)

Example

Request Content-Types: application/json
Query
mutation deleteCouponCode($id: String!){
  deleteCouponCode(id: $id)
}
Variables
{
  "id": "string"
}
Try it now
200 OK

Successful operation

type
boolean
Response Content-Types: application/json
Response Example (200 OK)
{
  "data": {
    "deleteCouponCode": "boolean"
  }
}

Get coupon code

Get coupon code

id:
string

(no description)

Example

Request Content-Types: application/json
Query
query couponCode($id: String!){
  couponCode(id: $id){
    id
    code
    amount
    minOrderAmount
    maxDiscountAmount
    isActive
    isFlatDiscount
    isForNewUsersOnly
    isUserSpecific
    maxUsage
    maxUsagePerUser
    discountType
    description
    image
    startAt
    endAt
    createdAt
    updatedAt
  }
}
Variables
{
  "id": "string"
}
Try it now
Response Content-Types: application/json
Response Example (200 OK)
{
  "data": {
    "couponCode": {
      "id": "string",
      "code": "string",
      "amount": "integer",
      "minOrderAmount": "integer",
      "maxDiscountAmount": "integer",
      "isActive": "boolean",
      "isFlatDiscount": "boolean",
      "isForNewUsersOnly": "boolean",
      "isUserSpecific": "boolean",
      "maxUsage": "integer",
      "maxUsagePerUser": "integer",
      "description": "string",
      "image": "string",
      "startAt": "string",
      "endAt": "string",
      "createdAt": "string",
      "updatedAt": "string"
    }
  }
}

List coupon codes

List coupon codes

search:

(no description)

sort:

(no description)

pagination:

(no description)

Example

Request Content-Types: application/json
Query
query couponCodes($search: Search, $sort: Sort, $pagination: Pagination){
  couponCodes(search: $search, sort: $sort, pagination: $pagination){
    id
    code
    amount
    minOrderAmount
    maxDiscountAmount
    isActive
    isFlatDiscount
    isForNewUsersOnly
    isUserSpecific
    maxUsage
    maxUsagePerUser
    discountType
    description
    image
    startAt
    endAt
    createdAt
    updatedAt
  }
}
Variables
{
  "search": {
    "query": "string",
    "filters": [
      {
        "key": "string",
        "value": "string"
      }
    ]
  },
  "sort": {
    "by": "string",
    "direction": "string"
  },
  "pagination": {
    "perPage": "number",
    "page": "number"
  }
}
Try it now
Response Content-Types: application/json
Response Example (200 OK)
{
  "data": {
    "couponCodes": [
      {
        "id": "string",
        "code": "string",
        "amount": "integer",
        "minOrderAmount": "integer",
        "maxDiscountAmount": "integer",
        "isActive": "boolean",
        "isFlatDiscount": "boolean",
        "isForNewUsersOnly": "boolean",
        "isUserSpecific": "boolean",
        "maxUsage": "integer",
        "maxUsagePerUser": "integer",
        "description": "string",
        "image": "string",
        "startAt": "string",
        "endAt": "string",
        "createdAt": "string",
        "updatedAt": "string"
      }
    ]
  }
}

Check Discount Amount

Check Discount Amount

couponCode:
string

(no description)

cartId:
string

(no description)

shippingMethodId:
string

(no description)

Example

Request Content-Types: application/json
Query
query checkDiscount($couponCode: String!, $cartId: String!, $shippingMethodId: String){
  checkDiscount(couponCode: $couponCode, cartId: $cartId, shippingMethodId: $shippingMethodId)
}
Variables
{
  "couponCode": "string",
  "cartId": "string",
  "shippingMethodId": "string"
}
Try it now
200 OK

Successful operation

type
integer
Response Content-Types: application/json
Response Example (200 OK)
{
  "data": {
    "checkDiscount": "integer"
  }
}

Cart

Store carts endpoints

Cart New

New Cart

params:

(no description)

Example

Request Content-Types: application/json
Query
mutation newCart($params: NewCartParams!){
  newCart(params: $params){
    id
    isShippingRequired
  }
}
Variables
{
  "params": {
    "cartItems": [
      {
        "productId": "string",
        "productAttributes": [
          {
            "Id": "string",
            "attributeSelectedValue": "string"
          }
        ],
        "productVariationId": "string",
        "quantity": "number"
      }
    ]
  }
}
Try it now
Response Content-Types: application/json
Response Example (200 OK)
{
  "data": {
    "newCart": {
      "id": "string",
      "isShippingRequired": "boolean"
    }
  }
}

Cart Update

Update Cart

id:
string

(no description)

(no description)

Example

Request Content-Types: application/json
Query
mutation updateCart($id: String!, $params: UpdateCartParams!){
  updateCart(id: $id, params: $params){
    id
    isShippingRequired
  }
}
Variables
{
  "id": "string",
  "params": {
    "cartItems": [
      {
        "productId": "string",
        "productAttributes": [
          {
            "Id": "string",
            "attributeSelectedValue": "string"
          }
        ],
        "productVariationId": "string",
        "quantity": "number"
      }
    ]
  }
}
Try it now
Response Content-Types: application/json
Response Example (200 OK)
{
  "data": {
    "updateCart": {
      "id": "string",
      "isShippingRequired": "boolean"
    }
  }
}

Cart Get

Get Cart by ID

cartId:
string

(no description)

Example

Request Content-Types: application/json
Query
query cart($cartId: String!){
  cart(cartId: $cartId){
    id
    isShippingRequired
  }
}
Variables
{
  "cartId": "string"
}
Try it now
Response Content-Types: application/json
Response Example (200 OK)
{
  "data": {
    "cart": {
      "id": "string",
      "isShippingRequired": "boolean"
    }
  }
}

Cart List by Admin

List Abandoned Carts

pagination:

(no description)

Example

Request Content-Types: application/json
Query
query abandonedCarts($pagination: Pagination){
  abandonedCarts(pagination: $pagination){
    id
    isShippingRequired
  }
}
Variables
{
  "pagination": {
    "perPage": "number",
    "page": "number"
  }
}
Try it now
Response Content-Types: application/json
Response Example (200 OK)
{
  "data": {
    "abandonedCarts": [
      {
        "id": "string",
        "isShippingRequired": "boolean"
      }
    ]
  }
}

Order

Store Orders

Order checkout by Customer

Place order for checkout by Customer

(no description)

Example

Request Content-Types: application/json
Query
mutation orderCheckout($params: PlaceOrderParams){
  orderCheckout(params: $params){
    id
    hash
    shippingCharge
    paymentProcessingFee
    subtotal
    grandTotal
    discountedAmount
    status
    paymentStatus
    createdAt
    updatedAt
  }
}
Variables
{
  "params": {
    "cartId": "string",
    "billingAddress": {
      "street": "string",
      "streetTwo": "string",
      "city": "string",
      "state": "string",
      "postcode": "string",
      "email": "string",
      "phone": "string",
      "locationId": "string"
    },
    "shippingAddress": {
      "street": "string",
      "streetTwo": "string",
      "city": "string",
      "state": "string",
      "postcode": "string",
      "email": "string",
      "phone": "string",
      "locationId": "string"
    },
    "paymentMethodId": "string",
    "shippingMethodId": "string",
    "couponCode": "string"
  }
}
Try it now
Response Content-Types: application/json
Response Example (200 OK)
{
  "data": {
    "orderCheckout": {
      "id": "string",
      "hash": "string",
      "shippingCharge": "integer",
      "paymentProcessingFee": "integer",
      "subtotal": "integer",
      "grandTotal": "integer",
      "discountedAmount": "integer",
      "createdAt": "string",
      "updatedAt": "string"
    }
  }
}

Order checkout by Admin

Place order for checkout by Admin

(no description)

Example

Request Content-Types: application/json
Query
mutation orderCheckoutByAdmin($params: PlaceOrderByAdminParams){
  orderCheckoutByAdmin(params: $params){
    id
    hash
    shippingCharge
    paymentProcessingFee
    subtotal
    grandTotal
    discountedAmount
    status
    paymentStatus
    createdAt
    updatedAt
  }
}
Variables
{
  "params": {
    "cartId": "string",
    "billingAddress": {
      "street": "string",
      "streetTwo": "string",
      "city": "string",
      "state": "string",
      "postcode": "string",
      "email": "string",
      "phone": "string",
      "locationId": "string"
    },
    "shippingAddress": {
      "street": "string",
      "streetTwo": "string",
      "city": "string",
      "state": "string",
      "postcode": "string",
      "email": "string",
      "phone": "string",
      "locationId": "string"
    },
    "paymentMethodId": "string",
    "shippingMethodId": "string",
    "couponCode": "string",
    "customerId": "string"
  }
}
Try it now
Response Content-Types: application/json
Response Example (200 OK)
{
  "data": {
    "orderCheckoutByAdmin": {
      "id": "string",
      "hash": "string",
      "shippingCharge": "integer",
      "paymentProcessingFee": "integer",
      "subtotal": "integer",
      "grandTotal": "integer",
      "discountedAmount": "integer",
      "createdAt": "string",
      "updatedAt": "string"
    }
  }
}

Order update by Admin

Update order by Admin

id:
string

(no description)

(no description)

Example

Request Content-Types: application/json
Query
mutation orderUpdateByAdmin($id: String!, $params: OrderUpdateParams!){
  orderUpdateByAdmin(id: $id, params: $params){
    id
    hash
    shippingCharge
    paymentProcessingFee
    subtotal
    grandTotal
    discountedAmount
    status
    paymentStatus
    createdAt
    updatedAt
  }
}
Variables
{
  "id": "string",
  "params": {
    "status": "string",
    "paymentStatus": "string",
    "payments": [
      {
        "payableAmount": "number"
      }
    ]
  }
}
Try it now
Response Content-Types: application/json
Response Example (200 OK)
{
  "data": {
    "orderUpdateByAdmin": {
      "id": "string",
      "hash": "string",
      "shippingCharge": "integer",
      "paymentProcessingFee": "integer",
      "subtotal": "integer",
      "grandTotal": "integer",
      "discountedAmount": "integer",
      "createdAt": "string",
      "updatedAt": "string"
    }
  }
}

Order Get

Get order by Hash as Customer

hash:
string

(no description)

Example

Request Content-Types: application/json
Query
query order($hash: String!){
  order(hash: $hash){
    id
    hash
    shippingCharge
    paymentProcessingFee
    subtotal
    grandTotal
    discountedAmount
    status
    paymentStatus
    createdAt
    updatedAt
  }
}
Variables
{
  "hash": "string"
}
Try it now
Response Content-Types: application/json
Response Example (200 OK)
{
  "data": {
    "order": {
      "id": "string",
      "hash": "string",
      "shippingCharge": "integer",
      "paymentProcessingFee": "integer",
      "subtotal": "integer",
      "grandTotal": "integer",
      "discountedAmount": "integer",
      "createdAt": "string",
      "updatedAt": "string"
    }
  }
}

Order Get by ID as Admin

Get Order by ID by Admin

id:
string

(no description)

Example

Request Content-Types: application/json
Query
query orderByAdmin($id: String!){
  orderByAdmin(id: $id){
    id
    hash
    shippingCharge
    paymentProcessingFee
    subtotal
    grandTotal
    discountedAmount
    status
    paymentStatus
    createdAt
    updatedAt
  }
}
Variables
{
  "id": "string"
}
Try it now
Response Content-Types: application/json
Response Example (200 OK)
{
  "data": {
    "orderByAdmin": {
      "id": "string",
      "hash": "string",
      "shippingCharge": "integer",
      "paymentProcessingFee": "integer",
      "subtotal": "integer",
      "grandTotal": "integer",
      "discountedAmount": "integer",
      "createdAt": "string",
      "updatedAt": "string"
    }
  }
}

Order List as Customer

List orders as Customer

(no description)

sort:

(no description)

pagination:

(no description)

Example

Request Content-Types: application/json
Query
query orders($params: POrderSearchParams, $sort: Sort, $pagination: Pagination){
  orders(params: $params, sort: $sort, pagination: $pagination){
    id
    hash
    shippingCharge
    paymentProcessingFee
    subtotal
    grandTotal
    discountedAmount
    status
    paymentStatus
    createdAt
    updatedAt
  }
}
Variables
{
  "params": {
    "shopName": "string",
    "orderHash": "string"
  },
  "sort": {
    "by": "string",
    "direction": "string"
  },
  "pagination": {
    "perPage": "number",
    "page": "number"
  }
}
Try it now
Response Content-Types: application/json
Response Example (200 OK)
{
  "data": {
    "orders": [
      {
        "id": "string",
        "hash": "string",
        "shippingCharge": "integer",
        "paymentProcessingFee": "integer",
        "subtotal": "integer",
        "grandTotal": "integer",
        "discountedAmount": "integer",
        "createdAt": "string",
        "updatedAt": "string"
      }
    ]
  }
}

Order List as Admin

List orders as Admin

(no description)

sort:

(no description)

pagination:

(no description)

Example

Request Content-Types: application/json
Query
query ordersByAdmin($params: OrderSearchParams, $sort: Sort, $pagination: Pagination){
  ordersByAdmin(params: $params, sort: $sort, pagination: $pagination){
    id
    hash
    shippingCharge
    paymentProcessingFee
    subtotal
    grandTotal
    discountedAmount
    status
    paymentStatus
    createdAt
    updatedAt
  }
}
Variables
{
  "params": {
    "customerEmail": "string",
    "orderHash": "string"
  },
  "sort": {
    "by": "string",
    "direction": "string"
  },
  "pagination": {
    "perPage": "number",
    "page": "number"
  }
}
Try it now
Response Content-Types: application/json
Response Example (200 OK)
{
  "data": {
    "ordersByAdmin": [
      {
        "id": "string",
        "hash": "string",
        "shippingCharge": "integer",
        "paymentProcessingFee": "integer",
        "subtotal": "integer",
        "grandTotal": "integer",
        "discountedAmount": "integer",
        "createdAt": "string",
        "updatedAt": "string"
      }
    ]
  }
}

Generate Payment Nonce

Generate payment nonce for specific order

orderId:
string

(no description)

Example

Request Content-Types: application/json
Query
mutation orderGeneratePaymentNonce($orderId: String!){
  orderGeneratePaymentNonce(orderId: $orderId){
    PaymentGatewayName
    Nonce
    StripePublishableKey
  }
}
Variables
{
  "orderId": "string"
}
Try it now
Response Content-Types: application/json
Response Example (200 OK)
{
  "data": {
    "orderGeneratePaymentNonce": {
      "PaymentGatewayName": "string",
      "Nonce": "string",
      "StripePublishableKey": "string"
    }
  }
}

List product digital contents

List product digital contents

productId:
string

(no description)

itemId:
string

(no description)

Example

Request Content-Types: application/json
Query
query productDigitalContents($productId: String!, $itemId: String!){
  productDigitalContents(productId: $productId, itemId: $itemId){
    id
    title
    contentType
    isTrialAllowed
    contentText
    contentUrl
    updatedAt
    position
  }
}
Variables
{
  "productId": "string",
  "itemId": "string"
}
Try it now
Response Content-Types: application/json
Response Example (200 OK)
{
  "data": {
    "productDigitalContents": [
      {
        "id": "string",
        "title": "string",
        "isTrialAllowed": "boolean",
        "contentText": "string",
        "contentUrl": "string",
        "updatedAt": "string",
        "position": "integer"
      }
    ]
  }
}

List product digital contents by customer

List product digital contents by customer

orderHash:
string

(no description)

productId:
string

(no description)

itemId:
string

(no description)

Example

Request Content-Types: application/json
Query
query productDigitalContentsByCustomer($orderHash: String!, $productId: String!, $itemId: String!){
  productDigitalContentsByCustomer(orderHash: $orderHash, productId: $productId, itemId: $itemId){
    id
    title
    contentType
    isTrialAllowed
    contentText
    contentUrl
    updatedAt
    position
  }
}
Variables
{
  "orderHash": "string",
  "productId": "string",
  "itemId": "string"
}
Try it now
Response Content-Types: application/json
Response Example (200 OK)
{
  "data": {
    "productDigitalContentsByCustomer": [
      {
        "id": "string",
        "title": "string",
        "isTrialAllowed": "boolean",
        "contentText": "string",
        "contentUrl": "string",
        "updatedAt": "string",
        "position": "integer"
      }
    ]
  }
}

Get product digital content by admin

Get product digital content by admin

productId:
string

(no description)

itemId:
string

(no description)

contentId:
string

(no description)

Example

Request Content-Types: application/json
Query
query productDigitalContentByAdmin($productId: String!, $itemId: String!, $contentId: String!){
  productDigitalContentByAdmin(productId: $productId, itemId: $itemId, contentId: $contentId){
    id
    title
    contentType
    isTrialAllowed
    contentText
    contentUrl
    updatedAt
    position
  }
}
Variables
{
  "productId": "string",
  "itemId": "string",
  "contentId": "string"
}
Try it now
Response Content-Types: application/json
Response Example (200 OK)
{
  "data": {
    "productDigitalContentByAdmin": {
      "id": "string",
      "title": "string",
      "isTrialAllowed": "boolean",
      "contentText": "string",
      "contentUrl": "string",
      "updatedAt": "string",
      "position": "integer"
    }
  }
}

List product digital items by customer

Get product digital items by customer

orderHash:
string

(no description)

productId:
string

(no description)

Example

Request Content-Types: application/json
Query
query productDigitalItemsByCustomer($orderHash: String!, $productId: String!){
  productDigitalItemsByCustomer(orderHash: $orderHash, productId: $productId){
    id
    title
    description
    position
  }
}
Variables
{
  "orderHash": "string",
  "productId": "string"
}
Try it now
Response Content-Types: application/json
Response Example (200 OK)
{
  "data": {
    "productDigitalItemsByCustomer": [
      {
        "id": "string",
        "title": "string",
        "description": "string",
        "position": "integer"
      }
    ]
  }
}

Generate Digital Content

Generate digital content for specific order's product item

hash:
string

(no description)

productId:
string

(no description)

itemId:
string

(no description)

contentId:
string

(no description)

Example

Request Content-Types: application/json
Query
mutation orderGenerateDigitalContent($hash: String!, $productId: String!, $itemId: String!, $contentId: String!){
  orderGenerateDigitalContent(hash: $hash, productId: $productId, itemId: $itemId, contentId: $contentId){
    type
    content
    contentUrl
  }
}
Variables
{
  "hash": "string",
  "productId": "string",
  "itemId": "string",
  "contentId": "string"
}
Try it now
Response Content-Types: application/json
Response Example (200 OK)
{
  "data": {
    "orderGenerateDigitalContent": {
      "content": "string",
      "contentUrl": "string"
    }
  }
}

Add Feedback

Add feedback

hash:
string

(no description)

(no description)

Example

Request Content-Types: application/json
Query
mutation orderAddFeedback($hash: String!, $params: AddFeedbackParams!){
  orderAddFeedback(hash: $hash, params: $params){
    rating
    comment
    createdAt
  }
}
Variables
{
  "hash": "string",
  "params": {
    "rating": "number",
    "comment": "string"
  }
}
Try it now
Response Content-Types: application/json
Response Example (200 OK)
{
  "data": {
    "orderAddFeedback": {
      "rating": "integer",
      "comment": "string",
      "createdAt": "string"
    }
  }
}

Report

Store Report

Report

Get store report

params:

(no description)

Example

Request Content-Types: application/json
Query
query report($params: ReportParams){
  report(params: $params){
    totalSale
    totalSalePending
    totalCost
    totalOrders
    totalOrdersPending
    totalCustomers
    totalDiscount
    totalDue
  }
}
Variables
{
  "params": {
    "startDate": "string",
    "endDate": "string"
  }
}
Try it now
Response Content-Types: application/json
Response Example (200 OK)
{
  "data": {
    "report": {
      "totalSale": "integer",
      "totalSalePending": "integer",
      "totalCost": "integer",
      "totalOrders": "integer",
      "totalOrdersPending": "integer",
      "totalCustomers": "integer",
      "totalDiscount": "integer",
      "totalDue": "integer"
    }
  }
}

Location

Available locations

Locations List

List locations

Example

Request Content-Types: application/json
Query
query locations{
  locations{
    id
    name
    shortCode
  }
}
Try it now
Response Content-Types: application/json
Response Example (200 OK)
{
  "data": {
    "locations": [
      {
        "id": "string",
        "name": "string",
        "shortCode": "string"
      }
    ]
  }
}

Location by ID

Location by ID

id:
string

(no description)

Example

Request Content-Types: application/json
Query
query locationById($id: String!){
  locationById(id: $id){
    id
    name
    shortCode
  }
}
Variables
{
  "id": "string"
}
Try it now
Response Content-Types: application/json
Response Example (200 OK)
{
  "data": {
    "locationById": {
      "id": "string",
      "name": "string",
      "shortCode": "string"
    }
  }
}

Customer

Store Customers

Customer Register

Register Customer

(no description)

Example

Request Content-Types: application/json
Query
mutation customerRegister($params: RegisterCustomerParams){
  customerRegister(params: $params){
    accessToken
  }
}
Variables
{
  "params": {
    "email": "string",
    "password": "string",
    "phone": "string",
    "firstName": "string",
    "lastName": "string",
    "profilePicture": "string"
  }
}
Try it now
Response Content-Types: application/json
Response Example (200 OK)
{
  "data": {
    "customerRegister": {
      "accessToken": "string"
    }
  }
}

Customer Login

Login Customer

(no description)

Example

Request Content-Types: application/json
Query
mutation customerLogin($params: LoginCustomerParams){
  customerLogin(params: $params){
    accessToken
    refreshToken
  }
}
Variables
{
  "params": {
    "email": "string",
    "password": "string"
  }
}
Try it now
Response Content-Types: application/json
Response Example (200 OK)
{
  "data": {
    "customerLogin": {
      "accessToken": "string",
      "refreshToken": "string"
    }
  }
}

Customer Reset Password Request

Customer Reset Password Request

(no description)

Example

Request Content-Types: application/json
Query
mutation customerResetPasswordRequest($params: CustomerResetPasswordRequestParams!){
  customerResetPasswordRequest(params: $params)
}
Variables
{
  "params": {
    "email": "string"
  }
}
Try it now
200 OK

Successful operation

type
boolean
Response Content-Types: application/json
Response Example (200 OK)
{
  "data": {
    "customerResetPasswordRequest": "boolean"
  }
}

Customer Reset Password

Customer Reset Password

(no description)

Example

Request Content-Types: application/json
Query
mutation customerResetPassword($params: CustomerResetPasswordParams!){
  customerResetPassword(params: $params)
}
Variables
{
  "params": {
    "email": "string",
    "resetToken": "string",
    "newPassword": "string"
  }
}
Try it now
200 OK

Successful operation

type
boolean
Response Content-Types: application/json
Response Example (200 OK)
{
  "data": {
    "customerResetPassword": "boolean"
  }
}

Customer Change Password

Customer Change Password

(no description)

Example

Request Content-Types: application/json
Query
mutation customerChangePassword($params: CustomerChangePasswordParams!){
  customerChangePassword(params: $params)
}
Variables
{
  "params": {
    "oldPassword": "string",
    "newPassword": "string"
  }
}
Try it now
200 OK

Successful operation

type
boolean
Response Content-Types: application/json
Response Example (200 OK)
{
  "data": {
    "customerChangePassword": "boolean"
  }
}

Customer Profile

Customer Profile

Example

Request Content-Types: application/json
Query
query customerProfile{
  customerProfile{
    email
    phone
    firstName
    lastName
    profilePicture
  }
}
Try it now
Response Content-Types: application/json
Response Example (200 OK)
{
  "data": {
    "customerProfile": {
      "email": "string",
      "phone": "string",
      "firstName": "string",
      "lastName": "string",
      "profilePicture": "string"
    }
  }
}

Customer Update Profile

Customer Update Profile

(no description)

Example

Request Content-Types: application/json
Query
mutation customerUpdateProfile($params: UpdateCustomerParams!){
  customerUpdateProfile(params: $params){
    email
    phone
    firstName
    lastName
    profilePicture
  }
}
Variables
{
  "params": {
    "phone": "string",
    "firstName": "string",
    "lastName": "string",
    "profilePicture": "string"
  }
}
Try it now
Response Content-Types: application/json
Response Example (200 OK)
{
  "data": {
    "customerUpdateProfile": {
      "email": "string",
      "phone": "string",
      "firstName": "string",
      "lastName": "string",
      "profilePicture": "string"
    }
  }
}

Customer List

Customer List

params:

(no description)

sort:

(no description)

pagination:

(no description)

Example

Request Content-Types: application/json
Query
query customersByAdmin($params: Search, $sort: Sort, $pagination: Pagination){
  customersByAdmin(params: $params, sort: $sort, pagination: $pagination){
    id
    email
    phone
    firstName
    lastName
    profilePicture
    due
  }
}
Variables
{
  "params": {
    "query": "string",
    "filters": [
      {
        "key": "string",
        "value": "string"
      }
    ]
  },
  "sort": {
    "by": "string",
    "direction": "string"
  },
  "pagination": {
    "perPage": "number",
    "page": "number"
  }
}
Try it now
Response Content-Types: application/json
Response Example (200 OK)
{
  "data": {
    "customersByAdmin": [
      {
        "id": "string",
        "email": "string",
        "phone": "string",
        "firstName": "string",
        "lastName": "string",
        "profilePicture": "string",
        "due": "integer"
      }
    ]
  }
}

Blog

Store Blog

Blog Post create

Blog Post Create

(no description)

Example

Request Content-Types: application/json
Query
mutation newBlogPost($params: NewBlogPostParams!){
  newBlogPost(params: $params){
    id
    title
    slug
    bannerImage
    content
    tags
    isPublished
    isFeatured
    views
    favourites
    createdAt
    updatedAt
  }
}
Variables
{
  "params": {
    "title": "string",
    "slug": "string",
    "bannerImage": "string",
    "content": "string",
    "tags": [
      "string"
    ],
    "isPublished": "boolean",
    "isFeatured": "boolean"
  }
}
Try it now
Response Content-Types: application/json
Response Example (200 OK)
{
  "data": {
    "newBlogPost": {
      "id": "string",
      "title": "string",
      "slug": "string",
      "bannerImage": "string",
      "content": "string",
      "tags": [
        "string"
      ],
      "isPublished": "boolean",
      "isFeatured": "boolean",
      "views": "integer",
      "favourites": "integer",
      "createdAt": "string",
      "updatedAt": "string"
    }
  }
}

Blog Post update

Blog Post Update

postId:
string

(no description)

(no description)

Example

Request Content-Types: application/json
Query
mutation updateBlogPost($postId: String!, $params: UpdateBlogPostParams!){
  updateBlogPost(postId: $postId, params: $params){
    id
    title
    slug
    bannerImage
    content
    tags
    isPublished
    isFeatured
    views
    favourites
    createdAt
    updatedAt
  }
}
Variables
{
  "postId": "string",
  "params": {
    "title": "string",
    "slug": "string",
    "bannerImage": "string",
    "content": "string",
    "tags": [
      "string"
    ],
    "isPublished": "boolean",
    "isFeatured": "boolean"
  }
}
Try it now
Response Content-Types: application/json
Response Example (200 OK)
{
  "data": {
    "updateBlogPost": {
      "id": "string",
      "title": "string",
      "slug": "string",
      "bannerImage": "string",
      "content": "string",
      "tags": [
        "string"
      ],
      "isPublished": "boolean",
      "isFeatured": "boolean",
      "views": "integer",
      "favourites": "integer",
      "createdAt": "string",
      "updatedAt": "string"
    }
  }
}

Blog Post Get by Admin

Blog Post Get by Admin

id:
string

(no description)

Example

Request Content-Types: application/json
Query
query blogPostByAdmin($id: String!){
  blogPostByAdmin(id: $id){
    id
    title
    slug
    bannerImage
    content
    tags
    isPublished
    isFeatured
    views
    favourites
    createdAt
    updatedAt
  }
}
Variables
{
  "id": "string"
}
Try it now
Response Content-Types: application/json
Response Example (200 OK)
{
  "data": {
    "blogPostByAdmin": {
      "id": "string",
      "title": "string",
      "slug": "string",
      "bannerImage": "string",
      "content": "string",
      "tags": [
        "string"
      ],
      "isPublished": "boolean",
      "isFeatured": "boolean",
      "views": "integer",
      "favourites": "integer",
      "createdAt": "string",
      "updatedAt": "string"
    }
  }
}

Blog Post Get

Blog Post Get

id:
string

(no description)

Example

Request Content-Types: application/json
Query
query blogPost($id: String!){
  blogPost(id: $id){
    id
    title
    slug
    bannerImage
    content
    tags
    isPublished
    isFeatured
    views
    favourites
    createdAt
    updatedAt
  }
}
Variables
{
  "id": "string"
}
Try it now
Response Content-Types: application/json
Response Example (200 OK)
{
  "data": {
    "blogPost": {
      "id": "string",
      "title": "string",
      "slug": "string",
      "bannerImage": "string",
      "content": "string",
      "tags": [
        "string"
      ],
      "isPublished": "boolean",
      "isFeatured": "boolean",
      "views": "integer",
      "favourites": "integer",
      "createdAt": "string",
      "updatedAt": "string"
    }
  }
}

Blog Post List by Admin

Blog Post List by Admin

search:

(no description)

sort:

(no description)

pagination:

(no description)

Example

Request Content-Types: application/json
Query
query blogPostsByAdmin($search: Search, $sort: Sort, $pagination: Pagination){
  blogPostsByAdmin(search: $search, sort: $sort, pagination: $pagination){
    id
    title
    slug
    bannerImage
    content
    tags
    isPublished
    isFeatured
    views
    favourites
    createdAt
    updatedAt
  }
}
Variables
{
  "search": {
    "query": "string",
    "filters": [
      {
        "key": "string",
        "value": "string"
      }
    ]
  },
  "sort": {
    "by": "string",
    "direction": "string"
  },
  "pagination": {
    "perPage": "number",
    "page": "number"
  }
}
Try it now
Response Content-Types: application/json
Response Example (200 OK)
{
  "data": {
    "blogPostsByAdmin": [
      {
        "id": "string",
        "title": "string",
        "slug": "string",
        "bannerImage": "string",
        "content": "string",
        "tags": [
          "string"
        ],
        "isPublished": "boolean",
        "isFeatured": "boolean",
        "views": "integer",
        "favourites": "integer",
        "createdAt": "string",
        "updatedAt": "string"
      }
    ]
  }
}

Blog Post List

Blog Post List

search:

(no description)

sort:

(no description)

pagination:

(no description)

Example

Request Content-Types: application/json
Query
query blogPosts($search: Search, $sort: Sort, $pagination: Pagination){
  blogPosts(search: $search, sort: $sort, pagination: $pagination){
    id
    title
    slug
    bannerImage
    content
    tags
    isPublished
    isFeatured
    views
    favourites
    createdAt
    updatedAt
  }
}
Variables
{
  "search": {
    "query": "string",
    "filters": [
      {
        "key": "string",
        "value": "string"
      }
    ]
  },
  "sort": {
    "by": "string",
    "direction": "string"
  },
  "pagination": {
    "perPage": "number",
    "page": "number"
  }
}
Try it now
Response Content-Types: application/json
Response Example (200 OK)
{
  "data": {
    "blogPosts": [
      {
        "id": "string",
        "title": "string",
        "slug": "string",
        "bannerImage": "string",
        "content": "string",
        "tags": [
          "string"
        ],
        "isPublished": "boolean",
        "isFeatured": "boolean",
        "views": "integer",
        "favourites": "integer",
        "createdAt": "string",
        "updatedAt": "string"
      }
    ]
  }
}

Blog Post Add Comment

Blog Post Add Comment

postId:
string

(no description)

(no description)

Example

Request Content-Types: application/json
Query
mutation blogPostAddComment($postId: String!, $params: AddBlogPostComment){
  blogPostAddComment(postId: $postId, params: $params){
    id
    content
    createdAt
    updatedAt
  }
}
Variables
{
  "postId": "string",
  "params": {
    "content": "string"
  }
}
Try it now
Response Content-Types: application/json
Response Example (200 OK)
{
  "data": {
    "blogPostAddComment": {
      "id": "string",
      "content": "string",
      "createdAt": "string",
      "updatedAt": "string"
    }
  }
}

Blog Post Update Comment

Blog Post Update Comment

postId:
string

(no description)

commentId:
string

(no description)

(no description)

Example

Request Content-Types: application/json
Query
mutation blogPostUpdateComment($postId: String!, $commentId: String!, $params: UpdateBlogPostComment){
  blogPostUpdateComment(postId: $postId, commentId: $commentId, params: $params){
    id
    content
    createdAt
    updatedAt
  }
}
Variables
{
  "postId": "string",
  "commentId": "string",
  "params": {
    "content": "string"
  }
}
Try it now
Response Content-Types: application/json
Response Example (200 OK)
{
  "data": {
    "blogPostUpdateComment": {
      "id": "string",
      "content": "string",
      "createdAt": "string",
      "updatedAt": "string"
    }
  }
}

Blog Post Delete Comment

Blog Post Delete Comment

postId:
string

(no description)

commentId:
string

(no description)

Example

Request Content-Types: application/json
Query
mutation blogPostDeleteComment($postId: String!, $commentId: String!){
  blogPostDeleteComment(postId: $postId, commentId: $commentId)
}
Variables
{
  "postId": "string",
  "commentId": "string"
}
Try it now
200 OK

Successful operation

type
boolean
Response Content-Types: application/json
Response Example (200 OK)
{
  "data": {
    "blogPostDeleteComment": "boolean"
  }
}

Shipping Method

Store Shipping Method

Shipping Method New

Shipping Method New

(no description)

Example

Request Content-Types: application/json
Query
mutation newShippingMethod($params: NewShippingMethodParams!){
  newShippingMethod(params: $params){
    id
    displayName
    deliveryCharge
    deliveryTimeInDays
    WeightUnit
    isFlat
    isActive
  }
}
Variables
{
  "params": {
    "displayName": "string",
    "deliveryCharge": "number",
    "deliveryTimeInDays": "number",
    "WeightUnit": "string",
    "isFlat": "boolean",
    "isActive": "boolean"
  }
}
Try it now
Response Content-Types: application/json
Response Example (200 OK)
{
  "data": {
    "newShippingMethod": {
      "id": "string",
      "displayName": "string",
      "deliveryCharge": "integer",
      "deliveryTimeInDays": "integer",
      "isFlat": "boolean",
      "isActive": "boolean"
    }
  }
}

Shipping Method Update

Shipping Method Update

id:
string

(no description)

(no description)

Example

Request Content-Types: application/json
Query
mutation updateShippingMethod($id: String!, $params: UpdateShippingMethodParams!){
  updateShippingMethod(id: $id, params: $params){
    id
    displayName
    deliveryCharge
    deliveryTimeInDays
    WeightUnit
    isFlat
    isActive
  }
}
Variables
{
  "id": "string",
  "params": {
    "displayName": "string",
    "deliveryCharge": "number",
    "deliveryTimeInDays": "number",
    "WeightUnit": "string",
    "isFlat": "boolean",
    "isActive": "boolean"
  }
}
Try it now
Response Content-Types: application/json
Response Example (200 OK)
{
  "data": {
    "updateShippingMethod": {
      "id": "string",
      "displayName": "string",
      "deliveryCharge": "integer",
      "deliveryTimeInDays": "integer",
      "isFlat": "boolean",
      "isActive": "boolean"
    }
  }
}

Shipping Method Delete

Shipping Method Delete

id:
string

(no description)

Example

Request Content-Types: application/json
Query
mutation deleteShippingMethod($id: String!){
  deleteShippingMethod(id: $id)
}
Variables
{
  "id": "string"
}
Try it now
200 OK

Successful operation

type
boolean
Response Content-Types: application/json
Response Example (200 OK)
{
  "data": {
    "deleteShippingMethod": "boolean"
  }
}

Shipping Method List as Admin

Shipping Method List as Admin

search:

(no description)

sort:

(no description)

pagination:

(no description)

Example

Request Content-Types: application/json
Query
query shippingMethodsByAdmin($search: Search, $sort: Sort, $pagination: Pagination){
  shippingMethodsByAdmin(search: $search, sort: $sort, pagination: $pagination){
    id
    displayName
    deliveryCharge
    deliveryTimeInDays
    WeightUnit
    isFlat
    isActive
  }
}
Variables
{
  "search": {
    "query": "string",
    "filters": [
      {
        "key": "string",
        "value": "string"
      }
    ]
  },
  "sort": {
    "by": "string",
    "direction": "string"
  },
  "pagination": {
    "perPage": "number",
    "page": "number"
  }
}
Try it now
Response Content-Types: application/json
Response Example (200 OK)
{
  "data": {
    "shippingMethodsByAdmin": [
      {
        "id": "string",
        "displayName": "string",
        "deliveryCharge": "integer",
        "deliveryTimeInDays": "integer",
        "isFlat": "boolean",
        "isActive": "boolean"
      }
    ]
  }
}

Shipping Method Get as Admin

Shipping Method Get as Admin

id:
string

(no description)

Example

Request Content-Types: application/json
Query
query shippingMethodByAdmin($id: String!){
  shippingMethodByAdmin(id: $id){
    id
    displayName
    deliveryCharge
    deliveryTimeInDays
    WeightUnit
    isFlat
    isActive
  }
}
Variables
{
  "id": "string"
}
Try it now
Response Content-Types: application/json
Response Example (200 OK)
{
  "data": {
    "shippingMethodByAdmin": {
      "id": "string",
      "displayName": "string",
      "deliveryCharge": "integer",
      "deliveryTimeInDays": "integer",
      "isFlat": "boolean",
      "isActive": "boolean"
    }
  }
}

Shipping Method List

Shipping Method List

search:

(no description)

sort:

(no description)

pagination:

(no description)

Example

Request Content-Types: application/json
Query
query shippingMethods($search: Search, $sort: Sort, $pagination: Pagination){
  shippingMethods(search: $search, sort: $sort, pagination: $pagination){
    id
    displayName
    deliveryCharge
    deliveryTimeInDays
    WeightUnit
    isFlat
    isActive
  }
}
Variables
{
  "search": {
    "query": "string",
    "filters": [
      {
        "key": "string",
        "value": "string"
      }
    ]
  },
  "sort": {
    "by": "string",
    "direction": "string"
  },
  "pagination": {
    "perPage": "number",
    "page": "number"
  }
}
Try it now
Response Content-Types: application/json
Response Example (200 OK)
{
  "data": {
    "shippingMethods": [
      {
        "id": "string",
        "displayName": "string",
        "deliveryCharge": "integer",
        "deliveryTimeInDays": "integer",
        "isFlat": "boolean",
        "isActive": "boolean"
      }
    ]
  }
}

Shipping Method Get

Shipping Method Get

id:
string

(no description)

Example

Request Content-Types: application/json
Query
query shippingMethod($id: String!){
  shippingMethod(id: $id){
    id
    displayName
    deliveryCharge
    deliveryTimeInDays
    WeightUnit
    isFlat
    isActive
  }
}
Variables
{
  "id": "string"
}
Try it now
Response Content-Types: application/json
Response Example (200 OK)
{
  "data": {
    "shippingMethod": {
      "id": "string",
      "displayName": "string",
      "deliveryCharge": "integer",
      "deliveryTimeInDays": "integer",
      "isFlat": "boolean",
      "isActive": "boolean"
    }
  }
}

Calculate Shipping Charge

Calculate Shipping Charge

shippingMethodId:
string

(no description)

cartId:
string

(no description)

Example

Request Content-Types: application/json
Query
query checkShippingCharge($shippingMethodId: String!, $cartId: String!){
  checkShippingCharge(shippingMethodId: $shippingMethodId, cartId: $cartId)
}
Variables
{
  "shippingMethodId": "string",
  "cartId": "string"
}
Try it now
200 OK

Successful operation

type
integer
Response Content-Types: application/json
Response Example (200 OK)
{
  "data": {
    "checkShippingCharge": "integer"
  }
}

Schema Definitions

AddAttributeParams: object

name:
values:
isRequired:
Example
{
  "name": "string",
  "values": [
    "string"
  ],
  "isRequired": "boolean"
}

AddAttributeResponse: object

attribute:
Example
{
  "attribute": {
    "id": "string",
    "name": "string",
    "values": [
      "string"
    ],
    "isRequired": "boolean",
    "createdAt": "string",
    "updateAt": "string"
  }
}

AddAttributeToProductParams: object

productId:
attribute:
Example
{
  "productId": "string",
  "attribute": {
    "name": "string",
    "values": [
      "string"
    ],
    "isRequired": "boolean"
  }
}

AddBlogPostComment: object

content:
Example
{
  "content": "string"
}

AddBlogPostCommentResponse: object

comment:
Example
{
  "comment": {
    "id": "string",
    "content": "string",
    "customer": {
      "email": "string",
      "phone": "string",
      "firstName": "string",
      "lastName": "string",
      "profilePicture": "string"
    },
    "createdAt": "string",
    "updatedAt": "string"
  }
}

AddCouponCodeResponse: object

coupon:
Example
{
  "coupon": {
    "id": "string",
    "code": "string",
    "amount": "number",
    "minOrderAmount": "number",
    "maxDiscountAmount": "number",
    "isActive": "boolean",
    "isFlatDiscount": "boolean",
    "isForNewUsersOnly": "boolean",
    "isUserSpecific": "boolean",
    "maxUsage": "number",
    "maxUsagePerUser": "number",
    "discountType": "string",
    "description": "string",
    "image": "string",
    "startAt": "string",
    "endAt": "string",
    "createdAt": "string",
    "updatedAt": "string",
    "customers": [
      {
        "email": "string",
        "phone": "string",
        "firstName": "string",
        "lastName": "string",
        "profilePicture": "string"
      }
    ]
  }
}

AddDigitalContentParams: object

title:
contentType:
isTrialAllowed:
contentText:
contentFile:
position:
Int
Example
{
  "title": "string",
  "contentType": "string",
  "isTrialAllowed": "boolean",
  "contentText": "string",
  "contentFile": "object",
  "position": "number"
}

AddDigitalItemParams: object

title:
description:
position:
Int
Example
{
  "title": "string",
  "description": "string",
  "position": "number"
}

AddFeedbackParams: object

rating:
Int
comment:
Example
{
  "rating": "number",
  "comment": "string"
}

AddProductsToCollectionParams: object

collectionId:
productIds:
Example
{
  "collectionId": "string",
  "productIds": [
    "string"
  ]
}

AddVariationParams: object

name:
price:
Int
cost:
Int
sku:
stock:
Int
weight:
weightUnit:
Example
{
  "name": "string",
  "price": "number",
  "cost": "number",
  "sku": "string",
  "stock": "number",
  "weight": "number",
  "weightUnit": "string"
}

AddVariationResponse: object

variation:
Example
{
  "variation": {
    "id": "string",
    "name": "string",
    "price": "number",
    "cost": "number",
    "sku": "string",
    "stock": "number"
  }
}

AddVariationToProductParams: object

productId:
variation:
Example
{
  "productId": "string",
  "variation": {
    "name": "string",
    "price": "number",
    "cost": "number",
    "sku": "string",
    "stock": "number",
    "weight": "number",
    "weightUnit": "string"
  }
}

Address: object

id:
street:
streetTwo:
city:
state:
postcode:
email:
phone:
location:
Example
{
  "id": "string",
  "street": "string",
  "streetTwo": "string",
  "city": "string",
  "state": "string",
  "postcode": "string",
  "email": "string",
  "phone": "string",
  "location": {
    "id": "string",
    "name": "string",
    "shortCode": "string"
  }
}

AddressParams: object

street:
streetTwo:
city:
state:
postcode:
email:
phone:
locationId:
Example
{
  "street": "string",
  "streetTwo": "string",
  "city": "string",
  "state": "string",
  "postcode": "string",
  "email": "string",
  "phone": "string",
  "locationId": "string"
}

BlogPost: object

id:
title:
slug:
bannerImage:
content:
tags:
isPublished:
isFeatured:
views:
Int
favourites:
Int
comments:
createdAt:
updatedAt:
Example
{
  "id": "string",
  "title": "string",
  "slug": "string",
  "bannerImage": "string",
  "content": "string",
  "tags": [
    "string"
  ],
  "isPublished": "boolean",
  "isFeatured": "boolean",
  "views": "number",
  "favourites": "number",
  "comments": [
    {
      "id": "string",
      "content": "string",
      "customer": {
        "email": "string",
        "phone": "string",
        "firstName": "string",
        "lastName": "string",
        "profilePicture": "string"
      },
      "createdAt": "string",
      "updatedAt": "string"
    }
  ],
  "createdAt": "string",
  "updatedAt": "string"
}

BlogPostComment: object

id:
content:
customer:
createdAt:
updatedAt:
Example
{
  "id": "string",
  "content": "string",
  "customer": {
    "email": "string",
    "phone": "string",
    "firstName": "string",
    "lastName": "string",
    "profilePicture": "string"
  },
  "createdAt": "string",
  "updatedAt": "string"
}

Boolean: boolean

The Boolean scalar type represents true or false.

Example
boolean

Cart: object

id:
isShippingRequired:
cartItems:
Example
{
  "id": "string",
  "isShippingRequired": "boolean",
  "cartItems": [
    {
      "id": "number",
      "product": {
        "id": "string",
        "name": "string",
        "slug": "string",
        "description": "string",
        "isPublished": "boolean",
        "sku": "string",
        "stock": "number",
        "maxItemPerOrder": "number",
        "price": "number",
        "cost": "number",
        "images": [
          "string"
        ],
        "isDigitalProduct": "boolean",
        "views": "number",
        "createdAt": "string",
        "weight": "number",
        "weightUnit": "string",
        "productUnit": "string",
        "updatedAt": "string",
        "category": {
          "id": "string",
          "name": "string",
          "slug": "string",
          "isPublished": "boolean",
          "description": "string",
          "image": "string",
          "createdAt": "string",
          "updatedAt": "string",
          "productCount": "number",
          "position": "number"
        },
        "attributes": [
          {
            "id": "string",
            "name": "string",
            "values": [
              "string"
            ],
            "isRequired": "boolean",
            "createdAt": "string",
            "updateAt": "string"
          }
        ],
        "variations": [
          {
            "id": "string",
            "name": "string",
            "price": "number",
            "cost": "number",
            "sku": "string"
          }
        ]
      }
    }
  ]
}

CartItem: object

id:
Int
product:
quantity:
Int
purchasePrice:
Int
purchaseTimeCost:
Int
attributes:
variation:
Example
{
  "id": "number",
  "product": {
    "id": "string",
    "name": "string",
    "slug": "string",
    "description": "string",
    "isPublished": "boolean",
    "sku": "string",
    "stock": "number",
    "maxItemPerOrder": "number",
    "price": "number",
    "cost": "number",
    "images": [
      "string"
    ],
    "isDigitalProduct": "boolean",
    "views": "number",
    "createdAt": "string",
    "weight": "number",
    "weightUnit": "string",
    "productUnit": "string",
    "updatedAt": "string",
    "category": {
      "id": "string",
      "name": "string",
      "slug": "string",
      "isPublished": "boolean",
      "description": "string",
      "image": "string",
      "createdAt": "string",
      "updatedAt": "string",
      "productCount": "number",
      "position": "number"
    },
    "attributes": [
      {
        "id": "string",
        "name": "string",
        "values": [
          "string"
        ],
        "isRequired": "boolean",
        "createdAt": "string",
        "updateAt": "string"
      }
    ],
    "variations": [
      {
        "id": "string",
        "name": "string",
        "price": "number",
        "cost": "number",
        "sku": "string",
        "stock": "number"
      }
    ],
    "digitalItems": [
      {
        "id": "string"
      }
    ]
  }
}

CartItemAttributeParams: object

Id:
attributeSelectedValue:
Example
{
  "Id": "string",
  "attributeSelectedValue": "string"
}

CartItemParams: object

productId:
productAttributes:
productVariationId:
quantity:
Int
Example
{
  "productId": "string",
  "productAttributes": [
    {
      "Id": "string",
      "attributeSelectedValue": "string"
    }
  ],
  "productVariationId": "string",
  "quantity": "number"
}

CartProductAttribute: object

name:
selectedValue:
Example
{
  "name": "string",
  "selectedValue": "string"
}

Category: object

id:
name:
slug:
isPublished:
description:
image:
createdAt:
updatedAt:
productCount:
Int
position:
Int
Example
{
  "id": "string",
  "name": "string",
  "slug": "string",
  "isPublished": "boolean",
  "description": "string",
  "image": "string",
  "createdAt": "string",
  "updatedAt": "string",
  "productCount": "number",
  "position": "number"
}

Collection: object

id:
name:
slug:
isPublished:
description:
image:
createdAt:
updatedAt:
products:
productCount:
Int
position:
Int
Example
{
  "id": "string",
  "name": "string",
  "slug": "string",
  "isPublished": "boolean",
  "description": "string",
  "image": "string",
  "createdAt": "string",
  "updatedAt": "string",
  "products": [
    {
      "id": "string",
      "name": "string",
      "slug": "string",
      "description": "string",
      "isPublished": "boolean",
      "sku": "string",
      "stock": "number",
      "maxItemPerOrder": "number",
      "price": "number",
      "cost": "number",
      "images": [
        "string"
      ],
      "isDigitalProduct": "boolean",
      "views": "number",
      "createdAt": "string",
      "weight": "number",
      "weightUnit": "string",
      "productUnit": "string",
      "updatedAt": "string",
      "category": {
        "id": "string",
        "name": "string",
        "slug": "string",
        "isPublished": "boolean",
        "description": "string",
        "image": "string",
        "createdAt": "string",
        "updatedAt": "string",
        "productCount": "number",
        "position": "number"
      },
      "attributes": [
        {
          "id": "string",
          "name": "string",
          "values": [
            "string"
          ],
          "isRequired": "boolean",
          "createdAt": "string",
          "updateAt": "string"
        }
      ],
      "variations": [
        {
          "id": "string"
        }
      ]
    }
  ]
}

CouponCode: object

id:
code:
amount:
Int
minOrderAmount:
Int
maxDiscountAmount:
Int
isActive:
isFlatDiscount:
isForNewUsersOnly:
isUserSpecific:
maxUsage:
Int
maxUsagePerUser:
Int
discountType:
description:
image:
startAt:
endAt:
createdAt:
updatedAt:
customers:
Example
{
  "id": "string",
  "code": "string",
  "amount": "number",
  "minOrderAmount": "number",
  "maxDiscountAmount": "number",
  "isActive": "boolean",
  "isFlatDiscount": "boolean",
  "isForNewUsersOnly": "boolean",
  "isUserSpecific": "boolean",
  "maxUsage": "number",
  "maxUsagePerUser": "number",
  "discountType": "string",
  "description": "string",
  "image": "string",
  "startAt": "string",
  "endAt": "string",
  "createdAt": "string",
  "updatedAt": "string",
  "customers": [
    {
      "email": "string",
      "phone": "string",
      "firstName": "string",
      "lastName": "string",
      "profilePicture": "string"
    }
  ]
}

CreateBlogPostResponse: object

post:
Example
{
  "post": {
    "id": "string",
    "title": "string",
    "slug": "string",
    "bannerImage": "string",
    "content": "string",
    "tags": [
      "string"
    ],
    "isPublished": "boolean",
    "isFeatured": "boolean",
    "views": "number",
    "favourites": "number",
    "comments": [
      {
        "id": "string",
        "content": "string",
        "customer": {
          "email": "string",
          "phone": "string",
          "firstName": "string",
          "lastName": "string",
          "profilePicture": "string"
        },
        "createdAt": "string",
        "updatedAt": "string"
      }
    ],
    "createdAt": "string",
    "updatedAt": "string"
  }
}

CreateCartResponse: object

cart:
Example
{
  "cart": {
    "id": "string",
    "isShippingRequired": "boolean",
    "cartItems": [
      {
        "id": "number",
        "product": {
          "id": "string",
          "name": "string",
          "slug": "string",
          "description": "string",
          "isPublished": "boolean",
          "sku": "string",
          "stock": "number",
          "maxItemPerOrder": "number",
          "price": "number",
          "cost": "number",
          "images": [
            "string"
          ],
          "isDigitalProduct": "boolean",
          "views": "number",
          "createdAt": "string",
          "weight": "number",
          "weightUnit": "string",
          "productUnit": "string",
          "updatedAt": "string",
          "category": {
            "id": "string",
            "name": "string",
            "slug": "string",
            "isPublished": "boolean",
            "description": "string",
            "image": "string",
            "createdAt": "string",
            "updatedAt": "string",
            "productCount": "number",
            "position": "number"
          },
          "attributes": [
            {
              "id": "string",
              "name": "string",
              "values": [
                "string"
              ],
              "isRequired": "boolean",
              "createdAt": "string",
              "updateAt": "string"
            }
          ],
          "variations": [
            {
              "id": "string",
              "name": "string",
              "price": "number",
              "cost": "number"
            }
          ]
        }
      }
    ]
  }
}

CreateCategoryResponse: object

category:
Example
{
  "category": {
    "id": "string",
    "name": "string",
    "slug": "string",
    "isPublished": "boolean",
    "description": "string",
    "image": "string",
    "createdAt": "string",
    "updatedAt": "string",
    "productCount": "number",
    "position": "number"
  }
}

CreateCollectionResponse: object

collection:
Example
{
  "collection": {
    "id": "string",
    "name": "string",
    "slug": "string",
    "isPublished": "boolean",
    "description": "string",
    "image": "string",
    "createdAt": "string",
    "updatedAt": "string",
    "products": [
      {
        "id": "string",
        "name": "string",
        "slug": "string",
        "description": "string",
        "isPublished": "boolean",
        "sku": "string",
        "stock": "number",
        "maxItemPerOrder": "number",
        "price": "number",
        "cost": "number",
        "images": [
          "string"
        ],
        "isDigitalProduct": "boolean",
        "views": "number",
        "createdAt": "string",
        "weight": "number",
        "weightUnit": "string",
        "productUnit": "string",
        "updatedAt": "string",
        "category": {
          "id": "string",
          "name": "string",
          "slug": "string",
          "isPublished": "boolean",
          "description": "string",
          "image": "string",
          "createdAt": "string",
          "updatedAt": "string",
          "productCount": "number",
          "position": "number"
        },
        "attributes": [
          {
            "id": "string",
            "name": "string",
            "values": [
              "string"
            ],
            "isRequired": "boolean",
            "createdAt": "string",
            "updateAt": "string"
          }
        ],
        "variations": [
          {}
        ]
      }
    ]
  }
}

CreateProductResponse: object

product:
Example
{
  "product": {
    "id": "string",
    "name": "string",
    "slug": "string",
    "description": "string",
    "isPublished": "boolean",
    "sku": "string",
    "stock": "number",
    "maxItemPerOrder": "number",
    "price": "number",
    "cost": "number",
    "images": [
      "string"
    ],
    "isDigitalProduct": "boolean",
    "views": "number",
    "createdAt": "string",
    "weight": "number",
    "weightUnit": "string",
    "productUnit": "string",
    "updatedAt": "string",
    "category": {
      "id": "string",
      "name": "string",
      "slug": "string",
      "isPublished": "boolean",
      "description": "string",
      "image": "string",
      "createdAt": "string",
      "updatedAt": "string",
      "productCount": "number",
      "position": "number"
    },
    "attributes": [
      {
        "id": "string",
        "name": "string",
        "values": [
          "string"
        ],
        "isRequired": "boolean",
        "createdAt": "string",
        "updateAt": "string"
      }
    ],
    "variations": [
      {
        "id": "string",
        "name": "string",
        "price": "number",
        "cost": "number",
        "sku": "string",
        "stock": "number"
      }
    ],
    "digitalItems": [
      {
        "id": "string",
        "title": "string"
      }
    ]
  }
}

CreateShippingMethodResponse: object

method:
Example
{
  "method": {
    "id": "string",
    "displayName": "string",
    "deliveryCharge": "number",
    "deliveryTimeInDays": "number",
    "WeightUnit": "string",
    "isFlat": "boolean",
    "isActive": "boolean"
  }
}

CreateShopResponse: object

shop:
Example
{
  "shop": {
    "id": "string",
    "name": "string",
    "title": "string",
    "description": "string",
    "tags": [
      "string"
    ],
    "metaName": "string",
    "metaDescription": "string",
    "metaTags": [
      "string"
    ],
    "logo": "string",
    "favicon": "string",
    "bannerImage": "string",
    "isOpen": "boolean",
    "isCustomerLoyaltyEnabled": "boolean",
    "currency": "string",
    "website": "string",
    "supportEmail": "string",
    "supportPhone": "string",
    "createdAt": "string",
    "updatedAt": "string",
    "street": "string",
    "streetOptional": "string",
    "city": "string",
    "state": "string",
    "postcode": "string",
    "location": {
      "id": "string",
      "name": "string",
      "shortCode": "string"
    }
  }
}

Currency: string

object
USD
object
BDT

Customer: object

email:
phone:
firstName:
lastName:
profilePicture:
Example
{
  "email": "string",
  "phone": "string",
  "firstName": "string",
  "lastName": "string",
  "profilePicture": "string"
}

CustomerChangePasswordParams: object

oldPassword:
newPassword:
Example
{
  "oldPassword": "string",
  "newPassword": "string"
}

CustomerResetPasswordParams: object

email:
resetToken:
newPassword:
Example
{
  "email": "string",
  "resetToken": "string",
  "newPassword": "string"
}

CustomerResetPasswordRequestParams: object

email:
Example
{
  "email": "string"
}

DigitalContent: object

id:
title:
contentType:
isTrialAllowed:
contentText:
contentUrl:
updatedAt:
position:
Int
Example
{
  "id": "string",
  "title": "string",
  "contentType": "string",
  "isTrialAllowed": "boolean",
  "contentText": "string",
  "contentUrl": "string",
  "updatedAt": "string",
  "position": "number"
}

DigitalContentType: string

object
File
object
Text
object
Video

DigitalItem: object

id:
title:
description:
position:
Int
contents:
Example
{
  "id": "string",
  "title": "string",
  "description": "string",
  "position": "number",
  "contents": [
    {
      "id": "string",
      "title": "string",
      "contentType": "string",
      "isTrialAllowed": "boolean",
      "contentText": "string",
      "contentUrl": "string",
      "updatedAt": "string",
      "position": "number"
    }
  ]
}

DiscountType: string

object
Product
object
Shipping
object
Overall

Feedback: object

rating:
Int
comment:
createdAt:
Example
{
  "rating": "number",
  "comment": "string",
  "createdAt": "string"
}

FilterKey: string

object
collection
object
category
object
email

FilterQuery: object

key:
value:
Example
{
  "key": "string",
  "value": "string"
}

Float: number

The Float scalar type represents signed double-precision fractional values as specified by IEEE 754.

Example
number

GeneratePaymentNoneResponse: object

PaymentGatewayName:
Nonce:
StripePublishableKey:
Example
{
  "PaymentGatewayName": "string",
  "Nonce": "string",
  "StripePublishableKey": "string"
}

GenerateShopSecretResponse: object

secret:
Example
{
  "secret": {
    "id": "string",
    "key": "string",
    "secret": "string",
    "secretType": "string"
  }
}

GetAdminBlogPostResponse: object

post:
Example
{
  "post": {
    "id": "string",
    "title": "string",
    "slug": "string",
    "bannerImage": "string",
    "content": "string",
    "tags": [
      "string"
    ],
    "isPublished": "boolean",
    "isFeatured": "boolean",
    "views": "number",
    "favourites": "number",
    "comments": [
      {
        "id": "string",
        "content": "string",
        "customer": {
          "email": "string",
          "phone": "string",
          "firstName": "string",
          "lastName": "string",
          "profilePicture": "string"
        },
        "createdAt": "string",
        "updatedAt": "string"
      }
    ],
    "createdAt": "string",
    "updatedAt": "string"
  }
}

GetAdminCategoryByIdResponse: object

category:
Example
{
  "category": {
    "id": "string",
    "name": "string",
    "slug": "string",
    "isPublished": "boolean",
    "description": "string",
    "image": "string",
    "createdAt": "string",
    "updatedAt": "string",
    "productCount": "number",
    "position": "number"
  }
}

GetAdminCollectionByIdResponse: object

collection:
Example
{
  "collection": {
    "id": "string",
    "name": "string",
    "slug": "string",
    "isPublished": "boolean",
    "description": "string",
    "image": "string",
    "createdAt": "string",
    "updatedAt": "string",
    "products": [
      {
        "id": "string",
        "name": "string",
        "slug": "string",
        "description": "string",
        "isPublished": "boolean",
        "sku": "string",
        "stock": "number",
        "maxItemPerOrder": "number",
        "price": "number",
        "cost": "number",
        "images": [
          "string"
        ],
        "isDigitalProduct": "boolean",
        "views": "number",
        "createdAt": "string",
        "weight": "number",
        "weightUnit": "string",
        "productUnit": "string",
        "updatedAt": "string",
        "category": {
          "id": "string",
          "name": "string",
          "slug": "string",
          "isPublished": "boolean",
          "description": "string",
          "image": "string",
          "createdAt": "string",
          "updatedAt": "string",
          "productCount": "number",
          "position": "number"
        },
        "attributes": [
          {
            "id": "string",
            "name": "string",
            "values": [
              "string"
            ],
            "isRequired": "boolean",
            "createdAt": "string",
            "updateAt": "string"
          }
        ],
        "variations": [
          {}
        ]
      }
    ]
  }
}

GetAdminProductByIDResponse: object

product:
Example
{
  "product": {
    "id": "string",
    "name": "string",
    "slug": "string",
    "description": "string",
    "isPublished": "boolean",
    "sku": "string",
    "stock": "number",
    "maxItemPerOrder": "number",
    "price": "number",
    "cost": "number",
    "images": [
      "string"
    ],
    "isDigitalProduct": "boolean",
    "views": "number",
    "createdAt": "string",
    "weight": "number",
    "weightUnit": "string",
    "productUnit": "string",
    "updatedAt": "string",
    "category": {
      "id": "string",
      "name": "string",
      "slug": "string",
      "isPublished": "boolean",
      "description": "string",
      "image": "string",
      "createdAt": "string",
      "updatedAt": "string",
      "productCount": "number",
      "position": "number"
    },
    "attributes": [
      {
        "id": "string",
        "name": "string",
        "values": [
          "string"
        ],
        "isRequired": "boolean",
        "createdAt": "string",
        "updateAt": "string"
      }
    ],
    "variations": [
      {
        "id": "string",
        "name": "string",
        "price": "number",
        "cost": "number",
        "sku": "string",
        "stock": "number"
      }
    ],
    "digitalItems": [
      {
        "id": "string",
        "title": "string"
      }
    ]
  }
}

GetBlogPostResponse: object

post:
Example
{
  "post": {
    "id": "string",
    "title": "string",
    "slug": "string",
    "bannerImage": "string",
    "content": "string",
    "tags": [
      "string"
    ],
    "isPublished": "boolean",
    "isFeatured": "boolean",
    "views": "number",
    "favourites": "number",
    "comments": [
      {
        "id": "string",
        "content": "string",
        "customer": {
          "email": "string",
          "phone": "string",
          "firstName": "string",
          "lastName": "string",
          "profilePicture": "string"
        },
        "createdAt": "string",
        "updatedAt": "string"
      }
    ],
    "createdAt": "string",
    "updatedAt": "string"
  }
}

GetCartByIDResponse: object

cart:
Example
{
  "cart": {
    "id": "string",
    "isShippingRequired": "boolean",
    "cartItems": [
      {
        "id": "number",
        "product": {
          "id": "string",
          "name": "string",
          "slug": "string",
          "description": "string",
          "isPublished": "boolean",
          "sku": "string",
          "stock": "number",
          "maxItemPerOrder": "number",
          "price": "number",
          "cost": "number",
          "images": [
            "string"
          ],
          "isDigitalProduct": "boolean",
          "views": "number",
          "createdAt": "string",
          "weight": "number",
          "weightUnit": "string",
          "productUnit": "string",
          "updatedAt": "string",
          "category": {
            "id": "string",
            "name": "string",
            "slug": "string",
            "isPublished": "boolean",
            "description": "string",
            "image": "string",
            "createdAt": "string",
            "updatedAt": "string",
            "productCount": "number",
            "position": "number"
          },
          "attributes": [
            {
              "id": "string",
              "name": "string",
              "values": [
                "string"
              ],
              "isRequired": "boolean",
              "createdAt": "string",
              "updateAt": "string"
            }
          ],
          "variations": [
            {
              "id": "string",
              "name": "string",
              "price": "number",
              "cost": "number"
            }
          ]
        }
      }
    ]
  }
}

GetCategoryByIdResponse: object

category:
Example
{
  "category": {
    "id": "string",
    "name": "string",
    "slug": "string",
    "description": "string",
    "image": "string",
    "productCount": "number",
    "position": "number"
  }
}

GetCollectionByIdResponse: object

collection:
Example
{
  "collection": {
    "id": "string",
    "name": "string",
    "slug": "string",
    "description": "string",
    "image": "string",
    "products": [
      {
        "id": "string",
        "name": "string",
        "slug": "string",
        "description": "string",
        "isPublished": "boolean",
        "sku": "string",
        "stock": "number",
        "maxItemPerOrder": "number",
        "price": "number",
        "cost": "number",
        "images": [
          "string"
        ],
        "isDigitalProduct": "boolean",
        "views": "number",
        "createdAt": "string",
        "weight": "number",
        "weightUnit": "string",
        "productUnit": "string",
        "updatedAt": "string",
        "category": {
          "id": "string",
          "name": "string",
          "slug": "string",
          "isPublished": "boolean",
          "description": "string",
          "image": "string",
          "createdAt": "string",
          "updatedAt": "string",
          "productCount": "number",
          "position": "number"
        },
        "attributes": [
          {
            "id": "string",
            "name": "string",
            "values": [
              "string"
            ],
            "isRequired": "boolean",
            "createdAt": "string",
            "updateAt": "string"
          }
        ],
        "variations": [
          {
            "id": "string",
            "name": "string",
            "price": "number"
          }
        ]
      }
    ]
  }
}

GetCouponCodeByCodeResponse: object

coupon:
Example
{
  "coupon": {
    "id": "string",
    "code": "string",
    "amount": "number",
    "minOrderAmount": "number",
    "maxDiscountAmount": "number",
    "isActive": "boolean",
    "isFlatDiscount": "boolean",
    "isForNewUsersOnly": "boolean",
    "isUserSpecific": "boolean",
    "maxUsage": "number",
    "maxUsagePerUser": "number",
    "discountType": "string",
    "description": "string",
    "image": "string",
    "startAt": "string",
    "endAt": "string",
    "createdAt": "string",
    "updatedAt": "string",
    "customers": [
      {
        "email": "string",
        "phone": "string",
        "firstName": "string",
        "lastName": "string",
        "profilePicture": "string"
      }
    ]
  }
}

GetCouponCodeByIdResponse: object

coupon:
Example
{
  "coupon": {
    "id": "string",
    "code": "string",
    "amount": "number",
    "minOrderAmount": "number",
    "maxDiscountAmount": "number",
    "isActive": "boolean",
    "isFlatDiscount": "boolean",
    "isForNewUsersOnly": "boolean",
    "isUserSpecific": "boolean",
    "maxUsage": "number",
    "maxUsagePerUser": "number",
    "discountType": "string",
    "description": "string",
    "image": "string",
    "startAt": "string",
    "endAt": "string",
    "createdAt": "string",
    "updatedAt": "string",
    "customers": [
      {
        "email": "string",
        "phone": "string",
        "firstName": "string",
        "lastName": "string",
        "profilePicture": "string"
      }
    ]
  }
}

GetCustomerOrderByHashResponse: object

order:
Example
{
  "order": {
    "id": "string",
    "hash": "string",
    "shippingCharge": "number",
    "paymentProcessingFee": "number",
    "subtotal": "number",
    "grandTotal": "number",
    "discountedAmount": "number",
    "status": "string",
    "paymentStatus": "string",
    "createdAt": "string",
    "updatedAt": "string",
    "billingAddress": {
      "id": "string",
      "street": "string",
      "streetTwo": "string",
      "city": "string",
      "state": "string",
      "postcode": "string",
      "email": "string",
      "phone": "string",
      "location": {
        "id": "string",
        "name": "string",
        "shortCode": "string"
      }
    },
    "shippingAddress": {
      "id": "string",
      "street": "string",
      "streetTwo": "string",
      "city": "string",
      "state": "string",
      "postcode": "string",
      "email": "string",
      "phone": "string",
      "location": {
        "id": "string",
        "name": "string",
        "shortCode": "string"
      }
    },
    "cart": {
      "id": "string",
      "isShippingRequired": "boolean",
      "cartItems": [
        {
          "id": "number",
          "product": {
            "id": "string",
            "name": "string",
            "slug": "string",
            "description": "string",
            "isPublished": "boolean"
          }
        }
      ]
    }
  }
}

GetCustomerOrderByIdResponse: object

order:
Example
{
  "order": {
    "id": "string",
    "hash": "string",
    "shippingCharge": "number",
    "paymentProcessingFee": "number",
    "subtotal": "number",
    "grandTotal": "number",
    "discountedAmount": "number",
    "status": "string",
    "paymentStatus": "string",
    "createdAt": "string",
    "updatedAt": "string",
    "billingAddress": {
      "id": "string",
      "street": "string",
      "streetTwo": "string",
      "city": "string",
      "state": "string",
      "postcode": "string",
      "email": "string",
      "phone": "string",
      "location": {
        "id": "string",
        "name": "string",
        "shortCode": "string"
      }
    },
    "shippingAddress": {
      "id": "string",
      "street": "string",
      "streetTwo": "string",
      "city": "string",
      "state": "string",
      "postcode": "string",
      "email": "string",
      "phone": "string",
      "location": {
        "id": "string",
        "name": "string",
        "shortCode": "string"
      }
    },
    "cart": {
      "id": "string",
      "isShippingRequired": "boolean",
      "cartItems": [
        {
          "id": "number",
          "product": {
            "id": "string",
            "name": "string",
            "slug": "string",
            "description": "string",
            "isPublished": "boolean"
          }
        }
      ]
    }
  }
}

GetProductByIDResponse: object

product:
Example
{
  "product": {
    "id": "string",
    "name": "string",
    "slug": "string",
    "description": "string",
    "sku": "string",
    "stock": "number",
    "maxItemPerOrder": "number",
    "price": "number",
    "images": [
      "string"
    ],
    "isDigitalProduct": "boolean",
    "views": "number",
    "productUnit": "string",
    "createdAt": "string",
    "updatedAt": "string",
    "category": {
      "id": "string",
      "name": "string",
      "slug": "string",
      "description": "string",
      "image": "string",
      "productCount": "number",
      "position": "number"
    },
    "attributes": [
      {
        "id": "string",
        "name": "string",
        "values": [
          "string"
        ],
        "isRequired": "boolean",
        "createdAt": "string",
        "updateAt": "string"
      }
    ],
    "variations": [
      {
        "id": "string",
        "name": "string",
        "price": "number",
        "sku": "string",
        "stock": "number"
      }
    ],
    "digitalItems": [
      {
        "id": "string",
        "title": "string",
        "description": "string",
        "position": "number",
        "contents": [
          {
            "id": "string",
            "title": "string",
            "contentType": "string",
            "isTrialAllowed": "boolean"
          }
        ]
      }
    ]
  }
}

GetShippingMethodByIdResponse: object

method:
Example
{
  "method": {
    "id": "string",
    "displayName": "string",
    "deliveryCharge": "number",
    "deliveryTimeInDays": "number",
    "WeightUnit": "string",
    "isFlat": "boolean",
    "isActive": "boolean"
  }
}

ID: object

The ID scalar type represents a unique identifier, often used to refetch an object or as key for a cache. The ID type appears in a JSON response as a String; however, it is not intended to be human-readable. When expected as an input type, any string (such as "4") or integer (such as 4) input value will be accepted as an ID.

Example
object

Int: number

The Int scalar type represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1.

Example
number

ListAdminBlogPostResponse: object

posts:
Example
{
  "posts": [
    {
      "id": "string",
      "title": "string",
      "slug": "string",
      "bannerImage": "string",
      "content": "string",
      "tags": [
        "string"
      ],
      "isPublished": "boolean",
      "isFeatured": "boolean",
      "views": "number",
      "favourites": "number",
      "comments": [
        {
          "id": "string",
          "content": "string",
          "customer": {
            "email": "string",
            "phone": "string",
            "firstName": "string",
            "lastName": "string",
            "profilePicture": "string"
          },
          "createdAt": "string",
          "updatedAt": "string"
        }
      ],
      "createdAt": "string",
      "updatedAt": "string"
    }
  ]
}

ListAdminCategoryResponse: object

categories:
Example
{
  "categories": [
    {
      "id": "string",
      "name": "string",
      "slug": "string",
      "isPublished": "boolean",
      "description": "string",
      "image": "string",
      "createdAt": "string",
      "updatedAt": "string",
      "productCount": "number",
      "position": "number"
    }
  ]
}

ListAdminCollectionResponse: object

collections:
Example
{
  "collections": [
    {
      "id": "string",
      "name": "string",
      "slug": "string",
      "isPublished": "boolean",
      "description": "string",
      "image": "string",
      "createdAt": "string",
      "updatedAt": "string",
      "products": [
        {
          "id": "string",
          "name": "string",
          "slug": "string",
          "description": "string",
          "isPublished": "boolean",
          "sku": "string",
          "stock": "number",
          "maxItemPerOrder": "number",
          "price": "number",
          "cost": "number",
          "images": [
            "string"
          ],
          "isDigitalProduct": "boolean",
          "views": "number",
          "createdAt": "string",
          "weight": "number",
          "weightUnit": "string",
          "productUnit": "string",
          "updatedAt": "string",
          "category": {
            "id": "string",
            "name": "string",
            "slug": "string",
            "isPublished": "boolean",
            "description": "string",
            "image": "string",
            "createdAt": "string",
            "updatedAt": "string",
            "productCount": "number",
            "position": "number"
          },
          "attributes": [
            {
              "id": "string",
              "name": "string",
              "values": [
                "string"
              ],
              "isRequired": "boolean",
              "createdAt": "string",
              "updateAt": "string"
            }
          ],
          "variations": [
            null
          ]
        }
      ]
    }
  ]
}

ListAdminProductAttributeResponse: object

attributes:
Example
{
  "attributes": [
    {
      "id": "string",
      "name": "string",
      "values": [
        "string"
      ],
      "isRequired": "boolean",
      "createdAt": "string",
      "updateAt": "string"
    }
  ]
}

ListAdminProductResponse: object

products:
Example
{
  "products": [
    {
      "id": "string",
      "name": "string",
      "slug": "string",
      "description": "string",
      "isPublished": "boolean",
      "sku": "string",
      "stock": "number",
      "maxItemPerOrder": "number",
      "price": "number",
      "cost": "number",
      "images": [
        "string"
      ],
      "isDigitalProduct": "boolean",
      "views": "number",
      "createdAt": "string",
      "weight": "number",
      "weightUnit": "string",
      "productUnit": "string",
      "updatedAt": "string",
      "category": {
        "id": "string",
        "name": "string",
        "slug": "string",
        "isPublished": "boolean",
        "description": "string",
        "image": "string",
        "createdAt": "string",
        "updatedAt": "string",
        "productCount": "number",
        "position": "number"
      },
      "attributes": [
        {
          "id": "string",
          "name": "string",
          "values": [
            "string"
          ],
          "isRequired": "boolean",
          "createdAt": "string",
          "updateAt": "string"
        }
      ],
      "variations": [
        {
          "id": "string",
          "name": "string",
          "price": "number",
          "cost": "number",
          "sku": "string",
          "stock": "number"
        }
      ],
      "digitalItems": [
        {
          "id": "string"
        }
      ]
    }
  ]
}

ListAdminProductVariationResponse: object

variations:
Example
{
  "variations": [
    {
      "id": "string",
      "name": "string",
      "price": "number",
      "cost": "number",
      "sku": "string",
      "stock": "number"
    }
  ]
}

ListBlogPostResponse: object

posts:
Example
{
  "posts": [
    {
      "id": "string",
      "title": "string",
      "slug": "string",
      "bannerImage": "string",
      "content": "string",
      "tags": [
        "string"
      ],
      "isPublished": "boolean",
      "isFeatured": "boolean",
      "views": "number",
      "favourites": "number",
      "comments": [
        {
          "id": "string",
          "content": "string",
          "customer": {
            "email": "string",
            "phone": "string",
            "firstName": "string",
            "lastName": "string",
            "profilePicture": "string"
          },
          "createdAt": "string",
          "updatedAt": "string"
        }
      ],
      "createdAt": "string",
      "updatedAt": "string"
    }
  ]
}

ListCategoryResponse: object

categories:
Example
{
  "categories": [
    {
      "id": "string",
      "name": "string",
      "slug": "string",
      "description": "string",
      "image": "string",
      "productCount": "number",
      "position": "number"
    }
  ]
}

ListCollectionResponse: object

collections:
Example
{
  "collections": [
    {
      "id": "string",
      "name": "string",
      "slug": "string",
      "description": "string",
      "image": "string",
      "products": [
        {
          "id": "string",
          "name": "string",
          "slug": "string",
          "description": "string",
          "isPublished": "boolean",
          "sku": "string",
          "stock": "number",
          "maxItemPerOrder": "number",
          "price": "number",
          "cost": "number",
          "images": [
            "string"
          ],
          "isDigitalProduct": "boolean",
          "views": "number",
          "createdAt": "string",
          "weight": "number",
          "weightUnit": "string",
          "productUnit": "string",
          "updatedAt": "string",
          "category": {
            "id": "string",
            "name": "string",
            "slug": "string",
            "isPublished": "boolean",
            "description": "string",
            "image": "string",
            "createdAt": "string",
            "updatedAt": "string",
            "productCount": "number",
            "position": "number"
          },
          "attributes": [
            {
              "id": "string",
              "name": "string",
              "values": [
                "string"
              ],
              "isRequired": "boolean",
              "createdAt": "string",
              "updateAt": "string"
            }
          ],
          "variations": [
            {
              "id": "string",
              "name": "string"
            }
          ]
        }
      ]
    }
  ]
}

ListCouponCodesResponse: object

coupons:
Example
{
  "coupons": [
    {
      "id": "string",
      "code": "string",
      "amount": "number",
      "minOrderAmount": "number",
      "maxDiscountAmount": "number",
      "isActive": "boolean",
      "isFlatDiscount": "boolean",
      "isForNewUsersOnly": "boolean",
      "isUserSpecific": "boolean",
      "maxUsage": "number",
      "maxUsagePerUser": "number",
      "discountType": "string",
      "description": "string",
      "image": "string",
      "startAt": "string",
      "endAt": "string",
      "createdAt": "string",
      "updatedAt": "string",
      "customers": [
        {
          "email": "string",
          "phone": "string",
          "firstName": "string",
          "lastName": "string",
          "profilePicture": "string"
        }
      ]
    }
  ]
}

ListCustomerOrdersResponse: object

orders:
Example
{
  "orders": [
    {
      "id": "string",
      "hash": "string",
      "shippingCharge": "number",
      "paymentProcessingFee": "number",
      "subtotal": "number",
      "grandTotal": "number",
      "discountedAmount": "number",
      "status": "string",
      "paymentStatus": "string",
      "createdAt": "string",
      "updatedAt": "string",
      "billingAddress": {
        "id": "string",
        "street": "string",
        "streetTwo": "string",
        "city": "string",
        "state": "string",
        "postcode": "string",
        "email": "string",
        "phone": "string",
        "location": {
          "id": "string",
          "name": "string",
          "shortCode": "string"
        }
      },
      "shippingAddress": {
        "id": "string",
        "street": "string",
        "streetTwo": "string",
        "city": "string",
        "state": "string",
        "postcode": "string",
        "email": "string",
        "phone": "string",
        "location": {
          "id": "string",
          "name": "string",
          "shortCode": "string"
        }
      },
      "cart": {
        "id": "string",
        "isShippingRequired": "boolean",
        "cartItems": [
          {
            "id": "number",
            "product": {
              "id": "string",
              "name": "string",
              "slug": "string",
              "description": "string"
            }
          }
        ]
      }
    }
  ]
}

ListPaymentMethodResponse: object

methods:
Example
{
  "methods": [
    {
      "id": "string",
      "displayName": "string",
      "currencyName": "string",
      "currencySymbol": "string",
      "isDigitalPayment": "boolean"
    }
  ]
}

ListProductAttributeResponse: object

attributes:
Example
{
  "attributes": [
    {
      "id": "string",
      "name": "string",
      "values": [
        "string"
      ],
      "isRequired": "boolean",
      "createdAt": "string",
      "updateAt": "string"
    }
  ]
}

ListProductResponse: object

products:
Example
{
  "products": [
    {
      "id": "string",
      "name": "string",
      "slug": "string",
      "description": "string",
      "sku": "string",
      "stock": "number",
      "maxItemPerOrder": "number",
      "price": "number",
      "images": [
        "string"
      ],
      "isDigitalProduct": "boolean",
      "views": "number",
      "productUnit": "string",
      "createdAt": "string",
      "updatedAt": "string",
      "category": {
        "id": "string",
        "name": "string",
        "slug": "string",
        "description": "string",
        "image": "string",
        "productCount": "number",
        "position": "number"
      },
      "attributes": [
        {
          "id": "string",
          "name": "string",
          "values": [
            "string"
          ],
          "isRequired": "boolean",
          "createdAt": "string",
          "updateAt": "string"
        }
      ],
      "variations": [
        {
          "id": "string",
          "name": "string",
          "price": "number",
          "sku": "string",
          "stock": "number"
        }
      ],
      "digitalItems": [
        {
          "id": "string",
          "title": "string",
          "description": "string",
          "position": "number",
          "contents": [
            {
              "id": "string",
              "title": "string",
              "contentType": "string",
              "isTrialAllowed": "boolean"
            }
          ]
        }
      ]
    }
  ]
}

ListProductVariationResponse: object

variations:
Example
{
  "variations": [
    {
      "id": "string",
      "name": "string",
      "price": "number",
      "sku": "string",
      "stock": "number"
    }
  ]
}

ListShippingMethodResponse: object

methods:
Example
{
  "methods": [
    {
      "id": "string",
      "displayName": "string",
      "deliveryCharge": "number",
      "deliveryTimeInDays": "number",
      "WeightUnit": "string",
      "isFlat": "boolean",
      "isActive": "boolean"
    }
  ]
}

ListShopMediaResponse: object

items:
Example
{
  "items": [
    {
      "path": "string"
    }
  ]
}

Location: object

id:
name:
shortCode:
Example
{
  "id": "string",
  "name": "string",
  "shortCode": "string"
}

LoginCustomerParams: object

email:
password:
Example
{
  "email": "string",
  "password": "string"
}

LoginCustomerResponse: object

accessToken:
refreshToken:
Example
{
  "accessToken": "string",
  "refreshToken": "string"
}

LoginUserParams: object

email:
password:
Example
{
  "email": "string",
  "password": "string"
}

LoginUserResponse: object

accessToken:
refreshToken:
Example
{
  "accessToken": "string",
  "refreshToken": "string"
}

NewBlogPostParams: object

title:
slug:
bannerImage:
content:
tags:
isPublished:
isFeatured:
Example
{
  "title": "string",
  "slug": "string",
  "bannerImage": "string",
  "content": "string",
  "tags": [
    "string"
  ],
  "isPublished": "boolean",
  "isFeatured": "boolean"
}

NewCartParams: object

cartItems:
Example
{
  "cartItems": [
    {
      "productId": "string",
      "productAttributes": [
        {
          "Id": "string",
          "attributeSelectedValue": "string"
        }
      ],
      "productVariationId": "string",
      "quantity": "number"
    }
  ]
}

NewCategoryParams: object

name:
slug:
isPublished:
description:
image:
position:
Int
Example
{
  "name": "string",
  "slug": "string",
  "isPublished": "boolean",
  "description": "string",
  "image": "string",
  "position": "number"
}

NewCollectionParams: object

name:
slug:
isPublished:
description:
image:
position:
Int
Example
{
  "name": "string",
  "slug": "string",
  "isPublished": "boolean",
  "description": "string",
  "image": "string",
  "position": "number"
}

NewCouponCodeParams: object

code:
amount:
Int
minOrderAmount:
Int
maxDiscountAmount:
Int
isActive:
isFlatDiscount:
isForNewUsersOnly:
isUserSpecific:
maxUsage:
Int
maxUsagePerUser:
Int
discountType:
description:
image:
startAt:
endAt:
customers:
Example
{
  "code": "string",
  "amount": "number",
  "minOrderAmount": "number",
  "maxDiscountAmount": "number",
  "isActive": "boolean",
  "isFlatDiscount": "boolean",
  "isForNewUsersOnly": "boolean",
  "isUserSpecific": "boolean",
  "maxUsage": "number",
  "maxUsagePerUser": "number",
  "discountType": "string",
  "description": "string",
  "image": "string",
  "startAt": "string",
  "endAt": "string",
  "customers": [
    "string"
  ]
}

NewProduct: object

name:
slug:
description:
isPublished:
sku:
stock:
Int
maxItemPerOrder:
Int
price:
Int
cost:
Int
weight:
weightUnit:
productUnit:
images:
isDigitalProduct:
categoryId:
productSpecificDiscount:
Int
Example
{
  "name": "string",
  "slug": "string",
  "description": "string",
  "isPublished": "boolean",
  "sku": "string",
  "stock": "number",
  "maxItemPerOrder": "number",
  "price": "number",
  "cost": "number",
  "weight": "number",
  "weightUnit": "string",
  "productUnit": "string",
  "images": [
    "string"
  ],
  "isDigitalProduct": "boolean",
  "categoryId": "string",
  "productSpecificDiscount": "number"
}

NewShippingMethodParams: object

displayName:
deliveryCharge:
Int
deliveryTimeInDays:
Int
WeightUnit:
isFlat:
isActive:
Example
{
  "displayName": "string",
  "deliveryCharge": "number",
  "deliveryTimeInDays": "number",
  "WeightUnit": "string",
  "isFlat": "boolean",
  "isActive": "boolean"
}

NewStoreParams: object

name:
title:
description:
tags:
metaName:
metaDescription:
metaTags:
logo:
favicon:
bannerImage:
isOpen:
isCustomerLoyaltyEnabled:
currency:
website:
supportEmail:
supportPhone:
street:
streetOptional:
city:
state:
postcode:
locationID:
Example
{
  "name": "string",
  "title": "string",
  "description": "string",
  "tags": [
    "string"
  ],
  "metaName": "string",
  "metaDescription": "string",
  "metaTags": [
    "string"
  ],
  "logo": "object",
  "favicon": "object",
  "bannerImage": "object",
  "isOpen": "boolean",
  "isCustomerLoyaltyEnabled": "boolean",
  "currency": "string",
  "website": "string",
  "supportEmail": "string",
  "supportPhone": "string",
  "street": "string",
  "streetOptional": "string",
  "city": "string",
  "state": "string",
  "postcode": "string",
  "locationID": "string"
}

NewStoreSecretParams: object

secretType:
Example
{
  "secretType": "string"
}

Order: object

id:
hash:
shippingCharge:
Int
paymentProcessingFee:
Int
subtotal:
Int
grandTotal:
Int
discountedAmount:
Int
status:
paymentStatus:
createdAt:
updatedAt:
billingAddress:
shippingAddress:
cart:
customer:
shop:
paymentMethod:
shippingMethod:
couponCode:
payments:
feedback:
Example
{
  "id": "string",
  "hash": "string",
  "shippingCharge": "number",
  "paymentProcessingFee": "number",
  "subtotal": "number",
  "grandTotal": "number",
  "discountedAmount": "number",
  "status": "string",
  "paymentStatus": "string",
  "createdAt": "string",
  "updatedAt": "string",
  "billingAddress": {
    "id": "string",
    "street": "string",
    "streetTwo": "string",
    "city": "string",
    "state": "string",
    "postcode": "string",
    "email": "string",
    "phone": "string",
    "location": {
      "id": "string",
      "name": "string",
      "shortCode": "string"
    }
  },
  "shippingAddress": {
    "id": "string",
    "street": "string",
    "streetTwo": "string",
    "city": "string",
    "state": "string",
    "postcode": "string",
    "email": "string",
    "phone": "string",
    "location": {
      "id": "string",
      "name": "string",
      "shortCode": "string"
    }
  },
  "cart": {
    "id": "string",
    "isShippingRequired": "boolean",
    "cartItems": [
      {
        "id": "number",
        "product": {
          "id": "string",
          "name": "string",
          "slug": "string",
          "description": "string",
          "isPublished": "boolean",
          "sku": "string"
        }
      }
    ]
  }
}

OrderBy: string

object
ID
object
CreatedAt
object
UpdatedAt
object
Price
object
View

OrderDirection: string

object
Asc
object
Desc

OrderGenerateDigitalContent: object

type:
content:
contentUrl:
Example
{
  "type": "string",
  "content": "string",
  "contentUrl": "string"
}

OrderPaymentParams: object

payableAmount:
Int
Example
{
  "payableAmount": "number"
}

OrderPaymentStatus: string

object
Pending
object
Paid
object
Failed
object
Refunded
object
Lending

OrderSearchParams: object

customerEmail:
orderHash:
Example
{
  "customerEmail": "string",
  "orderHash": "string"
}

OrderStatus: string

object
Pending
object
Processing
object
Shipping
object
Delivered
object
Completed
object
Cancelled
object
Returned

OrderUpdateParams: object

status:
paymentStatus:
payments:
Example
{
  "status": "string",
  "paymentStatus": "string",
  "payments": [
    {
      "payableAmount": "number"
    }
  ]
}

PBlogPost: object

id:
title:
slug:
bannerImage:
content:
tags:
isPublished:
isFeatured:
views:
Int
favourites:
Int
comments:
createdAt:
updatedAt:
Example
{
  "id": "string",
  "title": "string",
  "slug": "string",
  "bannerImage": "string",
  "content": "string",
  "tags": [
    "string"
  ],
  "isPublished": "boolean",
  "isFeatured": "boolean",
  "views": "number",
  "favourites": "number",
  "comments": [
    {
      "id": "string",
      "content": "string",
      "customer": {
        "email": "string",
        "phone": "string",
        "firstName": "string",
        "lastName": "string",
        "profilePicture": "string"
      },
      "createdAt": "string",
      "updatedAt": "string"
    }
  ],
  "createdAt": "string",
  "updatedAt": "string"
}

PCart: object

id:
isShippingRequired:
cartItems:
Example
{
  "id": "string",
  "isShippingRequired": "boolean",
  "cartItems": [
    {
      "id": "number",
      "product": {
        "id": "string",
        "name": "string",
        "slug": "string",
        "description": "string",
        "sku": "string",
        "stock": "number",
        "maxItemPerOrder": "number",
        "price": "number",
        "images": [
          "string"
        ],
        "isDigitalProduct": "boolean",
        "views": "number",
        "productUnit": "string",
        "createdAt": "string",
        "updatedAt": "string",
        "category": {
          "id": "string",
          "name": "string",
          "slug": "string",
          "description": "string",
          "image": "string",
          "productCount": "number",
          "position": "number"
        },
        "attributes": [
          {
            "id": "string",
            "name": "string",
            "values": [
              "string"
            ],
            "isRequired": "boolean",
            "createdAt": "string",
            "updateAt": "string"
          }
        ],
        "variations": [
          {
            "id": "string",
            "name": "string",
            "price": "number",
            "sku": "string",
            "stock": "number"
          }
        ],
        "digitalItems": [
          {
            "id": "string",
            "title": "string",
            "description": "string",
            "position": "number",
            "contents": [
              {}
            ]
          }
        ]
      }
    }
  ]
}

PCartItem: object

id:
Int
product:
quantity:
Int
purchasePrice:
Int
attributes:
variation:
Example
{
  "id": "number",
  "product": {
    "id": "string",
    "name": "string",
    "slug": "string",
    "description": "string",
    "sku": "string",
    "stock": "number",
    "maxItemPerOrder": "number",
    "price": "number",
    "images": [
      "string"
    ],
    "isDigitalProduct": "boolean",
    "views": "number",
    "productUnit": "string",
    "createdAt": "string",
    "updatedAt": "string",
    "category": {
      "id": "string",
      "name": "string",
      "slug": "string",
      "description": "string",
      "image": "string",
      "productCount": "number",
      "position": "number"
    },
    "attributes": [
      {
        "id": "string",
        "name": "string",
        "values": [
          "string"
        ],
        "isRequired": "boolean",
        "createdAt": "string",
        "updateAt": "string"
      }
    ],
    "variations": [
      {
        "id": "string",
        "name": "string",
        "price": "number",
        "sku": "string",
        "stock": "number"
      }
    ],
    "digitalItems": [
      {
        "id": "string",
        "title": "string",
        "description": "string",
        "position": "number",
        "contents": [
          {
            "id": "string",
            "title": "string",
            "contentType": "string"
          }
        ]
      }
    ]
  }
}

PCategory: object

id:
name:
slug:
description:
image:
productCount:
Int
position:
Int
Example
{
  "id": "string",
  "name": "string",
  "slug": "string",
  "description": "string",
  "image": "string",
  "productCount": "number",
  "position": "number"
}

PCollection: object

id:
name:
slug:
description:
image:
products:
productCount:
Int
position:
Int
Example
{
  "id": "string",
  "name": "string",
  "slug": "string",
  "description": "string",
  "image": "string",
  "products": [
    {
      "id": "string",
      "name": "string",
      "slug": "string",
      "description": "string",
      "isPublished": "boolean",
      "sku": "string",
      "stock": "number",
      "maxItemPerOrder": "number",
      "price": "number",
      "cost": "number",
      "images": [
        "string"
      ],
      "isDigitalProduct": "boolean",
      "views": "number",
      "createdAt": "string",
      "weight": "number",
      "weightUnit": "string",
      "productUnit": "string",
      "updatedAt": "string",
      "category": {
        "id": "string",
        "name": "string",
        "slug": "string",
        "isPublished": "boolean",
        "description": "string",
        "image": "string",
        "createdAt": "string",
        "updatedAt": "string",
        "productCount": "number",
        "position": "number"
      },
      "attributes": [
        {
          "id": "string",
          "name": "string",
          "values": [
            "string"
          ],
          "isRequired": "boolean",
          "createdAt": "string",
          "updateAt": "string"
        }
      ],
      "variations": [
        {
          "id": "string",
          "name": "string",
          "price": "number",
          "cost": "number"
        }
      ]
    }
  ]
}

PDigitalItem: object

id:
title:
description:
position:
Int
contents:
Example
{
  "id": "string",
  "title": "string",
  "description": "string",
  "position": "number",
  "contents": [
    {
      "id": "string",
      "title": "string",
      "contentType": "string",
      "isTrialAllowed": "boolean",
      "contentText": "string",
      "contentUrl": "string",
      "updatedAt": "string",
      "position": "number"
    }
  ]
}

POrder: object

id:
hash:
shippingCharge:
Int
paymentProcessingFee:
Int
subtotal:
Int
grandTotal:
Int
discountedAmount:
Int
status:
paymentStatus:
createdAt:
updatedAt:
billingAddress:
shippingAddress:
cart:
customer:
shop:
paymentMethod:
shippingMethod:
couponCode:
payments:
feedback:
Example
{
  "id": "string",
  "hash": "string",
  "shippingCharge": "number",
  "paymentProcessingFee": "number",
  "subtotal": "number",
  "grandTotal": "number",
  "discountedAmount": "number",
  "status": "string",
  "paymentStatus": "string",
  "createdAt": "string",
  "updatedAt": "string",
  "billingAddress": {
    "id": "string",
    "street": "string",
    "streetTwo": "string",
    "city": "string",
    "state": "string",
    "postcode": "string",
    "email": "string",
    "phone": "string",
    "location": {
      "id": "string",
      "name": "string",
      "shortCode": "string"
    }
  },
  "shippingAddress": {
    "id": "string",
    "street": "string",
    "streetTwo": "string",
    "city": "string",
    "state": "string",
    "postcode": "string",
    "email": "string",
    "phone": "string",
    "location": {
      "id": "string",
      "name": "string",
      "shortCode": "string"
    }
  },
  "cart": {
    "id": "string",
    "isShippingRequired": "boolean",
    "cartItems": [
      {
        "id": "number",
        "product": {
          "id": "string",
          "name": "string",
          "slug": "string",
          "description": "string",
          "sku": "string",
          "stock": "number"
        }
      }
    ]
  }
}

POrderSearchParams: object

shopName:
orderHash:
Example
{
  "shopName": "string",
  "orderHash": "string"
}

PProduct: object

id:
name:
slug:
description:
sku:
stock:
Int
maxItemPerOrder:
Int
price:
Int
images:
isDigitalProduct:
views:
Int
productUnit:
createdAt:
updatedAt:
category:
attributes:
variations:
digitalItems:
feedbacks:
productSpecificDiscount:
Int
Example
{
  "id": "string",
  "name": "string",
  "slug": "string",
  "description": "string",
  "sku": "string",
  "stock": "number",
  "maxItemPerOrder": "number",
  "price": "number",
  "images": [
    "string"
  ],
  "isDigitalProduct": "boolean",
  "views": "number",
  "productUnit": "string",
  "createdAt": "string",
  "updatedAt": "string",
  "category": {
    "id": "string",
    "name": "string",
    "slug": "string",
    "description": "string",
    "image": "string",
    "productCount": "number",
    "position": "number"
  },
  "attributes": [
    {
      "id": "string",
      "name": "string",
      "values": [
        "string"
      ],
      "isRequired": "boolean",
      "createdAt": "string",
      "updateAt": "string"
    }
  ],
  "variations": [
    {
      "id": "string",
      "name": "string",
      "price": "number",
      "sku": "string",
      "stock": "number"
    }
  ],
  "digitalItems": [
    {
      "id": "string",
      "title": "string",
      "description": "string",
      "position": "number",
      "contents": [
        {
          "id": "string",
          "title": "string",
          "contentType": "string",
          "isTrialAllowed": "boolean",
          "contentText": "string"
        }
      ]
    }
  ]
}

PProductVariation: object

id:
name:
price:
Int
sku:
stock:
Int
Example
{
  "id": "string",
  "name": "string",
  "price": "number",
  "sku": "string",
  "stock": "number"
}

PStore: object

name: