Centra Integration API

Automatically generated GraphQL API specification for Centra Integration API

link GraphQL Schema definition

1schema {
 
2# The main queries are here, click to expand
3query: Query
 
4mutation: Mutation
5}

link Changelog

v0.34.0

  • Ported from v0.31.10-12:
    • Fix of invalid type handling: a user error, not a server error.
    • Internal logging and metrics improvements.
    • Bug fix for stockTotals.

v0.33.0

  • Internal improvements

v0.32.6

  • New field added to the Order type: purchaserInfo
  • Changed the way admin discount value is calculated if it is specified as percentOff

v0.32.5

  • Bug fix in the completeShipment mutation

v0.32.4

  • Bug fix in the createShipment mutation

v0.32.3

  • Ported from v0.31.8:
    • An optional field externalId on input type AccountFilter was added.

v0.32.2

  • Ported from v0.31.7:
    • Performance improvement: mutations, which don't change any data, will not produce events.

v0.32.1

  • New shipment mutations were added:
    • createShipment
    • updateShipment
    • completeShipment
    • deleteShipment
  • Mutations updateDirectToConsumerOrder and updateWholesaleOrder were extended with new fields

v0.32.0

  • An optional field shippingType on input type SubscriptionPlanCreateInput was added.
  • An optional field shippingType on input type SubscriptionPlanUpdateInput was added.
  • SubscriptionPlan.shippingType was added.
  • More performance improvements.

v0.31.12

  • Fix of invalid type handling: a user error, not a server error.

v0.31.11

  • Internal logging and metrics improvements.

v0.31.10

  • Bug fix for stockTotals.

v0.31.9

  • Internal improvements related to logging.

v0.31.8

  • An optional field externalId on input type AccountFilter was added.

v0.31.7

  • Performance improvement: mutations, which don't change any data, will not produce events.

v0.31.6

  • Bug fix in supplier module support

v0.31.5

  • Internal improvements

v0.31.4

  • Bug fix: SizeAlias.label was always empty.

v0.31.3

  • Ported from v0.30.6:
    • createdAt_ASC was added to enum type PurchaserSort.
    • createdAt_DESC was added to enum type PurchaserSort.
    • updatedAt_ASC was added to enum type PurchaserSort.
    • updatedAt_DESC was added to enum type PurchaserSort.
    • An optional field createdAt on input type PurchaserFilter was added.
    • An optional field updatedAt on input type PurchaserFilter was added.

v0.31.2

  • Enable schema caching for improved performance.

v0.31.1

  • Internal performance improvements.

v0.31.0

  • New mutation registerInvoicePayment was added.
  • New mutation markInvoiceAsPaid was added.
  • New fields added to the Invoice type: orders, shipments and payments.
  • New mutation addOrderLinkAttachment was added.
  • New field added to the WholesaleOrder type: attachments.

v0.30.6

  • createdAt_ASC was added to enum type PurchaserSort.
  • createdAt_DESC was added to enum type PurchaserSort.
  • updatedAt_ASC was added to enum type PurchaserSort.
  • updatedAt_DESC was added to enum type PurchaserSort.
  • An optional field createdAt on input type PurchaserFilter was added.
  • An optional field updatedAt on input type PurchaserFilter was added.

v0.30.5

  • [BREAKING] MonetaryValue.valueInCents changed type from Int! to Int64!.

v0.30.4

  • [BREAKING] WarehouseDeliveryLine.warehouse changed type from Warehouse! to Warehouse.

v0.30.3

  • OrderLine.discountPercent is rounded properly now (precision 2)

v0.30.2

  • Validation changes: variables, which should be given a DateTimeTz scalar will accept String as variable type.

v0.30.1

  • [BREAKING] Subscription.nextOrderDate changed type from Date! to Date.
  • [BREAKING] Subscription.nextRetryDate changed type from Date! to Date.

v0.30.0

  • New query invoicePayments was added.
  • PaymentHistoryEntry.paymentMethod was added.
  • An optional field paymentMethod on input type PaymentHistoryEntryFilter was added.
  • Introduced new Date and DateTimeTz scalar types. They triggered the following changes:
    • [BREAKING] DateRange.from changed type from String to DateTimeTz.
    • [BREAKING] DateRange.to changed type from String to DateTimeTz.
    • [BREAKING] Account.createdAt changed type from String! to DateTimeTz!.
    • [BREAKING] Account.updatedAt changed type from String! to DateTimeTz!.
    • [BREAKING] MonetaryValue.conversionDate changed type from String! to DateTimeTz!.
    • [BREAKING] Currency.updatedAt changed type from String! to DateTimeTz!.
    • [BREAKING] Pricelist.updatedAt changed type from String! to DateTimeTz!.
    • [BREAKING] Campaign.createdAt changed type from String! to DateTimeTz!.
    • [BREAKING] Campaign.updatedAt changed type from String! to DateTimeTz!.
    • [BREAKING] CampaignVariant.createdAt changed type from String! to DateTimeTz!.
    • [BREAKING] CampaignVariant.startAt changed type from String! to DateTimeTz!.
    • [BREAKING] CampaignVariant.stopAt changed type from String! to DateTimeTz!.
    • [BREAKING] ProductVariant.updatedAt changed type from String! to DateTimeTz!.
    • [BREAKING] Display.updatedAt changed type from String! to DateTimeTz!.
    • [BREAKING] Affiliate.updatedAt changed type from String! to DateTimeTz!.
    • [BREAKING] Order.createdAt changed type from String! to DateTimeTz!.
    • [BREAKING] Order.updatedAt changed type from String! to DateTimeTz!.
    • [BREAKING] Order.orderDate changed type from String! to DateTimeTz!.
    • [BREAKING] OrderDiscount.date changed type from String! to DateTimeTz!.
    • [BREAKING] EmailHistoryEntry.createdAt changed type from String! to DateTimeTz!.
    • [BREAKING] AdminUser.createdAt changed type from String to DateTimeTz.
    • [BREAKING] AdminUser.lastLoginAt changed type from String to DateTimeTz.
    • [BREAKING] AdminUser.lastOnlineAt changed type from String to DateTimeTz.
    • [BREAKING] Product.createdAt changed type from String! to DateTimeTz!.
    • [BREAKING] Product.updatedAt changed type from String! to DateTimeTz!.
    • [BREAKING] ProductSize.updatedAt changed type from String! to DateTimeTz!.
    • [BREAKING] Market.updatedAt changed type from String! to DateTimeTz!.
    • [BREAKING] WarehouseDelivery.createdAt changed type from String! to DateTimeTz!.
    • [BREAKING] Invoice.createdAt changed type from String! to DateTimeTz!.
    • [BREAKING] Invoice.dueDate changed type from String to Date.
    • [BREAKING] Invoice.orderDate changed type from String to Date.
    • [BREAKING] Invoice.updatedAt changed type from String! to DateTimeTz!.
    • [BREAKING] NumberSeries.updatedAt changed type from String! to DateTimeTz!.
    • [BREAKING] Purchaser.createdAt changed type from String! to DateTimeTz!.
    • [BREAKING] Purchaser.updatedAt changed type from String! to DateTimeTz!.
    • [BREAKING] Purchaser.lastLoginAt changed type from String to DateTimeTz.
    • [BREAKING] Purchaser.lastOnlineAt changed type from String to DateTimeTz.
    • [BREAKING] TaxRule.applyFrom changed type from String! to DateTimeTz!.
    • [BREAKING] TaxRule.applyTo changed type from String to DateTimeTz.
    • [BREAKING] PurchaseOrderDelivery.createdAt changed type from String! to DateTimeTz!.
    • [BREAKING] PurchaseOrderDelivery.exFactoryDate changed type from String to DateTimeTz.
    • [BREAKING] PurchaseOrderDelivery.ETA changed type from String to DateTimeTz.
    • [BREAKING] PurchaseOrder.createdAt changed type from String! to DateTimeTz!.
    • [BREAKING] PurchaseOrder.updatedAt changed type from String! to DateTimeTz!.
    • [BREAKING] PurchaseOrder.ETA changed type from String to DateTimeTz.
    • [BREAKING] PurchaseOrder.requestedETD changed type from String to DateTimeTz.
    • [BREAKING] PurchaseOrder.confirmedETD changed type from String to DateTimeTz.
    • [BREAKING] SubscriptionPlan.createdAt changed type from String! to DateTimeTz!.
    • [BREAKING] SubscriptionPlan.updatedAt changed type from String! to DateTimeTz!.
    • [BREAKING] OrderHistoryEntry.createdAt changed type from String! to DateTimeTz!.
    • [BREAKING] PaymentHistoryEntry.createdAt changed type from String! to DateTimeTz!.
    • [BREAKING] Return.createdAt changed type from String! to DateTimeTz!.
    • [BREAKING] Shipment.createdAt changed type from String! to DateTimeTz!.
    • [BREAKING] Shipment.updatedAt changed type from String! to DateTimeTz!.
    • [BREAKING] Shipment.emailSentAt changed type from String to DateTimeTz.
    • [BREAKING] Shipment.paidAt changed type from String to DateTimeTz.
    • [BREAKING] ShippingOption.updatedAt changed type from String! to DateTimeTz!.
    • [BREAKING] Buyer.createdAt changed type from String! to DateTimeTz!.
    • [BREAKING] Buyer.updatedAt changed type from String! to DateTimeTz!.
    • [BREAKING] Buyer.lastLoginAt changed type from String to DateTimeTz.
    • [BREAKING] Buyer.lastOnlineAt changed type from String to DateTimeTz.
    • [BREAKING] WholesaleOrder.createdAt changed type from String! to DateTimeTz!.
    • [BREAKING] WholesaleOrder.updatedAt changed type from String! to DateTimeTz!.
    • [BREAKING] WholesaleOrder.orderDate changed type from String! to DateTimeTz!.
    • [BREAKING] WholesaleOrder.preferredShippingDate changed type from String to DateTimeTz.
    • [BREAKING] WholesaleOrder.estimatedDeliveryDate changed type from String to DateTimeTz.
    • [BREAKING] WholesaleOrder.cancelDate changed type from String to DateTimeTz.
    • [BREAKING] NewsletterSubscription.createdAt changed type from String! to DateTimeTz!.
    • [BREAKING] Customer.createdAt changed type from String! to DateTimeTz!.
    • [BREAKING] Customer.updatedAt changed type from String! to DateTimeTz!.
    • [BREAKING] Customer.lastLoginAt changed type from String to DateTimeTz.
    • [BREAKING] Customer.lastOnlineAt changed type from String to DateTimeTz.
    • [BREAKING] Customer.birthdate changed type from String to Date.
    • [BREAKING] DirectToConsumerOrder.createdAt changed type from String! to DateTimeTz!.
    • [BREAKING] DirectToConsumerOrder.updatedAt changed type from String! to DateTimeTz!.
    • [BREAKING] DirectToConsumerOrder.orderDate changed type from String! to DateTimeTz!.
    • [BREAKING] Discount.createdAt changed type from String to DateTimeTz.
    • [BREAKING] Discount.startAt changed type from String to DateTimeTz.
    • [BREAKING] Discount.stopAt changed type from String to DateTimeTz.
    • [BREAKING] Discount.updatedAt changed type from String! to DateTimeTz!.
    • [BREAKING] AppliedDiscount.date changed type from String! to DateTimeTz!.
    • [BREAKING] GraphQLAccess.createdAt changed type from String! to DateTimeTz!.
    • [BREAKING] GraphQLAccess.expiresAt changed type from String! to DateTimeTz!.
    • [BREAKING] GraphQLCallStats.lastUsedAt changed type from String! to DateTimeTz!.
    • [BREAKING] PriceAlteration.startDate changed type from String! to Date!.
    • [BREAKING] Subscription.nextOrderDate changed type from String! to Date!.
    • [BREAKING] Subscription.nextRetryDate changed type from String! to Date!.
    • [BREAKING] Subscription.createdAt changed type from String! to DateTimeTz!.
    • [BREAKING] Subscription.updatedAt changed type from String! to DateTimeTz!.
    • [BREAKING] SubscriptionContract.createdAt changed type from String! to DateTimeTz!.
    • [BREAKING] SubscriptionContract.updatedAt changed type from String! to DateTimeTz!.
    • [BREAKING] SubscriptionPayment.createdAt changed type from String! to DateTimeTz!.
    • [BREAKING] SubscriptionPayment.updatedAt changed type from String! to DateTimeTz!.
    • [BREAKING] AdminDiscount.date changed type from String! to DateTimeTz!.
    • [BREAKING] PreorderDeliveryWindow.deliveryStartDate changed type from String to DateTimeTz.
    • [BREAKING] PreorderDeliveryWindow.deliveryEndDate changed type from String to DateTimeTz.
    • [BREAKING] PreorderDeliveryWindow.salesStartDate changed type from String to DateTimeTz.
    • [BREAKING] PreorderDeliveryWindow.salesEndDate changed type from String to DateTimeTz.
    • [BREAKING] PriceAlterationCreateInput.startDate changed type from String! to Date!.
    • [BREAKING] PriceAlterationUpdateInput.startDate changed type from String to Date.
    • [BREAKING] CustomerCreateInput.birthdate changed type from String to Date.
    • [BREAKING] CustomerCreateInput.createdAt changed type from String to DateTimeTz.
    • [BREAKING] CustomerUpdateInput.birthdate changed type from String to Date.
    • [BREAKING] CampaignVariantSetInput.startAt changed type from String! to DateTimeTz!.
    • [BREAKING] CampaignVariantSetInput.stopAt changed type from String! to DateTimeTz!.
    • [BREAKING] DiscountCreateInput.startAt changed type from String! to DateTimeTz!.
    • [BREAKING] DiscountCreateInput.stopAt changed type from String! to DateTimeTz!.
    • [BREAKING] DiscountUpdateInput.startAt changed type from String to DateTimeTz.
    • [BREAKING] DiscountUpdateInput.stopAt changed type from String to DateTimeTz.
    • [BREAKING] DiscountActionCriteriaNewCustomerInput.since changed type from String! to Date!.
    • [BREAKING] PreorderDeliveryWindowInput.deliveryDateRange changed type from DateRange to DateRange!.
    • [BREAKING] PreorderDeliveryWindowInput.salesDateRange changed type from DateRange to DateRange!.
    • [BREAKING] Bundle.createdAt changed type from String! to DateTimeTz!.
    • [BREAKING] Bundle.updatedAt changed type from String! to DateTimeTz!.
    • [BREAKING] OpeningDay.date changed type from String to Date.
    • [BREAKING] BundleSection.createdAt changed type from String! to DateTimeTz!.
    • [BREAKING] BundleSection.updatedAt changed type from String! to DateTimeTz!.
    • [BREAKING] Shipment.shippedAt changed type from String to DateTimeTz.
    • [BREAKING] SubscriptionCreateInput.nextOrderDate changed type from String! to Date!.

v0.29.2

  • Speed improvements.

v0.29.1

  • Internal improvements related to cache.

v0.29.0

  • New mutation setOrdersLock was added

v0.28.0

  • Bugfixing, internal improvements

v0.27.1

  • Mutations createProductVariant and updateProductVariant now accept empty variantNumber.

v0.27.0

  • Internal improvements

v0.26.1

  • [BREAKING] OrderHistoryEntry.purchaser changed type from Purchaser! to Purchaser.

v0.26.0

  • Shipment.internalShippingCost was added
  • Shipment.shippedAt was added
  • [DEPRECATED] Shipment.emailSentAt is now deprecated, use Shipment.shippedAt instead.
  • Display was added to enum type AttributeObjectType.
  • ObjectWithAttributes added to interfaces implemented by Display.

v0.25.3

  • Make the setStock mutation handle a lot more input (up to 10k sizes in one call).

v0.25.2

  • Descriptions and meta fields are shared between displays of the same product and store (again).

v0.25.1

  • An optional field SKU on input type ProductSizeFilter was added.

v0.25.0

  • New mutations added:
    • setStock – unlike changeStock, you can provide absolute physical or FTA stock values.
  • An optional field isPaid on input type ShipmentCreateInput was added.

v0.24.3

  • Hotfix: removed applying discount on SubscriptionItem.unitPrice.

v0.24.2

  • Hotfix: internal improvements.

v0.24.1

  • Hotfix: processing of a deleted attribute.

v0.24.0

  • New mutations added:
    • deleteDiscountAction.
    • updateDiscountAction.
  • An optional field freeProducts on input type DiscountActionResultInput was added.
  • [BREAKING] Renamed DiscountActionCriteriaInput to DiscountActionCriteriaCreateInput, but kept DiscountActionCriteriaInput to contain only id. It required the following changed:
    • An optional field id on input type DiscountActionCriteriaInput was added.
    • [BREAKING] DiscountActionCreateInput.addCriteria changed type from [DiscountActionCriteriaInput!]! to [DiscountActionCriteriaCreateInput!]!.
    • [BREAKING] DiscountActionCriteriaInput.always was removed.
    • [BREAKING] DiscountActionCriteriaInput.productQuantity was removed.
    • [BREAKING] DiscountActionCriteriaInput.orderQuantity was removed.
    • [BREAKING] DiscountActionCriteriaInput.productValue was removed.
    • [BREAKING] DiscountActionCriteriaInput.orderValue was removed.
    • [BREAKING] DiscountActionCriteriaInput.xOfY was removed.
    • [BREAKING] DiscountActionCriteriaInput.oncePerCustomer was removed.
    • [BREAKING] DiscountActionCriteriaInput.newCustomer was removed.
    • [BREAKING] DiscountActionCriteriaInput.loggedInCustomer was removed.
    • [BREAKING] DiscountActionCriteriaInput.productVariants was removed.
    • [BREAKING] DiscountActionCriteriaInput.categories was removed.
    • [BREAKING] DiscountActionCriteriaInput.folders was removed.
    • [BREAKING] DiscountActionCriteriaInput.deliveryWindows was removed.
    • [BREAKING] DiscountActionCriteriaInput.productsNotDiscounted was removed.
    • [BREAKING] DiscountActionCriteriaInput.productInSale was removed.
    • [BREAKING] DiscountActionCriteriaInput.productInNews was removed.
    • [BREAKING] DiscountActionCriteriaInput.productsAffectedByOtherVoucher was removed.
    • [BREAKING] DiscountActionCriteriaInput.cheapestProducts was removed.
    • [BREAKING] DiscountActionCriteriaInput.costliestProducts was removed.

v0.23.0

  • New mutations added:
    • updateSubscription.
    • addOrderNote.
    • confirmOrder.
  • New DiscountActionResultInput types were added:
    • An optional field selectedProducts on input type DiscountActionResultInput was added.
    • An optional field productTotal on input type DiscountActionResultInput was added.
    • An optional field orderTotal on input type DiscountActionResultInput was added.
    • An optional field freeShipping on input type DiscountActionResultInput was added.
  • Currency.isBase was added.
  • Added a new query to fetch multiple bundles Query.bundles.

v0.22.0

  • New calculateTaxes query was added.
  • New DiscountActionCriteria types were added:
    • PRODUCTS_NOT_DISCOUNTED was added to enum type DiscountActionCriteriaType.
    • PRODUCTS_NOT_AFFECTED_BY_OTHER_VOUCHER was added to enum type DiscountActionCriteriaType.
    • CHEAPEST_PRODUCTS was added to enum type DiscountActionCriteriaType.
    • COSTLIEST_PRODUCTS was added to enum type DiscountActionCriteriaType.
    • An optional field productInSale on input type DiscountActionCriteriaInput was added.
    • An optional field productInNews on input type DiscountActionCriteriaInput was added.
    • An optional field productsAffectedByOtherVoucher on input type DiscountActionCriteriaInput was added.
    • An optional field productsNotDiscounted on input type DiscountActionCriteriaInput was added.
    • [BREAKING] DiscountActionCriteriaQuantityInput was removed.
    • [BREAKING] DiscountActionCriteriaInput.productQuantity changed type from DiscountActionCriteriaQuantityInput to DiscountActionCriteriaComparableQuantityInput.
    • [BREAKING] DiscountActionCriteriaInput.orderQuantity changed type from DiscountActionCriteriaQuantityInput to DiscountActionCriteriaComparableQuantityInput.
    • An optional field cheapestProducts on input type DiscountActionCriteriaInput was added.
    • An optional field costliestProducts on input type DiscountActionCriteriaInput was added.
  • Added mutation deleteShippingOption.

v0.21.0

  • New mutations added:
    • deleteCategory,
    • updateProductMedia.
  • New DiscountActionCriteria types were added:
    • An optional field productQuantity on input type DiscountActionCriteriaInput was added.
    • An optional field orderQuantity on input type DiscountActionCriteriaInput was added.
    • An optional field xOfY on input type DiscountActionCriteriaInput was added.
    • An optional field oncePerCustomer on input type DiscountActionCriteriaInput was added.
    • An optional field newCustomer on input type DiscountActionCriteriaInput was added.
    • An optional field loggedInCustomer on input type DiscountActionCriteriaInput was added.
    • An optional field productVariants on input type DiscountActionCriteriaInput was added.
    • An optional field categories on input type DiscountActionCriteriaInput was added.
    • An optional field folders on input type DiscountActionCriteriaInput was added.
    • An optional field deliveryWindows on input type DiscountActionCriteriaInput was added.
    • An optional field productValue on input type DiscountActionCriteriaInput was added.
    • An optional field orderValue on input type DiscountActionCriteriaInput was added.
  • It is now possible to set customer creation date in the createCustomer mutation. An optional field createdAt on input type CustomerCreateInput was added.

v0.20.2

  • Corrected the way shipment line allocations are connected to shipment lines.

v0.20.1

  • Fixed a few issues related to product media attributes and their translations.

v0.20.0

  • [BREAKING] Field userErrors in mutation payload now has to be always selected, otherwise an error is triggered.
  • New mutations added:
    • updateCategory.
    • addDiscountAction.
  • Added possibility assign and unassign attributes on ProductMedia
    • ProductMedia was added to enum type AttributeObjectType.
    • ProductMedia was added to enum type LocalizableObjectType.
    • ObjectWithAttributes added to interfaces implemented by ProductMedia.
    • Localizable added to interfaces implemented by ProductMedia.
  • DiscountAction.entryPoint was added.
  • CORS (cross-origin) handling was improved, it is now possible to enable it on demand.

v0.19.0

  • New mutations added:
    • updateDiscount.
    • setCategoryDisplays.
    • unsetCategoryDisplays.
    • sortCategoryDisplays.
  • Market.displays was added
  • It is now possible to set shipping groups with ranges for ShippingOption:
    • An optional field addShippingGroups on input type ShippingOptionCreateInput was added.
    • An optional field addShippingGroups on input type ShippingOptionUpdateInput was added.
    • An optional field updateShippingGroups on input type ShippingOptionUpdateInput was added.
    • An optional field deleteShippingGroups on input type ShippingOptionUpdateInput was added.
  • An optional field receiveNewsletters on input type BuyerCreateInput was added.
  • An optional field receiveNewsletters on input type CustomerCreateInput was added.
  • An optional field receiveNewsletters on input type BuyerUpdateInput was added.
  • An optional field receiveNewsletters on input type CustomerUpdateInput was added.
  • The following fields were made non-nullable:
    • Query.localizableFields
    • Query.productSizes
    • GeneralDocumentTemplate.defaultInMarkets
    • MediaBatch.productMedia
    • Order.taxBreakdown
    • TaxRule.taxClasses

v0.18.3

  • Fixed yet one more stock calculation issue (ported from v0.17.3)

v0.18.2

  • Fixed one more stock calculation issue (ported from v0.17.2)

v0.18.1

  • Fixed a stock totals calculation issue (ported from v0.17.1)

v0.18.0

  • New mutations added:
    • deleteAccount.
    • createDiscount.
    • setMarketDisplays.
    • unsetMarketDisplays.
  • Discount type now returns url value in a separate field:
    • An optional field url on type Discount was added.
    • [BREAKING] Field Dicount.code doesn't return url value for method set to DiscountMethod.URL.
  • ProductMedia.metaDataJSON was added to expose variable-structured media meta-data.
  • An optional field metaDataJSON on input type MediaBatchProductInput was added.
  • Added missing fields to subscription plan mutations (create and update):
    • An optional field discount on input type SubscriptionPlanCreateInput was added.
    • An optional field interval on input type SubscriptionPlanUpdateInput was added.
    • An optional field discount on input type SubscriptionPlanUpdateInput was added.
  • MonetaryValue has been extended with new fields related to the conversion to a base currency
    • MonetaryValue.valueInCents was added
    • MonetaryValue.converted was added
    • MonetaryValue.conversionRate was added
    • MonetaryValue.conversionDate was added
    • Order.currencyBaseRate is now deprecated, use Order.grandTotal.conversionRate instead
    • Invoice.currencyBaseRate is now deprecated, use Invoice.grandTotal.conversionRate instead
    • Shipping.currencyBaseRate is now deprecated, use Shipping.grandTotal.conversionRate instead
    • Return.currencyBaseRate is now deprecated, use Return.grandTotal.conversionRate instead
    • PaymentHistoryEntry.currencyBaseRate is now deprecated, use PaymentHistoryEntry.value.conversionRate instead
    • WarehouseDeliveryLine.currencyBaseRate is now deprecated, use WarehouseDeliveryLine.unitCost.conversionRate instead
    • WarehouseDeliveryLine.baseValue is now deprecated, use WarehouseDeliveryLine.unitCost.converted instead

v0.17.3

  • Fixed yet one more stock calculation issue.

v0.17.2

  • Fixed one more stock calculation issue.

v0.17.1

  • Fixed a stock totals calculation issue.

v0.17.0

  • New mutations added:
    • updateCustomer.
    • deleteCustomer.
    • updateMarket.
    • deleteMarket.
    • updateSubscriptionContract.
    • createShippingOption.
    • updateShippingOption.
    • createCategory.
  • Account.visibleForAgents was added
  • SubscriptionContract.subscriptionPayment was added.
  • SubscriptionContract.internalComment was added
  • [BREAKING] Query.subscriptionContracts arg sort has changed type from [SubscriptionSort!] to [SubscriptionContractSort!]
  • Renamed sex to gender:
    • An optional field gender on input type PurchaserFilter was added.
    • An optional field gender on input type CustomerCreateInput was added.
    • An optional field gender on input type CustomerUpdateInput was added.
    • [BREAKING] Sex was removed.
    • [BREAKING] Customer.sex changed type from Sex to Gender.
    • [BREAKING] PurchaserFilter.sex changed type from [Sex!] to [Gender!].
    • [BREAKING] CustomerCreateInput.sex was removed.
    • [BREAKING] CustomerUpdateInput.sex was removed.
    • [DEPRECATED] Customer.sex is now deprecated, use gender instead.
    • [DEPRECATED] PurchaseFilter.sex is now deprecated, use gender instead.
  • [DEPRECATED] Some mutations are now deprecated in favor of their renamed successors:
    • removeSizeChart is now deprecated, use deleteSizeChart instead.
    • removeMeasurementChart is now deprecated, use deleteMeasurementChart instead.
    • removeProductMedia is now deprecated, use deleteProductMedia instead.
    • removeCampaign is now deprecated, use deleteCampaign instead.
  • Some other fields were renamed, that is:
    • An optional field deleteBundleSections on input type BundleUpdateInput was added.
    • [BREAKING] BundleUpdateInput.removeBundleSections was removed.
    • An optional field deleteDeliveryWindowDiscounts on input type AccountDiscountsInput was added.
    • [BREAKING] AccountDiscountsInput.removeDeliveryWindowDiscounts was removed.
  • [BREAKING] Default date format has been updated to match ISO-8601, ATOM, RFC3339 and W3C standard. Time zone offset will now be using colon for hours:minutes separator.
    • Account.createdAt arg format has changed defaultValue
    • Account.updatedAt arg format has changed defaultValue
    • AdminDiscount.date arg format has changed defaultValue
    • AdminUser.createdAt arg format has changed defaultValue
    • AdminUser.lastLoginAt arg format has changed defaultValue
    • AdminUser.lastOnlineAt arg format has changed defaultValue
    • Affiliate.updatedAt arg format has changed defaultValue
    • AppliedDiscount.date arg format has changed defaultValue
    • Buyer.createdAt arg format has changed defaultValue
    • Buyer.lastLoginAt arg format has changed defaultValue
    • Buyer.lastOnlineAt arg format has changed defaultValue
    • Buyer.updatedAt arg format has changed defaultValue
    • Campaign.createdAt arg format has changed defaultValue
    • Campaign.updatedAt arg format has changed defaultValue
    • CampaignVariant.createdAt arg format has changed defaultValue
    • CampaignVariant.startAt arg format has changed defaultValue
    • CampaignVariant.stopAt arg format has changed defaultValue
    • Currency.updatedAt arg format has changed defaultValue
    • Customer.birthdate arg format has changed defaultValue
    • Customer.createdAt arg format has changed defaultValue
    • Customer.lastLoginAt arg format has changed defaultValue
    • Customer.lastOnlineAt arg format has changed defaultValue
    • Customer.updatedAt arg format has changed defaultValue
    • DirectToConsumerOrder.createdAt arg format has changed defaultValue
    • DirectToConsumerOrder.orderDate arg format has changed defaultValue
    • DirectToConsumerOrder.updatedAt arg format has changed defaultValue
    • Discount.createdAt arg format has changed defaultValue
    • Discount.startAt arg format has changed defaultValue
    • Discount.stopAt arg format has changed defaultValue
    • Discount.updatedAt arg format has changed defaultValue
    • Display.updatedAt arg format has changed defaultValue
    • EmailHistoryEntry.createdAt arg format has changed defaultValue
    • GraphQLAccess.createdAt arg format has changed defaultValue
    • GraphQLAccess.expiresAt arg format has changed defaultValue
    • GraphQLCallStats.lastUsedAt arg format has changed defaultValue
    • Invoice.createdAt arg format has changed defaultValue
    • Invoice.updatedAt arg format has changed defaultValue
    • Market.updatedAt arg format has changed defaultValue
    • NewsletterSubscription.createdAt arg format has changed defaultValue
    • NumberSeries.updatedAt arg format has changed defaultValue
    • Order.createdAt arg format has changed defaultValue
    • OrderDiscount.date arg format has changed defaultValue
    • OrderHistoryEntry.createdAt arg format has changed defaultValue
    • Order.orderDate arg format has changed defaultValue
    • Order.updatedAt arg format has changed defaultValue
    • PaymentHistoryEntry.createdAt arg format has changed defaultValue
    • PreorderDeliveryWindow.deliveryEndDate arg format has changed defaultValue
    • PreorderDeliveryWindow.deliveryStartDate arg format has changed defaultValue
    • PreorderDeliveryWindow.salesEndDate arg format has changed defaultValue
    • PreorderDeliveryWindow.salesStartDate arg format has changed defaultValue
    • Pricelist.updatedAt arg format has changed defaultValue
    • Product.createdAt arg format has changed defaultValue
    • ProductSize.updatedAt arg format has changed defaultValue
    • Product.updatedAt arg format has changed defaultValue
    • ProductVariant.updatedAt arg format has changed defaultValue
    • Purchaser.createdAt arg format has changed defaultValue
    • Purchaser.lastLoginAt arg format has changed defaultValue
    • Purchaser.lastOnlineAt arg format has changed defaultValue
    • Purchaser.updatedAt arg format has changed defaultValue
    • Return.createdAt arg format has changed defaultValue
    • Shipment.createdAt arg format has changed defaultValue
    • Shipment.emailSentAt arg format has changed defaultValue
    • Shipment.paidAt arg format has changed defaultValue
    • Shipment.updatedAt arg format has changed defaultValue
    • ShippingOption.updatedAt arg format has changed defaultValue
    • SubscriptionContract.createdAt arg format has changed defaultValue
    • SubscriptionContract.updatedAt arg format has changed defaultValue
    • Subscription.createdAt arg format has changed defaultValue
    • SubscriptionPlan.createdAt arg format has changed defaultValue
    • SubscriptionPlan.updatedAt arg format has changed defaultValue
    • Subscription.updatedAt arg format has changed defaultValue
    • TaxRule.applyFrom arg format has changed defaultValue
    • TaxRule.applyTo arg format has changed defaultValue
    • WarehouseDelivery.createdAt arg format has changed defaultValue
    • WholesaleOrder.cancelDate arg format has changed defaultValue
    • WholesaleOrder.createdAt arg format has changed defaultValue
    • WholesaleOrder.estimatedDeliveryDate arg format has changed defaultValue
    • WholesaleOrder.orderDate arg format has changed defaultValue
    • WholesaleOrder.preferredShippingDate arg format has changed defaultValue
    • WholesaleOrder.updatedAt arg format has changed defaultValue

v0.16.3

  • Internal: improve the way batch image upload is handled.

v0.16.2

  • Internal: usage of deprecated fields and permissions is now recorded.

v0.16.1

  • Account mutations were extended:
    • An optional field documentTemplate on input type AccountCreateInput was added.
    • An optional field documentTemplate on input type AccountUpdateInput was added.
    • An optional field addVisibleForAgents on input type AccountCreateInput was added.
    • An optional field addVisibleForAgents on input type AccountUpdateInput was added.
    • An optional field removeVisibleForAgents on input type AccountUpdateInput was added.
  • Account query was extended:
    • An optional field documentTemplateId on input type AccountFilter was added.
    • Account.documentTemplate was added.
  • New mutations added:
    • createCustomer.
    • createPricelist.
    • updatePricelist.
    • deletePricelist.
    • createMarket.
    • updateBuyer.
  • Customer.websiteUrl and Customer.internalComment were added

v0.16.0

  • Added PriceAlteration.prices, exposing altered prices with standard PriceFilter.
  • An optional field storeId on input type PriceAlterationFilter was added.
  • Shipment.updatedAt was added.
    • updatedAt_ASC was added to enum type ShipmentSort.
    • updatedAt_DESC was added to enum type ShipmentSort.
    • An optional field updatedAt on input type ShipmentFilter was added.
  • [BREAKING] Permissions got simplified, the list of permissions is now 70% shorter. For more info, please reach to us on slack.
  • [DEPRECATED] AllocationRule.defaultWarehouse and AllocationRule.warehouses are now deprecated, warehouses are on geo priorities.
  • [DEPRECATED] Currency.pricelists and Currency.shippingOptions are now deprecated, these relations are only useful from the other side.
  • [DEPRECATED] Size.productSizes is now deprecated, this relation is only useful from the other side.
  • [DEPRECATED] Store.totalPurchasers and Store.totalOrders are now deprecated, use Query.counters instead.
  • WarehouseAllocationPriorityFilter got fixed:
    • [BREAKING] WarehouseAllocationPriorityFilter.priorityNumber was removed.
    • [BREAKING] WarehouseAllocationPriorityFilter.timeoutInHours changed type from Float! to FloatRange.
  • Current app version is now returned in every GraphQL response.

v0.15.0

  • New mutations added:
    • createBuyer.
    • deleteBuyer.
    • updateAddressBookEntry.
    • deleteAddressBookEntry.
  • [BREAKING] Purchaser.sex was removed.
  • [BREAKING] Purchaser.isAnonymized was removed.
  • [BREAKING] Purchaser.language was removed.
  • [BREAKING] Buyer.sex was removed.
  • [BREAKING] Buyer.isAnonymized was removed.
  • [BREAKING] Buyer.language was removed.
  • Subscription.isWaitingForPayment was added.

v0.14.0

  • Added mutation createAddressBookEntry.
  • Account mutations were extended with discounts:
    • An optional field discounts on input type AccountCreateInput was added.
    • An optional field discounts on input type AccountUpdateInput was added.
  • Account mutations were extended with restricted brands:
    • An optional field hasBrandsRestriction on input type AccountCreateInput was added.
    • An optional field addBrands on input type AccountCreateInput was added.
    • An optional field hasBrandsRestriction on input type AccountUpdateInput was added.
    • An optional field addBrands on input type AccountUpdateInput was added.
    • An optional field removeBrands on input type AccountUpdateInput was added.
  • SubscriptionLine.productSize was added.
  • [BREAKING] SingleVariantSubscriptionLine.productSize changed type from Size to ProductSize.
  • [BREAKING] BundleSubscriptionLine.size was removed.
  • BundleSubscriptionLine.productSize was added.

v0.13.9

  • Account mutations were extended with addresses:
    • An optional field accountAddress on input type AccountCreateInput was added.
    • An optional field shippingAddress on input type AccountCreateInput was added.
    • An optional field billingAddress on input type AccountCreateInput was added.
    • An optional field accountAddress on input type AccountUpdateInput was added.
    • An optional field shippingAddress on input type AccountUpdateInput was added.
    • An optional field billingAddress on input type AccountUpdateInput was added.
  • Added invoice document templates via Query.documentTemplates

v0.13.8

  • Added mutation updateAccount.
  • Sorting by OrderSort and filtering by OrderFilter was added to Subscription.generatedOrders

v0.13.7

  • Subscription.generatedOrders was added

v0.13.6

  • Hotfix related to userErrors in mutations

v0.13.5

  • New mutations added:
    • createAccount.
    • createCampaign and updateCampaign.
    • setCampaignVariants.
    • unsetCampaignVariants.
    • setAlteredPrices.
  • Subscription.discount was added.
  • Subscription.internalComment was added.
  • SubscriptionLine.originalUnitPrice was added.

v0.13.4

  • SubscriptionPlan.discount was added.
  • Product mutations were extended with weight input:
    • An optional field weight on input type ProductCreateInput was added.
    • An optional field weight on input type ProductUpdateInput was added.
  • An optional field isActive on input type AllocationRuleFilter was added.
  • Optional fields isActive and activeAllocationRule on type AllocationRule were added.

v0.13.3

  • Added mutation removeCampaign.
  • Fixed an internal error related to GiftCertificateGenerator type.

v0.13.2

  • An optional field values on input type MeasurementTableInput was added.
  • [BREAKING] GraphQLAccess.callStats changed type from GraphQLCallStats to [GraphQLCallStats!]!.

v0.13.1

  • Measurement chart is now editable via product mutations:
    • An optional field measurementTable on input type ProductCreateInput was added.
    • An optional field measurementTable on input type ProductUpdateInput was added.
  • Subscription attention reason enum was extended with new values:
    • NOT_PURCHASABLE was added to enum type AttentionReason.
    • OUT_OF_STOCK was added to enum type AttentionReason.
    • NO_SHIPPING was added to enum type AttentionReason.
    • NO_MARKET was added to enum type AttentionReason.

v0.13.0

  • Payload added to interfaces implemented by StockChangePayload.
  • Added subscriptions and subscription items, in particular:
    • Query.subscriptionContracts
    • Query.subscriptions
  • New mutations added:
    • createBundle and updateBundle,
    • createSizeChart, updateSizeChart, updateSizeChartLabels, mergeSizeCharts, removeSizeChart.
  • [BREAKING] Description fields in ProductSize mutations' inputs were removed. Size's name is used instead.
    • ProductSizeCreateInput.description was removed.
    • ProductSizeUpdateInput.description was removed.
  • Added price alterations, in particular Query.priceAlteration and Query.priceAlterations
  • [DEPRECATED] SizeChart.isEnabled is always true, so it brings no value. It will be deleted in the future.
  • New fields added to orders: isLocked, isOnHold, isWaitingForPayment, isInternal otherComment, allocationRule, and some wholesale-specific ones. Also, OrderFilter got them updated:
    • An optional field preferredShippingDate on input type OrderFilter was added.
    • An optional field estimatedDeliveryDate on input type OrderFilter was added.
    • An optional field cancelDate on input type OrderFilter was added.
    • An optional field isLocked on input type OrderFilter was added.
    • An optional field isOnHold on input type OrderFilter was added.
    • An optional field isWaitingForPayment on input type OrderFilter was added.
    • An optional field isInternal on input type OrderFilter was added.
    • An optional field otherComment on input type OrderFilter was added.
    • An optional field allocationRuleId on input type OrderFilter was added.
  • Added price alterations, in particular Query.priceAlteration and Query.priceAlterations.
  • Added mutations createPriceAlteration and updatePriceAlteration.
  • An optional field measurementChartId on input type ProductFilter was added.
  • Added mutation removeMeasurementChart.

v0.12.13

  • Added Query.counters to easily fetch selected objects counters.
  • [DEPRECATED] Query.graphQLAccessTokenCount is now redundant, use Query.counters.graphQLAccess instead.
  • CategoryFilter.storeId changed type from Int to [Int!].
  • An optional field isAvailableForLocalization on input type LanguageFilter was added.
  • An optional field isActive on input type LanguageFilter was added.
  • An optional field storeId on input type NewsletterSubscriptionFilter was added.

v0.12.12

  • Hotfix for filtering ProductVariant.campaignVariants by token restrictions.

v0.12.11

  • New changeStock mutation was added.
  • Added subscription plans, in particular Query.subscriptionPlans and ProductVariant.availableInSubscriptionPlans
  • New createSubscriptionPlan, updateSubscriptionPlan, setSubscriptionPlanVariants, unsetSubscriptionPlanVariants mutations were added.
  • MappedAttribute is now fully localizable.
  • An optional field storeId on input type PriceFilter was added.
  • [BREAKING] Price.price changed type from MonetaryValue! to MonetaryValue. From now on, every combination of ProductVariant + Pricelist will return a Price object, which in some cases will have price field as null.

v0.12.10

  • New removeProductMedia mutation was added.

v0.12.9

  • An optional field totalSizes on input type SizeChartFilter was added.

v0.12.8

  • Hotfix for the createProductVariant mutation with custom attributes.

v0.12.7

  • Fixed: displayItems query failing with store-restricted tokens.
  • Fixed: createAttribute mutation can now accept null for uploadUUID on file and image elements.

v0.12.6

  • Fixed: createProduct mutation with non-empty assignAttributes causing internal error.

v0.12.5

  • Some objects referenced by supplier module PurchaseOrderLine and PurchaseOrderDeliveryLine are now nullable:
    • PurchaseOrderLine.product changed type from Product! to Product.
    • PurchaseOrderLine.productVariant changed type from ProductVariant! to ProductVariant.
    • PurchaseOrderLine.productSize changed type from ProductSize! to ProductSize.
    • PurchaseOrderDeliveryLine.product changed type from Product! to Product.
    • PurchaseOrderDeliveryLine.productVariant changed type from ProductVariant! to ProductVariant.
    • PurchaseOrderDeliveryLine.productSize changed type from ProductSize! to ProductSize.

v0.12.4

  • An optional field emailSentAt on input type ShipmentFilter was added.

v0.12.3

  • Hotfix for internal ORM error.

v0.12.2

  • [BREAKING] ProductUpdateInput.unassignMappedAttributes changed type from [MappedAttributeAssignInput!] to [MappedAttributeUnassignInput!].
  • [BREAKING] ProductVariantUpdateInput.unassignMappedAttributes changed type from [MappedAttributeAssignInput!] to [MappedAttributeUnassignInput!].

v0.12.1

  • [BREAKING] Renamed ProductSizeCreateInput.productSize to size and ProductSizeInput to SizeInput.
  • ProductSizeCreateInput.quantity was removed.
  • ProductSizeUpdateInput.quantity was removed.

v0.12.0

  • New createDeliveryWindow and updateDeliveryWindow mutations were added.
  • New setDeliveryWindowVariant and unsetDeliveryWindowVariant mutations were added.
  • [BREAKING] All preOrder and isPreOrder fields have been renamed to preorder:
    • PreOrderDeliveryWindow is named PreorderDeliveryWindow now.
    • ProductSize.preOrder is named preorder now.
    • ProductSizeFilter.preOrder is named preorder now.
    • ProductSizeCreateInput.isPreOrder is named preorder now.
    • ProductSizeUpdateInput.isPreOrder is named preorder now.
  • All payload object types should now implement the Payload interface:
  • An optional field folder on input type ProductCreateInput was added.
  • An optional field folder on input type ProductUpdateInput was added.

v0.11.7

  • Hotfix for an edge case with mapped attributes translations.

v0.11.6

  • New updateAttribute mutation was added.
  • An optional field fileElements on input type AttributeCreateInput was added.
  • An optional field imageElements on input type AttributeCreateInput was added.
  • An optional field fileElements on input type AttributeUpdateInput was added.
  • An optional field imageElements on input type AttributeUpdateInput was added.
  • New createProductSize and updateProductSize mutations were added.

v0.11.5

  • New addDisplayRelation mutation was added.
  • New removeDisplayRelation mutation was added.
  • New createAttribute mutation was added.
  • Query.displayItems was added.

v0.11.4

  • New createDisplay and updateDisplay mutations were added.
  • New setPrices mutation was added.
  • ProductInput.id changed type from Int to Int!.
  • MediaUploadCompleteInput.objectType changed type from MediaObjectType to MediaObjectType!.
  • pricelistId_ASC was added to enum type PriceSort.
  • Sorting and filtering by updatedAt was added to some types:
    • updatedAt_ASC was added to types CampaignSort and DisplaySort
    • updatedAt_ASC was added to enum type CampaignSort.
    • updatedAt_DESC was added to enum type CampaignSort.
    • updatedAt_ASC was added to enum type DisplaySort.
    • updatedAt_DESC was added to enum type DisplaySort.
    • updatedAt_ASC was added to enum type ProductSort.
    • updatedAt_DESC was added to enum type ProductSort.
    • updatedAt_ASC was added to enum type ProductVariantSort.
    • updatedAt_DESC was added to enum type ProductVariantSort.
    • updatedAt_ASC was added to enum type ProductSizeSort.
    • updatedAt_DESC was added to enum type ProductSizeSort.
    • An optional field updatedAt on input type CampaignFilter was added.
    • An optional field updatedAt on input type DisplayFilter was added.
    • An optional field updatedAt on input type ProductVariantFilter was added.
    • An optional field updatedAt on input type ProductSizeFilter was added.

v0.11.3

  • Mutations for adding new ProductMedia to Product and ProductVariant were added:
    • createMediaUpload
    • completeMediaUpload

v0.11.2

  • localize mutation was added. See Query.localizableFields to see which fields are available for translation.
    • Localizable added to interfaces implemented by Country.
    • Localizable added to interfaces implemented by Display.
    • Localizable added to interfaces implemented by GiftCertificateGenerator.
    • Localizable added to interfaces implemented by ProductVariant.
    • Country was added to enum type LocalizableObjectType.
    • Display was added to enum type LocalizableObjectType.
    • GiftCertificateGenerator was added to enum type LocalizableObjectType.
    • ProductVariant was added to enum type LocalizableObjectType.
  • Customer.birthdate was added.
    • An optional field birthdate on input type PurchaserFilter was added.

v0.11.1

  • [BREAKING] Attribute interface was added instead of AssignedAttribute. It has two concrete implementations: MappedAttribute and DynamicAttribute.
    • Attribute added to interfaces implemented by MappedAttribute.
    • AssignedAttribute was removed.
    • SizeChart was added to enum type AttributeObjectType.
    • ObjectWithAttributes.attributes changed type from [AssignedAttribute!]! to [Attribute!]!.
    • Account.attributes changed type from [AssignedAttribute!]! to [Attribute!]!.
    • ProductVariant.attributes changed type from [AssignedAttribute!]! to [Attribute!]!.
    • Order.attributes changed type from [AssignedAttribute!]! to [Attribute!]!.
    • Product.attributes changed type from [AssignedAttribute!]! to [Attribute!]!.
    • WholesaleOrder.attributes changed type from [AssignedAttribute!]! to [Attribute!]!.
    • Customer.attributes changed type from [AssignedAttribute!]! to [Attribute!]!.
    • DirectToConsumerOrder.attributes changed type from [AssignedAttribute!]! to [Attribute!]!.
  • [BREAKING] StringMatch is now used in most filters with string input, and all other String or [String!] are used literally. Queries relying on partial matches should now use one of defined matching types. Instead of passing where: {name: ["abc"]}, use where: {name: {contains: ["abc"]}} or where: {name: {startsWith: ["abc"]}}.
    • AccountFilter.name changed type from [String!] to StringMatch.
    • AccountFilter.accountEmail changed type from [String!] to StringMatch.
    • AccountFilter.billingEmail changed type from [String!] to StringMatch.
    • AccountFilter.shippingEmail changed type from [String!] to StringMatch.
    • AccountFilter.vatNumber changed type from [String!] to StringMatch.
    • AdminUserFilter.userName changed type from [String!] to StringMatch.
    • AdminUserFilter.name changed type from [String!] to StringMatch.
    • AdminUserFilter.email changed type from [String!] to StringMatch.
    • AffiliateFilter.name changed type from [String!] to StringMatch.
    • AffiliateFilter.uri changed type from [String!] to StringMatch.
    • AllocationRuleFilter.name changed type from [String!] to StringMatch.
    • BrandFilter.name changed type from [String!] to StringMatch.
    • BrandFilter.uri changed type from [String!] to StringMatch.
    • BrickAndMortarFilter.name changed type from [String!] to StringMatch.
    • BrickAndMortarFilter.address changed type from [String!] to StringMatch.
    • CampaignFilter.name changed type from [String!] to StringMatch.
    • CategoryFilter.name changed type from [String!] to StringMatch.
    • CategoryFilter.uri changed type from [String!] to StringMatch.
    • CollectionFilter.name changed type from [String!] to StringMatch.
    • CollectionFilter.uri changed type from [String!] to StringMatch.
    • ContinentFilter.name changed type from [String!] to StringMatch.
    • CountryFilter.name changed type from [String!] to StringMatch.
    • CountryFilter.continent changed type from [String!] to StringMatch.
    • CountryStateFilter.name changed type from [String!] to StringMatch.
    • CurrencyFilter.name changed type from [String!] to StringMatch.
    • DeliveryWindowFilter.name changed type from [String!] to StringMatch.
    • DiscountFilter.name changed type from [String!] to StringMatch.
    • DiscountFilter.code changed type from [String!] to StringMatch.
    • DisplayFilter.name changed type from [String!] to StringMatch.
    • DisplayFilter.uri changed type from [String!] to StringMatch.
    • DisplayFilter.description changed type from [String!] to StringMatch.
    • DisplayFilter.shortDescription changed type from [String!] to StringMatch.
    • EmailHistoryFilter.recipient changed type from [String!] to StringMatch.
    • FolderFilter.name changed type from [String!] to StringMatch.
    • GiftCertificateGeneratorFilter.name changed type from [String!] to StringMatch.
    • GraphQLAccessFilter.description changed type from [String!] to StringMatch.
    • InvoiceFilter.purchaseOrderNumber changed type from [String!] to StringMatch.
    • LanguageFilter.name changed type from [String!] to StringMatch.
    • MappedAttributeFilter.name changed type from [String!] to StringMatch.
    • MappedAttributeFilter.typeName changed type from [String!] to StringMatch.
    • MarketFilter.name changed type from [String!] to StringMatch.
    • MeasurementChartFilter.name changed type from [String!] to StringMatch.
    • NewsletterSubscriptionFilter.email changed type from [String!] to StringMatch.
    • OrderFilter.purchaseOrderNumber changed type from [String!] to StringMatch.
    • OrderFilter.userIp changed type from [String!] to StringMatch.
    • PaymentTermsFilter.name changed type from [String!] to StringMatch.
    • PaymentTermsFilter.description changed type from [String!] to StringMatch.
    • PricelistFilter.name changed type from [String!] to StringMatch.
    • ProductFilter.name changed type from [String!] to StringMatch.
    • ProductFilter.productNumber changed type from [String!] to StringMatch.
    • ProductFilter.harmonizedCommodityCode changed type from [String!] to StringMatch.
    • ProductFilter.harmonizedCommodityDescription changed type from [String!] to StringMatch.
    • ProductFilter.internalComment changed type from [String!] to StringMatch.
    • ProductSizeFilter.description changed type from [String!] to StringMatch.
    • ProductSizeFilter.GTIN changed type from [String!] to StringMatch.
    • ProductSizeFilter.sizeNumber changed type from [String!] to StringMatch.
    • ProductVariantFilter.name changed type from [String!] to StringMatch.
    • ProductVariantFilter.variantNumber changed type from [String!] to StringMatch.
    • PurchaserFilter.email changed type from [String!] to StringMatch.
    • PurchaserFilter.firstName changed type from [String!] to StringMatch.
    • PurchaserFilter.lastName changed type from [String!] to StringMatch.
    • PurchaserFilter.cellPhoneNumber changed type from [String!] to StringMatch.
    • PurchaserFilter.otherPhoneNumber changed type from [String!] to StringMatch.
    • PurchaserFilter.phoneNumber changed type from [String!] to StringMatch.
    • SalesRepresentativeFilter.name changed type from [String!] to StringMatch.
    • SalesRepresentativeFilter.email changed type from [String!] to StringMatch.
    • ShippingOptionFilter.name changed type from [String!] to StringMatch.
    • ShippingOptionFilter.uri changed type from [String!] to StringMatch.
    • ShippingTermsFilter.name changed type from [String!] to StringMatch.
    • ShippingTermsFilter.description changed type from [String!] to StringMatch.
    • SizeChartFilter.name changed type from [String!] to StringMatch.
    • StoreFilter.name changed type from [String!] to StringMatch.
    • StorePluginFilter.name changed type from [String!] to StringMatch.
    • StorePluginFilter.uri changed type from [String!] to StringMatch.
    • TaxClassFilter.name changed type from [String!] to StringMatch.
    • TaxGroupFilter.name changed type from [String!] to StringMatch.
    • TaxRuleFilter.name changed type from [String!] to StringMatch.
    • TaxRuleFilter.displayName changed type from [String!] to StringMatch.
    • WarehouseDeliveryLineFilter.productSizeName changed type from [String!] to StringMatch.
    • WarehouseDeliveryFilter.comment changed type from [String!] to StringMatch.
    • WarehouseFilter.name changed type from [String!] to StringMatch.

v0.11.0

  • [DEPRECATED] otherPhoneNumber should no longer be used, use phoneNumber instead.
  • An optional field phoneNumber on input type PurchaserFilter was added.
  • New field: thousandsSeparator was added to Currency.
  • Added limit checks where limit is required. The maximum limit is now 200.

v0.10.22

  • Hotfix related to caching configuration.

v0.10.21

  • Adding events after each mutation.

v0.10.20

  • List of mapped attributes is now available under Query.mappedAttributes. Also
    • Attribute was removed.
    • MappedAttribute was added instead.
  • AttributeType.objectType changed type from String! to AttributeObjectType!.
  • Category type got 3 new meta fields: metaTitle, metaDescription and metaKeywords.
  • Localizations (translations) were added:
    • Query.localizableFields returns a list of fields per localizable object type.
    • Localizable interface was added.
    • Localizable added to interfaces implemented by Category.
    • Localizable added to interfaces implemented by MappedAttribute.
    • Localizable added to interfaces implemented by Product.

v0.10.19

  • Batch image upload mutation (createMediaBatch) and query (mediaBatch) were added.
  • Minor hotfixes.

v0.10.18

  • Performance improvements for querying data related to orders.

v0.10.17

  • Hotfixes for broken variant mutations.

v0.10.16

  • assignAttributes and unassignAttributes mutations were added.

  • createProductVariant and createProduct mutations can now assign attributes to created objects.

  • updateProductVariant and updateProduct mutations can now assign and unassign attributes to product and product variant.

    Specifically, the following changed on product and product variant mutations:

    • An optional field assignMappedAttributes on input type ProductCreateInput was added.
    • An optional field assignDynamicAttributes on input type ProductCreateInput was added.
    • An optional field assignMappedAttributes on input type ProductUpdateInput was added.
    • An optional field assignDynamicAttributes on input type ProductUpdateInput was added.
    • An optional field unassignMappedAttributes on input type ProductUpdateInput was added.
    • An optional field unassignDynamicAttributes on input type ProductUpdateInput was added.
    • An optional field assignMappedAttributes on input type ProductVariantCreateInput was added.
    • An optional field assignDynamicAttributes on input type ProductVariantCreateInput was added.
    • An optional field assignMappedAttributes on input type ProductVariantUpdateInput was added.
    • An optional field assignDynamicAttributes on input type ProductVariantUpdateInput was added.
    • An optional field unassignMappedAttributes on input type ProductVariantUpdateInput was added.
    • An optional field unassignDynamicAttributes on input type ProductVariantUpdateInput was added.
  • New ObjectWithAttributes interface was added:

    • ObjectWithAttributes added to interfaces implemented by Account.
    • ObjectWithAttributes added to interfaces implemented by ProductVariant.
    • ObjectWithAttributes added to interfaces implemented by Order.
    • ObjectWithAttributes added to interfaces implemented by Product.
    • ObjectWithAttributes added to interfaces implemented by WholesaleOrder.
    • ObjectWithAttributes added to interfaces implemented by Customer.
    • ObjectWithAttributes added to interfaces implemented by DirectToConsumerOrder.

v0.10.15

  • Bug fix: createProductVariant mutation failed when unitCost was not provided.

v0.10.14

  • Discount.startAt changed type from String! to String.
  • Discount.stopAt changed type from String! to String.

v0.10.13

  • Customer.isRegistered was added.
  • Customer.isAnonymized and Buyer.isAnonymized are not nullable anymore.
  • WholesaleOrder.account changed type from Account! to Account.
  • WholesaleOrder.buyer changed type from Buyer! to Buyer.

v0.10.12

  • Bug fix: OrderLine.returnedQuantity incorrectly turned to null when empty.

v0.10.11

  • Bug fix: missing field OrderFilter.storeType.

v0.10.10

  • Bug fix: brand mutations.

v0.10.9

  • createFolder and updateFolder mutations were added.
  • createCollection and updateCollection mutations were added.
  • Payload added to interfaces implemented by ProductCreatePayload.
  • Payload added to interfaces implemented by ProductUpdatePayload.
  • Payload added to interfaces implemented by ProductVariantCreatePayload.
  • Payload added to interfaces implemented by ProductVariantUpdatePayload.

v0.10.8

  • Bug fixes: store restrictions and address-related.

v0.10.7

  • createBrand and updateBrand mutations were added.
  • All authorisation and restriction directives are now automatically added to field descriptions.

v0.10.6

  • CampaignVariantFilter is now being used to filter campaigns assigned to given ProductVariant and Display. Additionally:

    • An optional field campaignId on input type CampaignVariantFilter was added.
    • An optional field productVariantId on input type CampaignVariantFilter was added.
  • New field: updatedAt was added to DirectToConsumerOrder and WholesaleOrder.

  • updatedAt_ASC was added to enum type OrderSort.

  • updatedAt_DESC was added to enum type OrderSort.

  • An optional field updatedAt on input type OrderFilter was added.

v0.10.5

  • New fields: linkedQuantity and unlinkedQuantity were added to PurchaseOrderLine and PurchaseOrderDeliveryLine types.

v0.10.4

  • createProductVariant and updateProductVariant mutations were added.
  • Order.internalComment was added.

v0.10.3

  • An optional field status on input type PaymentHistoryEntryFilter was added.

v0.10.2

  • Demand calculation were updated to include new Allocation Rule settings.

v0.10.0

  • createProduct and updateProduct mutations were added.

v0.9.11

  • Display.canonicalCategory was added.
  • Display.displayItems were added to expose DisplayItem.id, which is used by front-end APIs.

v0.9.10

  • Fixed Order.appliedDiscounts bug.

v0.9.9

  • [BREAKING] Renamed OrderStatus PARTIAL to PROCESSING. In other words:
    • PROCESSING was added to enum type OrderStatus.
    • PARTIAL was removed from enum type OrderStatus.

v0.9.8

Changelog started

  • [BREAKING] Order.market changed type from Market! to Market. It was necessary, because sometimes markets are deleted permanently. Same with the two interface implementations:
  • [BREAKING] DirectToConsumerOrder.market changed type from Market! to Market.
  • [BREAKING] WholesaleOrder.market changed type from Market! to Market.
  • [BREAKING] DirectToConsumerOrder.customer changed type from Customer! to Customer. It happens sometimes that customers are permanently deleted from the database.