Queries
Me
query {
CoreShopMe {
... on CoreShopMeResult {
user {
id
... on object_CoreShopUser {
customer {
... on object_CoreShopCustomer {
id
}
}
}
}
}
... on CoreShopError {
message
}
}
}
Active Order
query {
CoreShopActiveOrder() {
... on CoreShopActiveOrderResult {
order {
id,
... on object_CoreShopOrder {
token,
store {
... on CoreshopStore {name}
}
items {
... on object_CoreShopOrderItem {
id,
totalNet
totalGross
subtotalNet
subtotalGross
product {
... on object_CoreShopProduct {
id
}
}
}
}
totalNet
totalGross
subtotalNet
subtotalGross
adjustmentItems {
... on fieldcollection_CoreShopAdjustment {
typeIdentifier
label
pimcoreAmountNet
pimcoreAmountGross
}
}
}
}
}
... on CoreShopError {
message
}
}
}
Filters
query {
CoreShopFilter(filterListing: {filter: {filterId: 1}, category: {categoryId: 1}, parameters: [{key: "parentCategoryIds", value: "[24]"}]}) {
... on CoreShopFilterResult {
objects {
totalCount
edges {
node {
id
}
}
}
}
... on CoreShopError {
message
}
}
}
Product Listing
query {
CoreShopProducts(productListing: {}) {
... on CoreShopProductsResult {
products {
totalCount,
edges {
node {
id
}
}
}
}
... on CoreShopError {
message
}
}
}
Category Listing
query {
CoreShopCategories(categoryListing: {}) {
... on CoreShopCategoriesResult {
categories {
totalCount,
edges {
node {
name
}
}
}
}
... on CoreShopError {
message
}
}
}
Latest Products
query {
CoreShopLatestProducts {
... on CoreShopLatestProductsResult {
products {
totalCount,
edges {
node {
id
name
images {
... on asset {
fullpath
}
}
price: wholesalePrice
shortDescription
}
}
}
}
... on CoreShopError {
message
}
}
}
Product Price
query {
CoreShopProductPrice(productPrice: {productId: 36, context: {}}) {
__typename,
... on CoreShopProductPriceResult {
price_net
price_gross
retail_price_net
retail_price_gross
discount_price_net
discount_price_gross
discount_net
discount_gross
}
}
}
Checkout Get Carriers
query {
CoreShopCarrierList(carrierList: {order: {token: "nd0ocYeF6HlzWdC0BrOi"}}) {
__typename
... on CoreShopCarrierListResult{
carriers {
carrier {
translations {
items {
title
}
}
}
price_net
price_gross
tax
}
}
}
}