Skip to content

Latest commit

 

History

History
20 lines (14 loc) · 506 Bytes

UpdatePromotionCategoryParamsPromotionCategory.md

File metadata and controls

20 lines (14 loc) · 506 Bytes

SpreeClient::UpdatePromotionCategoryParamsPromotionCategory

Properties

Name Type Description Notes
name String Update the name of this Promotion Category.
code String Change or remove the code for this Promotion Category. [optional]

Example

require 'spree_client'

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