INPUT_OBJECT
VoucherCreateInput
link GraphQL Schema definition
1 input VoucherCreateInput { 2 3 : String! 4 5 : Status! 6 7 : DateTimeTz! 8 9 : DateTimeTz! 10 11 : VoucherMethod! 12 13 # Accepted only for CODE method. If not provided, will be auto-generated. 14 : String 15 16 # Required only for URL method. 17 : String 18 19 : Int! 20 21 # Pass 0 to mark as unlimited, greater than 0 otherwise 22 : Int! 23 24 : Boolean! 25 26 : Boolean! 27 28 : Boolean 29 30 : VoucherType! 31 32 : VoucherEntryPointStrategy! 33 34 : String 35 36 # Required permission: Voucher.attributes:write 37 : [MappedAttributeAssignInput!] 38 39 # Required permission: Voucher.attributes:write 40 : [DynamicAttributeAssignInput!] 41 42 : StoreInput! 43 44 # Exactly one input field should be provided 45 : [MarketInput!] 46 47 : [VoucherActionOnVoucherCreateInput!] 48 49 # Assign an external ID to reference this object by it later 50 : String 51 }