       name: {de: pName}
       slug: {de: pSlug}
       description: {de: 'A foo product'}
-      categoryOrderHints:
-        "#{@testCategory.id}": '0.9'
-      categories:[
-        {
-          typeId: 'category',
-          id: @testCategory.id
-        }
-      ]
       metaTitle: {de: 'The Foo'}
       metaDescription: {de: 'The Foo product'}
       masterVariant:

    .then (result) =>
      expect(result.statusCode).toBe 201
      @productType = result.body
      debug 'Creating a Category'
      @client.categories.save(
        name:
          en: 'myFancyCategory'
        slug:
          en: _.uniqueId "c#{new Date().getTime()}_"
      )
    .then (result) =>
      @testCategory = result.body
      done()
    .catch (error) -> done(_.prettify(error))


      debug "Deleting #{payload.body.total} product types"
      Promise.all _.map payload.body.results, (productType) =>
        @client.productTypes.byId(productType.id).delete(productType.version)
    .then () ->
      debug "Deleted #{results.length} product types"
      done()
    .catch (error) -> done(_.prettify(error.body))
  , 60000 # 1min

  it 'should create and sync product', (done) ->
