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 --global
npm uninstall @shipengine/connect-cli --global
npm install @shipengine/connect-cli --global
  • CLI commands are no longer prefaced with apps:. The documentation has been updated.
  • The shipengine test command 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 icon property similar to the logo property.
  • Added a manifestType property.
  • Added a trackingURLTemplate property

createShipment() Method

Parameter: NewShipment

Removed properties:

  • outboundShipment
  • packages.contents.quantity.unit
  • packages.deliveryConfirmation
  • documents

Added properties:

  • deliveryService.supportsReturns
  • deliveryConfirmation
  • label
  • form

Changes:

  • packages.customs.contents.unitValue.value - now a number rather than a string
  • packages.customs.contents.unitValue.currency - now accepts any string rather than an enum value
  • packages.customs.contents.totalValue.value - now a number rather than a string
  • packages.customs.contents.totalValue.currency - now accepts any string rather than an enum value
  • packages.contents.unitPrice.value - now a number rather than a string
  • packages.contents.unitPrice.currency - now accepts any string rather than an enum value
  • packages.contents.totalPrice.value - now a number rather than a string
  • packages.contents.totalPrice.currency - now accepts any string rather than an enum value

Return Value: ShipmentConfirmation

Removed properties:

  • deliveryWindow
  • fulfillmentService
  • zone
  • isGuarnteed
  • isNegotiatedRate
  • minimumDeliveryDays
  • maximumDeliveryDays
  • metadata
  • trackingURL
  • packages.trackingURL
  • packages.documents
  • packages.label
  • packages.customForm
  • billing
  • charges.code
  • charges.description
  • charges.notes
  • packages.customs.contents.unitValue.unit
  • packages.customs.contents.totalValue.unit
  • packages.deliveryConfirmation

Added properties: (moved from the packages property up a level)

  • documents
  • label
  • customsForm

Changes:

  • packages.insuredValue.value - now a number rather than a string
  • packages.insuredValue.currency - now accepts any string rather than an enum value
  • charges.amount.value - now accepts a number rather than a string
  • charges.amount.value.currency - now accepts any string rather than an enum value

rateShipment() Method

Parameter: RateCriteria

Removed properties:

  • outboundShipment
  • deliveryWindow
  • fulfillmentService
  • zone
  • isGuaranteed
  • minimumDeliveryDays
  • maximumDeliveryDays
  • totalInsuredValue
  • package.deliveryConfirmation

Added properties:

  • deliveryService.supportsReturns
  • deliveryService.manifestType
  • deliveryConfirmation

Changes:

  • Renamed deliveryServices to deliveryService and changed it from an array to a single object
  • Renamed fulfillmentServices to fulfillmentService and changed it from an array to a single object
  • totalInsuredValue.value - now a number rather than a string
  • totalInsuredValue.currency - now accepts any string rather than an enum value
  • Renamed packages to package and changed it from an array to a single object
  • Changed packages.packaging from an array to a string

Return Value: Rate

Removed properties:

  • charges.code
  • charges.description
  • charges.notes

Added properties:

  • deliveryService.supportsReturns
  • deliveryService.manifestType
  • deliveryConfirmation

Changes:

  • charges.amount.value - now accepts a number rather than a string
  • charges.amount.value.currency - now accepts any string rather than an enum value
  • deliveryService now acceptes an object or a string containing the code.
  • deliveryConfirmation now accepts an object or a string containing the code or the type.

trackShipment()

Return Value: TrackingInfo

Added properties:

  • packages[].packaging.deliveryService.supportsReturns
  • packages[].packaging.deliveryService.manifestType

Changes:

  • packages[].packaging now acceptes an object or a string containing the code.

schedulePickup()

Parameter: PickupRequest

Added properties:

  • pickupService.shipments[].deliveryService.supportsReturns
  • pickupService.shipments[].deliveryService.manifestType

Removed properties:

  • contact.phoneExtension

Return Value: PickupConfirmation

Removed properties:

  • charges.code
  • charges.description
  • charges.notes

Changes:

  • charges.amount.value - now accepts a number rather than a string
  • charges.amount.value.currency - now accepts any string rather than an enum value

cancelPickup()

Parameter: PickupCancellation

Added properties:

  • shipments[].deliveryService.supportsReturns
  • shipments[].deliveryService.manifestType

Removed properties:

  • contact.phoneExtension

Definition Changes

Delivery Service

  • Added supportsReturns property.
  • Added manifestType property.
  • Added code property.

Pickup Service

  • Added code property.

Packaging

  • Added code property.

Delivery Confirmation

  • Added code property.

Order App

These changes affect the Order App.

Overall Changes

Order App Definition

  • Added an icon property similar to the logo property.
  • Added a sendEmail property
  • Added a configureTimeZone property

getSalesOrdersByDate()

Parameter: SalesOrderTimeRange

Added properties:

  • paging
  • paging.pageSize
  • paging.pageNumber
  • paging.pageCount
  • paging.cursor

Return Value: SalesOrderArray (Previously returned <Iterable>SalesOrder)

Removed properties:

  • fulfillmentStatus
  • paymentStatus
  • seller
  • charges.code
  • charges.description
  • charges.notes
  • totalCharges.code
  • totalCharges.description
  • totalCharges.notes
  • buyer.identifiers
  • buyer.phoneExtension
  • items.quantity.unit
  • includeChanges
  • modifiedDate

Added properties:

  • paging
  • paging.pageSize
  • paging.pageNumber
  • paging.pageCount
  • paging.cursor
  • buyer.address (optional)
  • charges
  • charges.subTotal
  • charges.subTotal.value
  • charges.subTotal.currency
  • charges.taxAmount
  • charges.taxAmount.value
  • charges.taxAmount.currency
  • charges.shippingAmount
  • charges.shippingAmount.value
  • charges.shippingAmount.currency
  • charges.shippingCost
  • charges.shippingCost.value
  • charges.shippingCost.currency
  • charges.confirmationCost
  • charges.confirmationCost.value
  • charges.confirmationCost.currency
  • charges.insuranceCost
  • charges.insuranceCost.value
  • charges.insuranceCost.currency
  • charges.otherCost
  • charges.otherCost.value
  • charges.otherCost.currency

Changes:

  • charges.amount.value - now accepts a number rather than a string
  • charges.amount.value.currency - now accepts any string rather than an enum value
  • totalCharges.amount.value - now accepts a number rather than a string
  • totalCharges.amount.value.currency - now accepts any string rather than an enum value
  • shippingPreferences.insuredValue.value - now accepts a number rather than a string
  • shippingPreferences.insuredValue.currency - now accepts any string rather than an enum value
  • charges renamed to adjustments and a new charges property was added with a new type

shipmentCreated()

Parameter: SalesOrderShipment

Removed properties:

  • deliveryDateTime
  • minimumDeliveryDays
  • maximumDeliveryDays
  • deliveryWindow
  • packages
  • items.fulfillmentStatus
  • items.trackingURL
  • items.shippingPreferences
  • items.charges
  • items.totalAmount
  • items.totalCharges

Added properties:

  • contents (moved from packages up a level)
  • contents.salesOrder
  • contents.salesOrder.id
  • contents.salesOrder.identifiers
  • contents.salesOrderItem
  • contents.salesOrderItem.id
  • contents.salesOrderItem.sku
  • contents.salesOrderItem.identifiers
  • contents.product
  • contents.product.id
  • contents.product.sku
  • contents.product.identifiers
  • contents.quantity
  • contents.quantity.value
  • items.thumbnailURL

Changes:

  • items.product is now required
  • fulfillmentStatus now accepts a string instead of an enum

shipmentCancelled()

Parameter: SalesOrderShipment

Removed properties:

  • deliveryDateTime
  • minimumDeliveryDays
  • maximumDeliveryDays
  • deliveryWindow
  • packages
  • items.fulfillmentStatus
  • items.trackingURL
  • items.shippingPreferences
  • items.charges
  • items.totalAmount
  • items.totalCharges

Added properties:

  • contents (moved from packages up a level)
  • contents.salesOrder
  • contents.salesOrder.id
  • contents.salesOrder.identifiers
  • contents.salesOrderItem
  • contents.salesOrderItem.id
  • contents.salesOrderItem.sku
  • contents.salesOrderItem.identifiers
  • contents.product
  • contents.product.id
  • contents.product.sku
  • contents.product.identifiers
  • contents.quantity
  • contents.quantity.value
  • items.thumbnailURL

Changes:

  • items.product is now required
  • fulfillmentStatus now accepts a string instead of an enum

getSalesOrder() Method

No longer supported.

getSeller() Method

No longer supported.