     @client.inventoryEntries.create(ie)
     .then (result) =>
       expect(result.statusCode).toBe 201
+      expect(result.body.restockableInDays).toBe 30
       syncedActions = @sync.buildActions(ieChanged, result.body)
       debug 'About to update inventory with synced actions (restockableInDays update)'
       @client.inventoryEntries.byId(syncedActions.getUpdateId()).update(syncedActions.getUpdatePayload())

    @client.inventoryEntries.create(ie)
    .then (result) =>
      expect(result.statusCode).toBe 201
      syncedActions = @sync.buildActions(ieChanged, result.body)
      debug 'About to add to inventory with synced actions (restockableInDays add)'
      @client.inventoryEntries.byId(syncedActions.getUpdateId()).update(syncedActions.getUpdatePayload())

      expect(result.body.restockableInDays).not.toBeDefined()
      done()
    .catch (error) -> done(_.prettify(error))

  describe 'custom type and field handling', (done) ->
    customType = undefined
