AssignProductToCategory

Assigning a product to a category.

  • Input data type => object
  • Output data type => object

Input parameters

  1. _session_hash (string)
  2. Required. Session identifier (received during login - doLogin)

  3. id (integer)
  4. Required. Product identifier. If an incorrect id is provided, the function returns an error WEBAPI_INCORRECT_ID.

  5. category_id (integer)
  6. Required. Category identifier. The category with the given id must exist in the store.

Output data

  1. id (boolean)
  2. In case of success, the value takes true.