Skip to content

Latest commit

 

History

History
20 lines (14 loc) · 481 Bytes

CreatePromotionCategoryParamsPromotionCategory.md

File metadata and controls

20 lines (14 loc) · 481 Bytes

SpreeClient::CreatePromotionCategoryParamsPromotionCategory

Properties

Name Type Description Notes
name String Give this Promotion Category a name.
code String Give this promotion category a code. [optional]

Example

require 'spree_client'

instance = SpreeClient::CreatePromotionCategoryParamsPromotionCategory.new(
  name: Promotions Used in 2021,
  code: 2021-PROMOS
)