Updated Carts API

New field acceptMarketing is released. Indicates whether customer is agree to accept marketing emails or not.

Updated Profile API

Added a new field askZipCode inside Settings in API/profile requests. The new field is responsible for displaying the "Postal code" field on the checkout.

Added new webhooks

New event types:
invoice.created — it is triggered when a new invoice has been added to the storage
order.invoice.deleted — triggered when the stored invoice record is deleted.

Updated Orders API

Added a new field fulfilmentType inside shippingOption object in API/orders requests. The new field is responsible for fulfilment type. Possible types are: shipping (default), pickup, delivery.

Updated Profile API

Added new fields billingPageVisibleInCP and itunesSubscriptionAvailableOnChannel inside accountBilling in API/profile requests.
billingPageVisibleInCP is responsible for the store’s “Billing and Plans” page visibility in the Control Panel.
itunesSubscriptionAvailableOnChannel is responsible for the store’s interface for iTunes subscription availability.

Updated Orders API

The rules for returning the id value when creating an order via API/orders for stores with consecutiveOrderIds enabled have changed.
Now the internal id value is passed to the consecutiveOrderIds in the id field instead of "-1" value. Thus:
If the new number format of the order IDs is enabled in the store, then Ecwid will pass order ID value in the orderid field.
If the consecutive old number format of the order IDs is enabled in the store, then Ecwid will send a response with the internal order ID value in the id field.

Updated Profile API and Orders API

Changes in Profile API: pickupPreparationTimeHours is deprecated.

Updated Store Profile API

Updated Get store profile and Get payment options. Now it is possible to get shipping settings of the payment options provided by the "Payment Per Shipping" feature.

Updated Carts API

Customer query parameter is now deprecated. Two new query parameters are released: customerId and email.

Updated Orders API and Products API

Updated Orders API and Products API to make them support the "Pay What You Want" feature