Promotion Schedule Import/Export

All promotion classes support an optional promotion schedule that controls when a promotion is active. The following is a snippet from the Promotion Schedule section of the promotion.xsd.

<xsd:complexType name="PromotionSchedule" mixed="false">
    <xsd:element name="start-date" type="xsd:dateTime" minOccurs="0" maxOccurs="1" />
    <xsd:element name="end-date" type="xsd:dateTime" minOccurs="0" maxOccurs="1" />
    <xsd:element name="recurrence" type="PromotionSchedule.Recurrence" minOccurs="0" maxOccurs="1" />
<xsd:complexType name="PromotionSchedule.Recurrence" mixed="false">
    <xsd:element name="day-of-week" type="PromotionSchedule.DayOfWeek" minOccurs="0" maxOccurs="1" />
    <xsd:element name="time-of-day" type="PromotionSchedule.TimeOfDay" minOccurs="0" maxOccurs="1" />

This sample XML contains a schedule for the month of January (see start end date) that limits promotions to Monday, Friday, Saturday and Sunday between 9 AM and 7 PM (on those days).

X Privacy Update: We use cookies to make interactions with our websites and services easy and meaningful, to better understand how they are used. By continuing to use this site you are giving us your consent to do this. Privacy Policy.