Skip to content

Latest commit

 

History

History
20 lines (14 loc) · 791 Bytes

PromotionCategory.md

File metadata and controls

20 lines (14 loc) · 791 Bytes

SajariAPIClient::PromotionCategory

Properties

Name Type Description Notes
id_field String The logical field that specifies a record's category, e.g. "product_type". [optional]
mapping_field String The field that contains a human-readable rendering of a record's category, e.g. "product_type_name". When creating promotions, this field's text value is displayed instead of the `id_field`. If `mapping_field` is not provided, the text value of the record's `id_field` is displayed. [optional]

Example

require 'sdk_ruby'

instance = SajariAPIClient::PromotionCategory.new(
  id_field: null,
  mapping_field: null
)