24/7 Support: 800.608.6482

Get Started

Navigation


CategoryProduct_Update_Assigned

This function allows you to assign or unassign a product from a category

Only one of the product identifiers and one of the category identifiers are required.

Request Body Parameters

Product_ID Type:
Number
Title:
Product Id
Product Id to assign Image to
Product_Code Type:
String
Title:
Product Code
Product Code
Product_SKU Type:
String
Title:
Product Sku
Product Sku
Edit Product Type:
String
Title:
Edit Product
Same value as product code
Category_ID Type:
String
Title:
Category ID
Category ID
Category_Code Type:
String
Title:
Category Code
Category Code
Edit_Category Type:
String
Title:
Edit Category
Edit Category - Same as Category Code
Assigned Type:
Boolean
Title:
Assigned
true = assign, false = unassign

Response Parameters

success boolean value for if the request was successfull

Example Request

Example Response

Error Responses

error code
MER-JSN-CAT-00033
error message
Unable to load category: One of Category_ID, Edit_Category or Category_Code must be specified"
  Missing required category identifier
error code
MER-JSN-PRD-00073
error message
Unable to load product: One of Product_ID, Edit_Product, Product_Code or Product_SKU must be specified
  description
Missing Required Product Identifier

This website uses cookies to identify visitors, track visitors to our website, store login session information and to remember your user preferences. By continuing to use this site you agree to our use of cookies. Learn More.

This website uses cookies. By continuing to use this site you agree to our use of cookies. Learn More.

Accept

Copyright © 1997 – 2019 Miva©, Miva Merchant©, MivaPay©, MivaCon© Miva, Inc. All Rights Reserved.