Assigning product to category.

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

Input parameters

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

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

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

Output data

  1. id (boolean)
  2. If successful, the value assumes true.