OBJECT
Subscription
link GraphQL Schema definition
1 type Subscription { 2 Int! : 3 4 # All elements are always returned 5 AttentionReason!]! : [ 6 7 DateInterval! : 8 9 Boolean! : 10 11 # Next day when the order should be created according to schedule and selected 12 # interval. 13 # 14 # Arguments 15 # format: (self-explanatory) 16 String = "Y-m-d"): String! ( : 17 18 # Next day when the order creation will be attempted. Takes last failures and 19 # retrial mechanics into account. 20 # 21 # Arguments 22 # format: (self-explanatory) 23 String = "Y-m-d"): String! ( : 24 25 # Number of failes tries to create the order for the last scheduled order date. 26 Int! : 27 28 # In the eventuality that the payment requires a confirmation notification, 29 # it shows that it cannot be processed again 30 Boolean! : 31 32 # Required permission: Subscription.internalComment:read 33 String : 34 35 Float : 36 37 # Arguments 38 # format: ISO-8601 39 String = "Y-m-d\\TH:i:sP"): String! ( : 40 41 # Arguments 42 # format: ISO-8601 43 String = "Y-m-d\\TH:i:sP"): String! ( : 44 45 # Required permission: Subscription:read 46 # 47 # Store restrictions apply. 48 SubscriptionContract! : 49 50 # Recurring orders generated accordingly to subscription schedule. 51 # 52 # Required permission: Order:read 53 # 54 # Limit must be in range 1 - 200 55 # 56 # Store restrictions apply. 57 # 58 # Arguments 59 # where: (self-explanatory) 60 # sort: (self-explanatory) 61 # limit: (self-explanatory) 62 # page: (self-explanatory) 63 ( 64 OrderFilter, : 65 OrderSort!] = [orderDate_DESC], : [ 66 Int = 20, : 67 Int = 1 : 68 ): [Order!]! 69 70 # Required permission: Subscription:read 71 # 72 # All elements are always returned 73 SubscriptionLine!]! : [ 74 75 # Required permission: SubscriptionPlan:read 76 # 77 # Store restrictions apply. 78 SubscriptionPlan : 79 80 SubscriptionStatus! : 81 82 }