mutation { createDayOfWeekDiscountPromotion( propertyId: "{property}", propertyIdSource: EXPEDIA, promotion: { name: {name}, status: {status}, category: {category}, code: "{code}", restrictions: { isMemberOnly: {isMemberOnly}, isMobileUserOnly: {isMobileUserOnly}, minLengthOfStay: {minLengthOfStay}, maxLengthOfStay: {maxLengthOfStay}, minAdvanceBookingDays: {minAdvanceBookingDays}, maxAdvanceBookingDays: {maxAdvanceBookingDays}, bookingLocalDateTimeFrom: "{bookingLocalDateTimeFrom}", bookingLocalDateTimeTo: "{bookingLocalDateTimeTo}", travelDateFrom: "{travelDateFrom}", travelDateTo: "{travelDateTo}" }, eligibleRatePlans: [ {ratess}{ id:"{rate_id}" }{coma}{/ratess} ], blackoutDates: [ {blackoutTravelDates}{ travelDateFrom: "{blackoutTravelDateFrom}", travelDateTo: "{blackoutTravelDateTo}" }{coma}{/blackoutTravelDates} ], discount: { unit: {discount_unit}, monday: {monday}, tuesday: {tuesday}, wednesday: {wednesday}, thursday: {thursday}, friday: {friday}, saturday: {saturday}, sunday: {sunday} } } ) { __typename id name category status ... on DiscountPromotion { code restrictions { isMemberOnly isMobileUserOnly minLengthOfStay maxLengthOfStay minAdvanceBookingDays maxAdvanceBookingDays bookingLocalDateTimeFrom bookingLocalDateTimeTo travelDateFrom travelDateTo sameDayBookingStartTime } eligibleRatePlans { id } blackoutDates { travelDateFrom travelDateTo } discount { __typename type unit ... on DayOfWeekDiscount { monday tuesday wednesday thursday friday saturday sunday } } } } }