Skip to end of banner
Go to start of banner

POST products/configuration/families/update

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 8 Next »

Available from CRM.COM R14.0.0

This method updates an existing product family. A single product family can be updated by each call. Fields which are not specified are not updated at all. Fields which are specified as null will be set as null.

Resource URL

Parameters

Name

Type

Description

token

String

The token retrieved from the login method

family_identifier

(mandatory)

Product Family Identifier

The identifier of the product family. The allowed product family identifier fields are the following:

Name

Type

Description

id

(semi-optional)

String

The ID of the product family

name

(semi-optional)

String

The name of the product family

code

(semi-optional)

String

The code of  a product family

name

(optional)

String

The product family name

code

(optional)

StringThe product family code

description

(optional)

StringThe product family description

parent

(optional on conditions)

Identifier

The product parent family identifier. The allowed product parent family fields are the following:

Name

Type

Description

id

(semi-optional)

String

The ID of the product family

name

(semi-optional)

String

The name of the product family

code

(semi-optional)

String

The code of  a product family

If this parameter is set, then the "remove_parent" parameter will not be able to be defined

remove_parent

(optional on conditions)

Boolean

Defines if the parent will be removed from the current category

If this parameter is set, then the "parent" parameter will not be able to be defined

fields_set

(optional)

List of Strings, comma separated 

A list of fields that should be included in the results. If not specified then all the available fields will be returned

Restrictions

  • It is mandatory to specify one of the semi-optional parameters. Only one of those parameters is allowed to be specified

Response Data

Name

Type

Description

idStringThe ID of the retrieved product family
nameStringThe Name of the retrieved product family
codeStringThe code of the retrieved product family
descriptionStringThe Description of the retrieved product family

parent

Product Family Object

The retrieved product families

Referred Objects Response Data

 product_family object data response
NameType Description
IdStringThe ID of the retrieved product family
nameStringThe Name of the retrieved product family
codeStringThe code of the retrieved product family
descriptionStringThe Description of the retrieved product family

 

Examples

 Example 1

HTTP Method: POST

 

Request

Body

 

Response

 
  • No labels