POST as x-www-form-urlencoded:
https://joy.classapp.co/graphql?access_token=YOUR_TOKEN_HERE&client_id=YOUR_CLIENT_ID
Params | Description |
---|---|
id | The ID of an object |
dbId | Identifies the primary key from the database. |
name | contract name |
messageSubject | subject of message that will be sent to the entity |
messageContent | content of message that will be sent to the entity |
chargeExpirationDay | @TODO DESCRIBE ME |
sendMessageDay | @TODO DESCRIBE ME |
anticipationDiscountUntil | @TODO DESCRIBE ME |
anticipationDiscountType | @TODO DESCRIBE ME |
anticipationDiscountValue | @TODO DESCRIBE ME |
paymentMethods | @TODO DESCRIBE ME |
absorbedFee | @TODO DESCRIBE ME |
status | Contract status |
cancelInvoices | Tells if should cancel all scheduled invoices |
settings | Plan and products data when entity created the contract |
contractedPlan | |
contractedProducts | |
discounts | |
planId | plan |
entityId | entity who signed contract |
organizationAccountId | organization account that receives the money |
logs | Logs |
plan | contracted plan |
entity | entity who signed the contract |
invoices | invoices created for the contract |
account | organization account that receives the money |
created | An ISO-8601 encoded UTC date string of when record was created |
modified | An ISO-8601 encoded UTC date string of when record was updated |
deleted | An ISO-8601 encoded UTC date string of when record was deleted |
key | Random ID to differentiate from others |
selected | Helper field for clients |
highlighted | Helper field for clients |
expanded | Helper field for clients |
loaded | Helper field for clients |
loading | Helper field for clients |
Arguments | Type | Description |
---|---|---|
planId | Not Null | plan |
organizationAccountId | Not Null | organization account |
name | String SCALAR | contract name |
messageSubject | String SCALAR | subject of message that will be sent to the entity |
messageContent | String SCALAR | content of message that will be sent to the entity |
chargeExpirationDay | Int SCALAR | @TODO DESCRIBE ME |
sendMessageDay | Int SCALAR | @TODO DESCRIBE ME |
anticipationDiscountUntil | Int SCALAR | @TODO DESCRIBE ME |
anticipationDiscountType | DiscountType ENUM | @TODO DESCRIBE ME |
anticipationDiscountValue | Float SCALAR | @TODO DESCRIBE ME |
paymentMethods | LIST PaymentMethod | @TODO DESCRIBE ME |
absorbedFee | LIST PaymentMethod | @TODO DESCRIBE ME |
status | Not Null | Contract status |
cancelInvoices | Boolean SCALAR | Tells if should cancel all scheduled invoices |
invoices | LIST ContractInvoiceInput | |
discounts | LIST ContractInvoiceProductDiscountInput | |
products | LIST ContractInvoiceProductInput | Products to insert in the contract |
entityId | Not Null | entity who signed contract |
clientMutationId | String SCALAR |
Arguments | Type | Description |
---|---|---|
id | Not Null | contract id |
name | String SCALAR | contract name |
messageSubject | String SCALAR | subject of message that will be sent to the entity |
messageContent | String SCALAR | content of message that will be sent to the entity |
chargeExpirationDay | Int SCALAR | @TODO DESCRIBE ME |
sendMessageDay | Int SCALAR | @TODO DESCRIBE ME |
anticipationDiscountUntil | Int SCALAR | @TODO DESCRIBE ME |
anticipationDiscountType | DiscountType ENUM | @TODO DESCRIBE ME |
anticipationDiscountValue | Float SCALAR | @TODO DESCRIBE ME |
paymentMethods | LIST PaymentMethod | @TODO DESCRIBE ME |
absorbedFee | LIST PaymentMethod | @TODO DESCRIBE ME |
status | Not Null | Contract status |
cancelInvoices | Boolean SCALAR | Tells if should cancel all scheduled invoices |
invoices | LIST ContractInvoiceInput | |
discounts | LIST ContractInvoiceProductDiscountInput | |
products | LIST ContractInvoiceProductInput | Products to insert in the contract |
clientMutationId | String SCALAR |