ad_hoc_discount_product_update_parameters

 ad_hoc_discount_product object parameter data
Name
Type
Description
action

(mandatory)

String

Defines if a new or existing information will be updated.The supported values are the following:

ADD, REMOVE

ad_hoc_discount_product_identifier

(mandatory and applicable only on  remove)

Ad hoc Discount Product Identifier

The identifier of the ad hoc discount product that will be updated. The allowed ad hoc discount product identifier fields are the following:

Name

Type

Description

id

(semi-optional)

String

The ID of the ad hoc discount product

product_identifier 

(semi-optional)

 

Product Identifier

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

Name

Type

Description

id

(semi-optional)

String

The ID of the product

code

(semi-optional)

String

The code of the product

alternative_code

(semi-optional)

String

The alternative code of  the product

product_identifier

(mandatory and applicable only on add)

Product Identifier  

The identifier of the product related with the ad hoc discount product that will be updated. The allowed product identifier fields are the following:

Name

Type

Description

id

(semi-optional)

String

The ID of the product

code

(semi-optional)

String

The code of the product

alternative_code

(semi-optional)

String

The alternative code of  the product