lib/two_performant.rb
#
# Merchants: Create a Product Store Product.
# Product Store Product must be a hash of:
#   { "title" => "title",
#     "description" => "desc",
#     "caption" => "caption",
#     "price" => "price(integer in RON)",
#     "promoted" => "promoted (0 or 1)",
#     "category" => "category",
#     "subcategory" => "subcategory",
#     "url" => "url",
#     "image_url" => "url to image location",
#     "prid" => "product id"
#   }
Create a Product Store Product.
Create a Product Store Product .
def product_store_createitem(product_store_id, product)
    request = {
      'product' => product
    }
    self.hook("/product_stores/#{product_store_id}/createitem.xml", "product-store-data", request, 'POST')
  end
def product_store_createitem ( product_store_id , product ) request = { 'product' => product } self . hook ( "/product_stores/#{product_store_id}/createitem.xml" , "product-store-data" , request , 'POST' ) end
Merchants: Create a Product Store Product.
Merchants : Create a Product Store Product .
product_store_id
<not_specific>
product
<not_specific>