Skip to main content

Fields

discountTargets : JSONString

A mapping from discount codes to lists of targets. Each target is represented as {'target_type': {'domain': ..., 'type': ...}, 'identifier': ...}.

promotionCode : String

The promotion code for this schedule.

The example data in the variables and responses below are autogenerated values designed to resemble real inputs. They do not represent actual customer data, and in some cases may require additional validation.

Example

{ "discountTargets": {"key": "value"}, "promotionCode": "city-since-trouble-finish-they" }