Skip to content

Latest commit

 

History

History
20 lines (14 loc) · 518 Bytes

CreatePromotionActionParamsPromotionAction.md

File metadata and controls

20 lines (14 loc) · 518 Bytes

SpreeClient::CreatePromotionActionParamsPromotionAction

Properties

Name Type Description Notes
type String Set the Type of Promotion Action you wish to use.
promotion_id String Set the ID of the promotion this action belongs to.

Example

require 'spree_client'

instance = SpreeClient::CreatePromotionActionParamsPromotionAction.new(
  type: Spree::Promotion::Actions::CreateAdjustment,
  promotion_id: 22
)