All Release Notes
Introduced ShippingInfoImportDraft representation
19 December 2018
Enhancement
CartsOrdersPricingProduct Catalog
Introduced the new ShippingInfoImportDraft representation. This representation improves the Order Import API by importing more robust shipping information.
In addtion, you can now reference the following fields by their key
, instead of just their id
value when performing a set or update action:
- Channel on an InventoryEntry
- ShippingMethod on a Cart and Order
- TaxCategory on a Product, Cart, and Order
This lets you perform set and update actions with more flexibility.
- [API] Introduced the ShippingInfoImportDraft representation. ShippingInfoImportDraft is a new type that contains the following backwards compatible changes:
- The
taxCategory
field on ShippingInfoImportDraft is a ResourceIdentifier to a TaxCategory. - The
shippingMethod
field on ShippingInfoImportDraft is a ResourceIdentifier to a ShippingMethod.
- The
- [API] Order Import - The
shippingInfo
field on OrderImportDraft is now a ShippingInfoImportDraft instead of a ShippingInfo. - [API] The
supplyChannel
fields on InventoryEntryDraft and on the Set SupplyChannel update action are now a ResourceIdentifier to a Channel instead of a Reference. - [API] The following
shippingMethod
fields are now a ResourceIdentifier to a ShippingMethod instead of a Reference:- Carts:
- on CartDraft
- on the Set ShippingMethod update action
- Order Edits:
- on the Set ShippingMethod update action
- on the Set ShippingAddressAndShippingMethod update action
- Carts:
- [API] The following
taxCategory
fields are now a ResourceIdentifier to a TaxCategory instead of a Reference:- Products:
- on ProductDraft
- on the Set TaxCategory update action
- Carts:
- on CustomLineItemDraft
- on the Add CustomLineItem update action
- on the Set CustomShippingMethod update action
- Order Edits:
- on the Set ShippingAddressAndCustomShippingMethod update action
- on the Set CustomShippingMethod update action
- on the Add CustomLineItem update action
- Products: