Changelog

Learn more about any recent changes in the Emporix API.

Improvement
Last updated 2025-02-19

Customer Segments Service - expanded response for retrieving category trees for a customer segments endpoint

Overview

From now on, the response of the "Retrieving category trees for a customer segments" endpoint includes new fields: localizedDescription, localizedSlug, ecn, validity, position, and published, which allows fetching complete category tree information in a single request.

Updated endpoints

EndpointDescription
Retrieving category trees for a customer segmentsAdded localizedDescription, localizedSlug, ecn, validity, position, and published fields to the responses.

Known problems

There are no known problems.


Deprecated
Last updated 2025-02-18

Cart Service - deprecated fields

Overview

Several fields in cart's response have been deprecated and are now replaced by calculatedPrice and unitPrice fields. The new fields provide a more comprehensive and consistent way to access price calculations.

Deprecated cart-level fields:

  • totalPrice - use calculatedPrice.finalPrice instead
  • subTotalPrice - use calculatedPrice.price or calculatedPrice.discountedPrice instead
  • taxAggregate - use calculatedPrice.finalPrice.taxAggregate instead
  • subtotalAggregate - use calculatedPrice.price instead
  • totalDiscount - use calculatedPrice.totalDiscount instead
  • feeYrnAggregate - use calculatedPrice.totalFees and items[].calculatedPrice.fees instead
  • shipping - use calculatedPrice.totalShipping instead
  • itemFeesTotal - use calculatedPrice.totalFee instead
  • paymentFeesTotal - use calculatedPrice.paymentFees instead
  • totalAuthorizedAmount - use calculatedPrice.upliftValue instead

Deprecated cart item-level fields:

  • price - use unitPrice instead
  • itemPrice - use unitPrice instead
  • itemTaxInfo - use calculatedPrice.price instead
  • fees - use calculatedPrice.fees instead
  • authorizedAmount - use calculatedPrice.upliftValue instead
  • totalDiscount - use calculatedPrice.totalDiscount instead
  • externalFees - use calculatedPrice.fees instead
  • couponDiscounts - use calculatedPrice.totalDiscounts.appliedDiscounts instead

Updated endpoints

EndpointDescription
Retrieving a cart's details by IDDeprecated response fields are replaced by calculatedPrice and unitPrice.
Retrieving a cart's details by criteriaDeprecated response fields are replaced by calculatedPrice and unitPrice.
Retrieving all products added to a cartDeprecated response fields are replaced by calculatedPrice and unitPrice.

Known problems

There are no known problems.

Deprecated
Last updated 2025-02-18

Cart service - deprecated field

Overview

When applying discount on a cart, the request allows to specify calculationType with following values: ApplyDiscountBeforeTax, ApplyDiscountAfterTax The field has been deprecated, cart's calculatedPrice relays on site's configuration includesTax which defines whether the discount should be applied on net or gross prices.

Updated endpoints

EndpointDescription
Applying a discount to cartDeprecated request attribute calculationType

Known problems

There are no known problems.

Improvement
Last updated 2025-02-18

Fee management - new validation added

Overview

A validation rule ensures fee data consistency by requiring a taxCode when creating or updating fees with taxable=true. This enforces the logical dependency between taxation status and tax code identification.

Updated endpoints

EndpointDescription
Creating feeAdded validation of taxCode fee is marked with taxable=true
Retrieving fee by idAdded validation of taxCode fee is marked with taxable=true

Known problems

There are no known problems.

Improvement
Last updated 2025-02-18

Site Settings - new field

Overview

A new cartCalculationScale field has been added to the site setting. The field allows to control the number of decimal points in cart's calculatedPrice attributes.

Updated endpoints

EndpointDescription
Creating a siteAdded cartCalculationScale field to the request.
Fully updating a siteAdded cartCalculationScale field to the request.
Partially updating a siteAdded cartCalculationScale field to the request.
Retrieving a siteAdded cartCalculationScale field to the responses.

Known problems

There are no known problems.

Improvement
Last updated 2025-02-14

Customer service - new field

Overview

A new lastLogin field has been added to the customer response, returning a date-time string. If the value is null, it indicates that the customer has not logged in since the field was introduced (14-02-2025).

Updated endpoints

EndpointDescription
Retrieving a customer's profileAdded lastLogin field to the responses.
Retrieving a customer profileAdded lastLogin field to the responses.
Retrieving a list of customersAdded lastLogin field to the responses.

Known problems

There are no known problems.


Improvement
Last updated 2025-02-05

Cart Service - enhanced price calculation details

Overview

The Cart Service now provides detailed price calculation information through the calculatedPrice field. This enhancement gives a comprehensive breakdown of prices including net values, gross values, tax details, fees, and discounts for both the entire cart and individual line items.

Updated endpoints

EndpointDescription
Retrieving a cart's details by criteriaAdded calculatedPrice field to cart and cart items responses.
Retrieving a cart's details by IDAdded calculatedPrice field to cart and cart items responses.
Retrieving all products added to a cartAdded calculatedPrice field to cart items responses.

Known problems

There are no known problems.


Improvement
Last updated 2025-02-05

Order Service - enhanced price calculation details

Overview

The Order Service now provides detailed price calculation information through the calculatedPrice field. This enhancement gives a comprehensive breakdown of prices including net values, gross values, tax details, fees, and discounts for both the entire order and individual line items.

Updated endpoints

EndpointDescription
Creating a new order as employeeAdded calculatedPrice field to order and order entries.
Creating a new order as customerAdded calculatedPrice field to order and order entries.
Retrieving order detailsAdded calculatedPrice field to order and order entries responses.
Retrieving a specific order by IDAdded calculatedPrice field to order and order entries responses.

Known problems

There are no known problems.


Improvement
Last updated 2025-01-30

Order - new priceListId field

Overview

The priceListId field has been added to the create order endpoint.

Updated endpoints

EndpointDescription
Creating a new orderAdded a new priceListId field to the request body.

Known problems

There are no known problems.


Improvement
Last updated 2025-01-30

Cart - new priceListId field added.

Overview

The priceListId field has been added to the get a cart endpoint. The field is populated only in the case when a returned price belongs to any price list. Otherwise the field is not returned.

Updated endpoints

EndpointDescription
Retrieving a cart's details by IDAdded a new priceListId (items.price.priceListId) field to the response.

Known problems

There are no known problems.


Improvement
Last updated 2025-01-29

Price Match - new priceListId field added.

Overview

The priceListId field has been added to the price match endpoints. The field is populated only in the case when a returned prices belongs to any price list. Otherwise the field is not returned.

Updated endpoints

EndpointDescription
Matching price for a specific attributesAdded a new priceListId field to the response.
Matching price for session contextAdded a new priceListId field to the response.

Known problems

There are no known problems.


Improvement
Last updated 2025-01-24

Algolia - added information about segments

Overview

The indexed products have a new field - segment_ids - which informs to which segments the given product is assigned.

Known problems

There are no known problems.


Deprecated
Last updated 2025-01-13

Availability Service - availability endpoints replacement

Overview

The availability endpoints that accept site as a query parameter, are now deprecated. They have been replaced with new endpoints that use site as a path parameter.

New endpoints

EndpointDescription
Retrieving a products availabilityNew endpoint that takes site as a path parameter is now available.
Creating a new availability for a productNew endpoint that takes site as a path parameter is now available.
Upserting availability information of a productNew endpoint that takes site as a path parameter is now available.
Deleting availability information of a productNew endpoint that takes site as a path parameter is now available.
Retrieving all availability information for a siteNew endpoint that takes site as a path parameter is now available.
Retrieving product availabilities for a siteNew endpoint that takes site as an optional query parameter is now available.

Deprecated endpoints

EndpointDescription
Retrieving a products availabilityEndpoint that takes site as a query parameter is now deprecated.
Creating a new availability for a productEndpoint that takes site as a query parameter is now deprecated.
Upserting availability information of a productEndpoint that takes site as a query parameter is now deprecated.
Deleting availability information of a productEndpoint that takes site as a query parameter is now deprecated.
Retrieving all availability information for a siteEndpoint that takes site as a query parameter is now deprecated.
Retrieving product availabilities for a siteEndpoint that takes site as a mandatory query parameter is now deprecated.

Known problems

There are no known problems.


Deprecated
Last updated 2025-02-18

Order Service - deprecated fields

Overview

Several fields in order's response have been deprecated in favor of new calculatedPrice and unitPrice fields. The new fields provide a more comprehensive and consistent way to access price calculations.

Deprecated order-level fields:

  • totalPrice - use calculatedPrice.finalPrice instead
  • subTotalPrice - use calculatedPrice.price or calculatedPrice.discountedPrice instead
  • taxAggregate - use calculatedPrice.finalPrice.taxAggregate instead
  • subtotalAggregate - use calculatedPrice.price instead
  • totalDiscount - use calculatedPrice.totalDiscount instead
  • feeYrnAggregate - use calculatedPrice.totalFees and items[].calculatedPrice.fees instead
  • shipping - use calculatedPrice.totalShipping instead
  • itemFeesTotal - use calculatedPrice.totalFee instead
  • paymentFeesTotal - use calculatedPrice.paymentFees instead
  • totalAuthorizedAmount - use calculatedPrice.upliftValue instead

Deprecated order item-level fields:

  • price - use unitPrice instead
  • itemPrice - use unitPrice instead
  • itemTaxInfo - use calculatedPrice.price instead
  • fees - use calculatedPrice.fees instead
  • authorizedAmount - use calculatedPrice.upliftValue instead
  • totalDiscount - use calculatedPrice.totalDiscount instead
  • externalFees - use calculatedPrice.fees instead
  • couponDiscounts - use calculatedPrice.totalDiscounts.appliedDiscounts instead

Updated endpoints

EndpointDescription
Creating a new order as employeeDeprecated response fields in favor of calculatedPrice and unitPrice
Creating a new order as customerDeprecated response fields in favor of calculatedPrice and unitPrice
Retrieving order detailsDeprecated response fields in favor of calculatedPrice and unitPrice
Retrieving a specific order by IDDeprecated response fields in favor of calculatedPrice and unitPrice

Known problems

There are no known problems.