Add products family - celdotro/marketplace GitHub Wiki

About

  • Add a products family

Class

celmarket\Products\ProductsUpdate

Method

addProductsFamily

API

  • method: products
  • action: addProductsFamily

Parameters

  • name = family's name
  • id = family's ID
  • characts = family's characteristics as JSON string

Response

An object with the following attributes

  • success = 1 -> operation was successfully executed

Example - PHP

https://github.com/celdotro/marketplace_examples/blob/master/Products/23.addProductsFamily.php

Example - JSON

{
  "request": {
    "name": "X",
    "id": 1,
    "characts": "X"
  },
  
  "response": {
    "success": 1
  }
}
⚠️ **GitHub.com Fallback** ⚠️