Changelog v1.0.2 (2020-08-31)
Previous to version v1.0.2 there were so many changes in flux that we were unable to maintain a meticulous changelog. Those changes for the most part have settled and moving forward the changelog will be the place of "truth" as to what has changed in the connect SDK and connect CLI.
Overall Changes
- HTML label format is no longer supported
- Removed geo-coordinates from all Address properties
- Removed support for Localization
- Updated CLI namespace. You should uninstall the old one before the latest version.
- Removed NotesType not supported by ShipStation.
- Removed
POJO
Transaction Object
- Removed
isRetry
CLI
The name of the CLI NPM package has changed. You may need to run both uninstall commands to make sure you have removed all previous versions of the CLI before installing the latest version.
npm uninstall @shipengine/connect-cli --globalnpm uninstall @shipengine/connect-cli --globalnpm install @shipengine/connect-cli --global- CLI commands are no longer prefaced with
apps:. The documentation has been updated. - The
shipengine testcommand has changed. We are in the process of updating the documentation for this.
Carrier App
These changes affect the Carrier App.
Carrier App Definition
- Added an
iconproperty similar to the logo property. - Added a
manifestTypeproperty. - Added a
trackingURLTemplateproperty
createShipment() Method
Parameter: NewShipment
Removed properties:
outboundShipmentpackages.contents.quantity.unitpackages.deliveryConfirmationdocuments
Added properties:
deliveryService.supportsReturnsdeliveryConfirmationlabelform
Changes:
packages.customs.contents.unitValue.value- now a number rather than a stringpackages.customs.contents.unitValue.currency- now accepts any string rather than an enum valuepackages.customs.contents.totalValue.value- now a number rather than a stringpackages.customs.contents.totalValue.currency- now accepts any string rather than an enum valuepackages.contents.unitPrice.value- now a number rather than a stringpackages.contents.unitPrice.currency- now accepts any string rather than an enum valuepackages.contents.totalPrice.value- now a number rather than a stringpackages.contents.totalPrice.currency- now accepts any string rather than an enum value
Return Value: ShipmentConfirmation
Removed properties:
deliveryWindowfulfillmentServicezoneisGuarnteedisNegotiatedRateminimumDeliveryDaysmaximumDeliveryDaysmetadatatrackingURLpackages.trackingURLpackages.documentspackages.labelpackages.customFormbillingcharges.codecharges.descriptioncharges.notespackages.customs.contents.unitValue.unitpackages.customs.contents.totalValue.unitpackages.deliveryConfirmation
Added properties: (moved from the packages property up a level)
documentslabelcustomsForm
Changes:
packages.insuredValue.value- now a number rather than a stringpackages.insuredValue.currency- now accepts any string rather than an enum valuecharges.amount.value- now accepts a number rather than a stringcharges.amount.value.currency- now accepts any string rather than an enum value
rateShipment() Method
Parameter: RateCriteria
Removed properties:
outboundShipmentdeliveryWindowfulfillmentServicezoneisGuaranteedminimumDeliveryDaysmaximumDeliveryDaystotalInsuredValuepackage.deliveryConfirmation
Added properties:
deliveryService.supportsReturnsdeliveryService.manifestTypedeliveryConfirmation
Changes:
- Renamed
deliveryServicestodeliveryServiceand changed it from an array to a single object - Renamed
fulfillmentServicestofulfillmentServiceand changed it from an array to a single object totalInsuredValue.value - now a number rather than a stringtotalInsuredValue.currency - now accepts any string rather than an enum valueRenamed packages to package and changed it from an array to a single object- Changed
packages.packagingfrom an array to a string
Return Value: Rate
Removed properties:
charges.codecharges.descriptioncharges.notes
Added properties:
deliveryService.supportsReturnsdeliveryService.manifestTypedeliveryConfirmation
Changes:
charges.amount.value- now accepts a number rather than a stringcharges.amount.value.currency- now accepts any string rather than an enum valuedeliveryServicenow acceptes an object or a string containing thecode.deliveryConfirmationnow accepts an object or a string containing thecodeor thetype.
trackShipment()
Return Value: TrackingInfo
Added properties:
packages[].packaging.deliveryService.supportsReturnspackages[].packaging.deliveryService.manifestType
Changes:
packages[].packagingnow acceptes an object or a string containing thecode.
schedulePickup()
Parameter: PickupRequest
Added properties:
pickupService.shipments[].deliveryService.supportsReturnspickupService.shipments[].deliveryService.manifestType
Removed properties:
contact.phoneExtension
Return Value: PickupConfirmation
Removed properties:
charges.codecharges.descriptioncharges.notes
Changes:
charges.amount.value- now accepts a number rather than a stringcharges.amount.value.currency- now accepts any string rather than an enum value
cancelPickup()
Parameter: PickupCancellation
Added properties:
shipments[].deliveryService.supportsReturnsshipments[].deliveryService.manifestType
Removed properties:
contact.phoneExtension
Definition Changes
- Added
supportsReturnsproperty. - Added
manifestTypeproperty. - Added
codeproperty.
- Added
codeproperty.
- Added
codeproperty.
- Added
codeproperty.
Order App
These changes affect the Order App.
Overall Changes
- Removed
deliveryDateTimefrom Shipping Preferences
Order App Definition
- Added an icon property similar to the logo property.
- Added a
sendEmailproperty - Added a
configureTimeZoneproperty
getSalesOrdersByDate()
Parameter: SalesOrderTimeRange
Added properties:
pagingpaging.pageSizepaging.pageNumberpaging.pageCountpaging.cursor
Return Value: SalesOrderArray (Previously returned <Iterable>SalesOrder)
Removed properties:
fulfillmentStatuspaymentStatussellercharges.codecharges.descriptioncharges.notestotalCharges.codetotalCharges.descriptiontotalCharges.notesbuyer.identifiersbuyer.phoneExtensionitems.quantity.unitincludeChangesmodifiedDate
Added properties:
pagingpaging.pageSizepaging.pageNumberpaging.pageCountpaging.cursorbuyer.address(optional)chargescharges.subTotalcharges.subTotal.valuecharges.subTotal.currencycharges.taxAmountcharges.taxAmount.valuecharges.taxAmount.currencycharges.shippingAmountcharges.shippingAmount.valuecharges.shippingAmount.currencycharges.shippingCostcharges.shippingCost.valuecharges.shippingCost.currencycharges.confirmationCostcharges.confirmationCost.valuecharges.confirmationCost.currencycharges.insuranceCostcharges.insuranceCost.valuecharges.insuranceCost.currencycharges.otherCostcharges.otherCost.valuecharges.otherCost.currency
Changes:
charges.amount.value- now accepts a number rather than a stringcharges.amount.value.currency- now accepts any string rather than an enum valuetotalCharges.amount.value- now accepts a number rather than a stringtotalCharges.amount.value.currency- now accepts any string rather than an enum valueshippingPreferences.insuredValue.value- now accepts a number rather than a stringshippingPreferences.insuredValue.currency- now accepts any string rather than an enum valuechargesrenamed toadjustmentsand a newchargesproperty was added with a new type
shipmentCreated()
Parameter: SalesOrderShipment
Removed properties:
deliveryDateTimeminimumDeliveryDaysmaximumDeliveryDaysdeliveryWindowpackagesitems.fulfillmentStatusitems.trackingURLitems.shippingPreferencesitems.chargesitems.totalAmountitems.totalCharges
Added properties:
contents(moved from packages up a level)contents.salesOrdercontents.salesOrder.idcontents.salesOrder.identifierscontents.salesOrderItemcontents.salesOrderItem.idcontents.salesOrderItem.skucontents.salesOrderItem.identifierscontents.productcontents.product.idcontents.product.skucontents.product.identifierscontents.quantitycontents.quantity.valueitems.thumbnailURL
Changes:
items.productis now requiredfulfillmentStatusnow accepts a string instead of an enum
shipmentCancelled()
Parameter: SalesOrderShipment
Removed properties:
deliveryDateTimeminimumDeliveryDaysmaximumDeliveryDaysdeliveryWindowpackagesitems.fulfillmentStatusitems.trackingURLitems.shippingPreferencesitems.chargesitems.totalAmountitems.totalCharges
Added properties:
contents(moved from packages up a level)contents.salesOrdercontents.salesOrder.idcontents.salesOrder.identifierscontents.salesOrderItemcontents.salesOrderItem.idcontents.salesOrderItem.skucontents.salesOrderItem.identifierscontents.productcontents.product.idcontents.product.skucontents.product.identifierscontents.quantitycontents.quantity.valueitems.thumbnailURL
Changes:
items.productis now requiredfulfillmentStatusnow accepts a string instead of an enum
getSalesOrder() Method
No longer supported.
getSeller() Method
No longer supported.