       { sku: 'sku2', prices: [ { value: { centAmount: 777, currencyCode: 'JPY' } } ] }
       { sku: 'sku3', prices: [ { value: { centAmount: 9, currencyCode: 'GBP' } } ] }
     ]
-  client.products.create(product)
+  client.products.create product
 
 describe 'Price Importer integration tests', ->
 

      client.products.byId(e.id).delete(e.version)
  .then (results) ->
    debug "#{_.size results} deleted."
    Promise.resolve()

getOrCreateProductType = (client) ->
  name = 'productTypeForPriceImport'
  client.productTypes.where("name=\"#{name}\"").fetch()
  .then (result) ->
    if result.total is 0
      pt =
        name: name
        description: 'bla bla'
      client.productTypes.create(pt)
    else
      Promise.resolve result.body.results[0]

createProduct = (client, productType) ->
  product =

    .catch (err) -> done(_.prettify err)
  , 30000 # 10sec

  it 'should update prices of a product', (done) ->
    prices = [
      {
        sku: 'sku1'
